From 8682b90aacd04e698f89694db74e0cdc828b25f5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 May 2025 17:44:24 +0200 Subject: [PATCH] python313Packages.pypitoken: 7.0.1 -> 7.1.1 Changelog: https://github.com/ewjoachim/pypitoken/releases/tag/7.1.1 --- .../python-modules/pypitoken/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pypitoken/default.nix b/pkgs/development/python-modules/pypitoken/default.nix index 670d97149e04..e75a720dbad7 100644 --- a/pkgs/development/python-modules/pypitoken/default.nix +++ b/pkgs/development/python-modules/pypitoken/default.nix @@ -2,36 +2,40 @@ lib, buildPythonPackage, fetchFromGitHub, + hatchling, jsonschema, - poetry-core, pymacaroons, pytest-cov-stub, pytest-mock, pytestCheckHook, pythonOlder, typing-extensions, + uv-dynamic-versioning, }: buildPythonPackage rec { pname = "pypitoken"; - version = "7.0.1"; + version = "7.1.1"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "ewjoachim"; repo = "pypitoken"; tag = version; - hash = "sha256-1SUR6reZywgFpSdD49E5PjEDNrlvsHH4TK6SkXStUws="; + hash = "sha256-esn7Pbmpo4BAvLefOWMeQNEB0UYwBf9vgcuzmuGwH30="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail 'version = "0.0.0"' 'version = "${version}"' + --replace-fail 'dynamic = ["version"]' 'version = "${version}"' ''; - build-system = [ poetry-core ]; + build-system = [ + hatchling + uv-dynamic-versioning + ]; dependencies = [ pymacaroons