mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
Merge master into staging-next
This commit is contained in:
@@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodiscover";
|
||||
version = "1.4.0";
|
||||
version = "1.4.2";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdraco";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-t0bs3n0eLUR22i1lZkepCffjiUFzvXBdP7Xq49KXeS4=";
|
||||
sha256 = "sha256-xiIN/YLIOdPuqenyxybu0iUpYEy3MyBssXswza5InU0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "karton-asciimagic";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CERT-Polska";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0d15fhb3y0jpwdfm4y11i6pmfa9szr943cm6slvf0ir31f9nznyz";
|
||||
sha256 = "0vj4b8man81g99g4c53zyvp1gc47c2imj5ha9r4z4bf8gs3aqsv6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
, ipykernel
|
||||
, jupyter_client
|
||||
, nbformat
|
||||
, pytestCheckHook
|
||||
, pytest
|
||||
, six
|
||||
, glibcLocales
|
||||
@@ -23,7 +24,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestCheckHook
|
||||
matplotlib
|
||||
sympy
|
||||
pytestcov
|
||||
@@ -40,14 +41,15 @@ buildPythonPackage rec {
|
||||
six
|
||||
];
|
||||
|
||||
# Set HOME so that matplotlib doesn't try to use
|
||||
# /homeless-shelter/.config/matplotlib, otherwise some of the tests fail for
|
||||
# having an unexpected warning on stderr produced by matplotlib.
|
||||
# Ignore impure tests.
|
||||
checkPhase = ''
|
||||
export HOME=$(mktemp -d)
|
||||
pytest tests --ignore tests/test_timeouts.py
|
||||
'';
|
||||
pytestFlagsArray = [
|
||||
"tests"
|
||||
# These are the main tests but they're fragile so skip them. They error
|
||||
# whenever matplotlib outputs any unexpected warnings, e.g. deprecation
|
||||
# warnings.
|
||||
"--ignore=tests/test_unit_tests_in_notebooks.py"
|
||||
# Impure
|
||||
"--ignore=tests/test_timeouts.py"
|
||||
];
|
||||
|
||||
# Some of the tests use localhost networking.
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.12.4";
|
||||
version = "0.13";
|
||||
pname = "pybids";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "830f3f518ab0d2e058e9ba6d6ff9a942792909c874433b3ad58a3339a23f46bf";
|
||||
sha256 = "sha256-zVFaGAKgTP9UiUdmO4+Tut8Qc64xuGyB26cQLRHOqYw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user