Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python313Packages.aniso8601: 9.0.1 -> 10.0.0 #372587

Merged
merged 4 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions pkgs/development/python-modules/aniso8601/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,38 @@
{
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 ];
};
}
19 changes: 7 additions & 12 deletions pkgs/development/python-modules/graphene/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
lib,
aniso8601,
buildPythonPackage,
fetchFromGitHub,
setuptools,
Expand All @@ -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" ];
Expand Down
15 changes: 10 additions & 5 deletions pkgs/development/python-modules/logutils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
redis,
redis-server,
redis,
setuptools,
}:

Expand Down Expand Up @@ -41,10 +42,14 @@ buildPythonPackage rec {
"test_hashandlers"
];

disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin) [
# Exception: unable to connect to Redis server
"tests/test_redis.py"
];
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" ];

Expand Down