-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
python3.pkgs.dbus-python: 1.2.16 -> 1.2.18 #144095
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.
Can you please clarify the package name? It is python3Packages.dbus, not python3Packages.dbus-python.
Not sure where I did the typo in nixpkgs-review but I got it working now.
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.
Changes look okay, except that it breaks python2.pkgs.dbus-python
. It can be easily fixed using the following patch but not sure if we should care, especially when Python 2 support will be removed in the next version anyway.
--- a/pkgs/development/python-modules/dbus/default.nix
+++ b/pkgs/development/python-modules/dbus/default.nix
@@ -32,6 +32,10 @@ buildPythonPackage rec {
doCheck = isPy3k;
checkInputs = [ dbus.out pygobject3 ];
+ configureFlags = [
+ "PYTHON_VERSION=${lib.versions.major python.version}"
+ ];
+
meta = {
description = "Python DBus bindings";
license = lib.licenses.mit;
nixops already fails to build on python2.7-ruamel-yaml-clib |
Maybe make it fail during evaluation time already? BTW, example package depending on this: https://hydra.nixos.org/build/158735128 (sounds insignificant to me) |
I also see |
... and |
See #144095 (review) (cherry picked from commit 02b507e)
Motivation for this change
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)