From 8682e18cedccb7d2039762be32c957290f8add9e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 5 Aug 2025 04:44:46 +0200 Subject: [PATCH] python3Packages.versioningit: 3.1.2 -> 3.3.0 https://versioningit.readthedocs.io/en/latest/changelog.html This commit was automatically generated using update-python-libraries. --- .../python-modules/versioningit/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/versioningit/default.nix b/pkgs/development/python-modules/versioningit/default.nix index 781f10df2ce4..42cf3a141c0d 100644 --- a/pkgs/development/python-modules/versioningit/default.nix +++ b/pkgs/development/python-modules/versioningit/default.nix @@ -3,9 +3,9 @@ buildPythonPackage, pythonOlder, fetchPypi, - importlib-metadata, packaging, tomli, + coverage, pytestCheckHook, build, hatchling, @@ -19,14 +19,12 @@ buildPythonPackage rec { pname = "versioningit"; - version = "3.1.2"; + version = "3.3.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchPypi { inherit pname version; - hash = "sha256-Tbg+2Z9WsH2DlAvuNEXKRsoSDRO2swTNtftE5apO3sA="; + hash = "sha256-uRrX1z5z0hIg5pVA8gIT8rcpofmzXATp4Tfq8o0iFNo="; }; build-system = [ hatchling ]; @@ -34,13 +32,10 @@ buildPythonPackage rec { dependencies = [ packaging ] - ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; - # AttributeError: type object 'CaseDetails' has no attribute 'model_validate_json' - doCheck = lib.versionAtLeast pydantic.version "2"; - nativeCheckInputs = [ + coverage pytestCheckHook build hatchling @@ -55,6 +50,9 @@ buildPythonPackage rec { disabledTests = [ # wants to write to the Nix store "test_editable_mode" + # network access + "test_install_from_git_url" + "test_install_from_zip_url" ]; pythonImportsCheck = [ "versioningit" ];