diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-07-18 22:26:18 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-07-28 12:13:27 +0200 |
commit | a020d64376be75d2ca78a57b926036dcf41844e1 (patch) | |
tree | 1341155c6e67b942841d5b1b0730acd4e0a28bea | |
parent | 052f5aea580dd5a10d179fe682f521f28c3bb5d4 (diff) | |
download | nixpkgs-a020d64376be75d2ca78a57b926036dcf41844e1.tar nixpkgs-a020d64376be75d2ca78a57b926036dcf41844e1.tar.gz nixpkgs-a020d64376be75d2ca78a57b926036dcf41844e1.tar.bz2 nixpkgs-a020d64376be75d2ca78a57b926036dcf41844e1.tar.lz nixpkgs-a020d64376be75d2ca78a57b926036dcf41844e1.tar.xz nixpkgs-a020d64376be75d2ca78a57b926036dcf41844e1.tar.zst nixpkgs-a020d64376be75d2ca78a57b926036dcf41844e1.zip |
python310Packages.hatchling: 0.13.0 -> 0.18.0
required because jsonschema using a new classifier 0.13.0 does not know Changelog: https://github.com/pypa/hatch/releases
-rw-r--r-- | pkgs/development/python-modules/hatchling/default.nix | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/hatchling/default.nix b/pkgs/development/python-modules/hatchling/default.nix index 35187aff512..8a886112fed 100644 --- a/pkgs/development/python-modules/hatchling/default.nix +++ b/pkgs/development/python-modules/hatchling/default.nix @@ -5,11 +5,11 @@ # runtime , editables -, importlib-metadata # < 3.8 , packaging , pathspec , pluggy , tomli +, trove-classifiers # tests , build @@ -18,27 +18,24 @@ , virtualenv }: -let +buildPythonPackage rec { pname = "hatchling"; - version = "1.13.0"; -in -buildPythonPackage { - inherit pname version; + version = "1.18.0"; format = "pyproject"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-+NJ1osxyBzUoa3wuK8NdoFdh5tNpXC+kFlUDlfEMU8c="; + hash = "sha256-UOmcMRDOCvw/e9ut/xxxwXdY5HZzHCdgeUDPpmhkico="; }; - # listed in backend/src/hatchling/ouroboros.py + # listed in backend/pyproject.toml propagatedBuildInputs = [ editables packaging pathspec pluggy - ] ++ lib.optionals (pythonOlder "3.8") [ - importlib-metadata + trove-classifiers ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; @@ -54,7 +51,6 @@ buildPythonPackage { # listed in /backend/tests/downstream/requirements.txt nativeCheckInputs = [ build - packaging requests virtualenv ]; |