Skip to content
Snippets Groups Projects
Commit ef7f05e8 authored by Jakub Ružička's avatar Jakub Ružička
Browse files

CI nix: Add poetry build deps

parent 1621dc66
No related branches found
No related tags found
1 merge request!142Improve version handing: setuptools, poetry
Pipeline #111104 passed
......@@ -152,6 +152,10 @@ default:
# dunamai is needed for apkg's make-archive script, i.e. for `apkg install` here
# and also for tests in nixos-unstable-apkg below.
- nix-env -f '<nixpkgs>' -iQA python3.pkgs.dunamai
# build deps when using modern packaging through pyproject.toml
# which are also needed when running apkg self tests
- nix-env -f '<nixpkgs>' -iQA python3.pkgs.poetry-core
- nix-env -f '<nixpkgs>' -iQA python3.pkgs.poetry-dynamic-versioning
# Use bootstrap apkg to install itself from the current commit
- nix-shell '<nixpkgs>' -p apkg --run 'apkg install'
allow_failure: true
......
......@@ -28,7 +28,8 @@ python3Packages.buildPythonApplication rec {
toml # config files
# further deps?
setuptools
poetry-core
poetry-dynamic-versioning
];
makeWrapperArgs = [ # deps for `srcpkg` operation for other distros; could be optional
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment