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.
This commit is contained in:
Martin Weinelt
2025-08-09 19:04:43 +02:00
parent e709fa8939
commit 8682e18ced
@@ -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" ];