Loading pkgs/development/python-modules/aniso8601/default.nix +14 −9 Original line number Diff line number Diff line { lib, buildPythonPackage, python-dateutil, fetchPypi, isPy3k, mock, pytestCheckHook, python-dateutil, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "aniso8601"; version = "9.0.1"; format = "setuptools"; version = "10.0.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; hash = "sha256-cuMRdmfu32aVG7LZP0KWpWuUsHioqVkFoFJhH7PxuXM="; hash = "sha256-/x0PwjRmiMYsAVFUcTasMOMiiW7YrzFu92AsR9qUJs8="; }; propagatedBuildInputs = [ python-dateutil ]; build-system = [ setuptools ]; dependencies = [ python-dateutil ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.optional (!isPy3k) mock; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "aniso8601" ]; meta = with lib; { description = "Python Parser for ISO 8601 strings"; homepage = "https://bitbucket.org/nielsenb/aniso8601"; license = with licenses; [ bsd3 ]; changelog = "https://bitbucket.org/nielsenb/aniso8601/src/v${version}/CHANGELOG.rst"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; }; } pkgs/development/python-modules/graphene/default.nix +7 −12 Original line number Diff line number Diff line { lib, aniso8601, buildPythonPackage, fetchFromGitHub, setuptools, Loading @@ -11,42 +10,38 @@ pytest-mock, pytest7CheckHook, pythonOlder, pytz, snapshottest, typing-extensions, python-dateutil, }: buildPythonPackage rec { pname = "graphene"; version = "3.3.0"; version = "3.4.3"; pyproject = true; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "graphql-python"; repo = "graphene"; tag = "v${version}"; hash = "sha256-DGxicCXZp9kW/OFkr0lAWaQ+GaECx+HD8+X4aW63vgQ="; hash = "sha256-K1IGKK3nTsRBe2D/cKJ/ahnAO5xxjf4gtollzTwt1zU="; }; build-system = [ setuptools ]; dependencies = [ aniso8601 graphql-core graphql-relay python-dateutil typing-extensions ]; # snaphottest->fastdiff->wasmer dependency chain does not support 3.12. doCheck = pythonOlder "3.12"; nativeCheckInputs = [ pytest7CheckHook pytest-asyncio pytest-benchmark pytest-mock pytz snapshottest ]; pytestFlagsArray = [ "--benchmark-disable" ]; Loading pkgs/development/python-modules/logutils/default.nix +10 −5 Original line number Diff line number Diff line Loading @@ -4,9 +4,10 @@ buildPythonPackage, fetchPypi, pytestCheckHook, pythonAtLeast, pythonOlder, redis, redis-server, redis, setuptools, }: Loading Loading @@ -41,9 +42,13 @@ buildPythonPackage rec { "test_hashandlers" ]; disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin) [ disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin) [ # Exception: unable to connect to Redis server "tests/test_redis.py" ] ++ lib.optionals (pythonAtLeast "3.13") [ "tests/test_dictconfig.py" ]; pythonImportsCheck = [ "logutils" ]; Loading Loading
pkgs/development/python-modules/aniso8601/default.nix +14 −9 Original line number Diff line number Diff line { lib, buildPythonPackage, python-dateutil, fetchPypi, isPy3k, mock, pytestCheckHook, python-dateutil, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "aniso8601"; version = "9.0.1"; format = "setuptools"; version = "10.0.0"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; hash = "sha256-cuMRdmfu32aVG7LZP0KWpWuUsHioqVkFoFJhH7PxuXM="; hash = "sha256-/x0PwjRmiMYsAVFUcTasMOMiiW7YrzFu92AsR9qUJs8="; }; propagatedBuildInputs = [ python-dateutil ]; build-system = [ setuptools ]; dependencies = [ python-dateutil ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.optional (!isPy3k) mock; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "aniso8601" ]; meta = with lib; { description = "Python Parser for ISO 8601 strings"; homepage = "https://bitbucket.org/nielsenb/aniso8601"; license = with licenses; [ bsd3 ]; changelog = "https://bitbucket.org/nielsenb/aniso8601/src/v${version}/CHANGELOG.rst"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; }; }
pkgs/development/python-modules/graphene/default.nix +7 −12 Original line number Diff line number Diff line { lib, aniso8601, buildPythonPackage, fetchFromGitHub, setuptools, Loading @@ -11,42 +10,38 @@ pytest-mock, pytest7CheckHook, pythonOlder, pytz, snapshottest, typing-extensions, python-dateutil, }: buildPythonPackage rec { pname = "graphene"; version = "3.3.0"; version = "3.4.3"; pyproject = true; disabled = pythonOlder "3.6"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "graphql-python"; repo = "graphene"; tag = "v${version}"; hash = "sha256-DGxicCXZp9kW/OFkr0lAWaQ+GaECx+HD8+X4aW63vgQ="; hash = "sha256-K1IGKK3nTsRBe2D/cKJ/ahnAO5xxjf4gtollzTwt1zU="; }; build-system = [ setuptools ]; dependencies = [ aniso8601 graphql-core graphql-relay python-dateutil typing-extensions ]; # snaphottest->fastdiff->wasmer dependency chain does not support 3.12. doCheck = pythonOlder "3.12"; nativeCheckInputs = [ pytest7CheckHook pytest-asyncio pytest-benchmark pytest-mock pytz snapshottest ]; pytestFlagsArray = [ "--benchmark-disable" ]; Loading
pkgs/development/python-modules/logutils/default.nix +10 −5 Original line number Diff line number Diff line Loading @@ -4,9 +4,10 @@ buildPythonPackage, fetchPypi, pytestCheckHook, pythonAtLeast, pythonOlder, redis, redis-server, redis, setuptools, }: Loading Loading @@ -41,9 +42,13 @@ buildPythonPackage rec { "test_hashandlers" ]; disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin) [ disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin) [ # Exception: unable to connect to Redis server "tests/test_redis.py" ] ++ lib.optionals (pythonAtLeast "3.13") [ "tests/test_dictconfig.py" ]; pythonImportsCheck = [ "logutils" ]; Loading