-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gandi-cli: 0.19 -> 1.3 #51284
gandi-cli: 0.19 -> 1.3 #51284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be using buildPythonApplication
instead of buildPythonPackage
.
See the python section of the nixpkgs for details on how to use it.
42d9251
to
6b72933
Compare
@worldofpeace all suggestions applied, thanks for reviewing 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should probably look over https://github.com/Gandi/gandi.cli/blob/master/setup.py and also see if the tests are appropriate now.
At a glance, I can see that they have python3 support.
So I think we should default to that with python3Packages
.
6b72933
to
19775a0
Compare
They are not, tests still call the API and fail because of it.
Done. |
Sounds good. Testing the build here. @GrahamcOfBorg build gandi-cli |
Success on aarch64-linux (full log) Attempted: gandi-cli Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: gandi-cli Partial log (click to expand)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Executes fine locally.
Only concern left is that this is without a maintainer.
I don't think we have a rule for this, but would you mind volunteering @kampka?
19775a0
to
4ed2dd9
Compare
Sure, why not. |
@kampka Thanks for your contribution ❇️ |
Motivation for this change
gandi-cli 0.19 is hopelessly out of date.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)