python3Packages.versioningit: 2.2.1 -> 2.3.0

https://versioningit.readthedocs.io/en/latest/changelog.html
This commit is contained in:
Martin Weinelt
2023-12-20 20:45:37 +01:00
parent aae3a61af1
commit 0749d32731
@@ -8,6 +8,7 @@
, tomli
, pytestCheckHook
, build
, hatchling
, pydantic
, pytest-mock
, git
@@ -16,14 +17,14 @@
buildPythonPackage rec {
pname = "versioningit";
version = "2.2.1";
version = "2.3.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-DlgkLXq9phrmNZalSUrp7WMayF2Ls8yOF24yU8pLy7U=";
hash = "sha256-HQ1xz6PCvE+N+z1KFcFE64qmoJ2dqYkj1BCZSi74Juo=";
};
postPatch = ''
@@ -33,9 +34,12 @@ buildPythonPackage rec {
--replace "--no-cov-on-fail" ""
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
packaging
setuptools
] ++ lib.optionals (pythonOlder "3.10") [
importlib-metadata
] ++ lib.optionals (pythonOlder "3.11") [
@@ -45,6 +49,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
build
hatchling
pydantic
pytest-mock
git