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.

Changed files
+7 -9
pkgs
development
python-modules
versioningit
+7 -9
pkgs/development/python-modules/versioningit/default.nix
···
buildPythonPackage,
pythonOlder,
fetchPypi,
-
importlib-metadata,
packaging,
tomli,
+
coverage,
pytestCheckHook,
build,
hatchling,
···
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 ];
···
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
···
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" ];