-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
linode-cli: remove deprecated perl version, init python version at 2.14.1 #85238
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.
we may want to replace the deprecated linode-cli package:
pkgs/tools/virtualization/linode-cli/default.nix
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.
also, they unfortunately mispackaged this as well for python3:
ERROR: Could not find a version that satisfies the requirement enum34 (from linode-cli==2.14.1) (from versions: none)
ERROR: No matching distribution found for enum34 (from linode-cli==2.14.1)
their METADATA:
Requires-Python: >=2.7
Requires-Dist: PyYAML
Requires-Dist: colorclass
Requires-Dist: enum34
enum34 should only be required if python<3.4
, setuptools | ||
}: | ||
|
||
buildPythonApplication rec { |
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.
buildPythonApplication shouldn't be used in python-modules
, this should probably be moved to pkgs/tools/virtualization/linode-cli/default.nix, the top-level attr should be move to all-packages
, and should look like:
linode-cli = python3Packages.callPackage ../tools/virtualization/linode-cli/default.nix { };
Here's what I came up with:
|
I made a PR correcting the enum34 logic linode/linode-cli#184 , and included it here as a patch |
cc @nixy maintainer of Perl linode-cli |
Seems fine to me, no objections here. |
bd00093
to
1956eef
Compare
Motivation for this change
This is the new official CLI for accessing the Linode APIs.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)