python313Packages.pypitoken: 7.0.1 -> 7.1.1 (#407656)

authored by Fabian Affolter and committed by GitHub 97ea2973 593fa724

+10 -6
+10 -6
pkgs/development/python-modules/pypitoken/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + hatchling, 5 6 jsonschema, 6 - poetry-core, 7 7 pymacaroons, 8 8 pytest-cov-stub, 9 9 pytest-mock, 10 10 pytestCheckHook, 11 11 pythonOlder, 12 12 typing-extensions, 13 + uv-dynamic-versioning, 13 14 }: 14 15 15 16 buildPythonPackage rec { 16 17 pname = "pypitoken"; 17 - version = "7.0.1"; 18 + version = "7.1.1"; 18 19 pyproject = true; 19 20 20 - disabled = pythonOlder "3.8"; 21 + disabled = pythonOlder "3.9"; 21 22 22 23 src = fetchFromGitHub { 23 24 owner = "ewjoachim"; 24 25 repo = "pypitoken"; 25 26 tag = version; 26 - hash = "sha256-1SUR6reZywgFpSdD49E5PjEDNrlvsHH4TK6SkXStUws="; 27 + hash = "sha256-esn7Pbmpo4BAvLefOWMeQNEB0UYwBf9vgcuzmuGwH30="; 27 28 }; 28 29 29 30 postPatch = '' 30 31 substituteInPlace pyproject.toml \ 31 - --replace-fail 'version = "0.0.0"' 'version = "${version}"' 32 + --replace-fail 'dynamic = ["version"]' 'version = "${version}"' 32 33 ''; 33 34 34 - build-system = [ poetry-core ]; 35 + build-system = [ 36 + hatchling 37 + uv-dynamic-versioning 38 + ]; 35 39 36 40 dependencies = [ 37 41 pymacaroons