diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-06-14 21:56:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 21:56:42 +0200 |
commit | 0234802c02465aae87b707fdf6edf4524613265e (patch) | |
tree | 5a54fa4899f7676d147581d7dd29268f35325e6f | |
parent | 5feb0dab48a21cd647650c9936aacbf3e1d6039c (diff) | |
parent | 1ac3b149e236d0780d57c1af683cc77fc4cf363e (diff) |
Merge pull request #319763 from fabaff/yalexs-bump
python312Packages.yalexs: 3.1.0 -> 6.0.0
-rw-r--r-- | pkgs/development/python-modules/yalexs/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/yalexs/default.nix b/pkgs/development/python-modules/yalexs/default.nix index 88b13859455dc..f3ee1d05772da 100644 --- a/pkgs/development/python-modules/yalexs/default.nix +++ b/pkgs/development/python-modules/yalexs/default.nix @@ -14,12 +14,13 @@ pythonOlder, requests, requests-mock, - setuptools, + poetry-core, + typing-extensions, }: buildPythonPackage rec { pname = "yalexs"; - version = "3.1.0"; + version = "6.0.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -28,16 +29,15 @@ buildPythonPackage rec { owner = "bdraco"; repo = "yalexs"; rev = "refs/tags/v${version}"; - hash = "sha256-+Sn+d6CuxIUEDLkDvcq7OT3AumElJFfWCwM02LPIeyg="; + hash = "sha256-xBBO0cXdOzt2ioMQzzdtSKB0WxOZBIb4PsiKoRrUUSc="; }; postPatch = '' - # Not used requirement - substituteInPlace setup.py \ - --replace-fail '"vol",' "" + substituteInPlace pyproject.toml \ + --replace-fail "-v -Wdefault --cov=yalexs --cov-report=term-missing:skip-covered" "" ''; - build-system = [ setuptools ]; + build-system = [ poetry-core ]; dependencies = [ aiofiles @@ -47,6 +47,7 @@ buildPythonPackage rec { pyjwt python-dateutil requests + typing-extensions ]; # aiounittest is not supported on 3.12 |