Skip to content
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

Merged
merged 1 commit into from
Nov 12, 2021

Conversation

alyssais
Copy link
Member

@alyssais alyssais commented Nov 1, 2021

Motivation for this change
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a 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.

Copy link
Member

@jtojnar jtojnar left a 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;

@SuperSandro2000
Copy link
Member

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.

We usually only care if nixops breaks otherwise we ignore it.

@SuperSandro2000
Copy link
Member

nixops already fails to build on python2.7-ruamel-yaml-clib

@SuperSandro2000 SuperSandro2000 merged commit 7bade69 into NixOS:staging Nov 12, 2021
@alyssais alyssais deleted the dbus-python branch November 13, 2021 10:57
@vcunat
Copy link
Member

vcunat commented Nov 22, 2021

not sure if we should care

Maybe make it fail during evaluation time already?

BTW, example package depending on this: https://hydra.nixos.org/build/158735128 (sounds insignificant to me)

@vcunat
Copy link
Member

vcunat commented Nov 22, 2021

I also see netatalk depending on it, /cc maintainer @jcumming.

@vcunat
Copy link
Member

vcunat commented Nov 22, 2021

... and pam_usb package, including NixOS security.pam.usb. (no maintainers, doesn't look important either)

dadada added a commit to dadada/nixpkgs that referenced this pull request Dec 1, 2021
dadada added a commit to dadada/nixpkgs that referenced this pull request Dec 3, 2021
github-actions bot pushed a commit that referenced this pull request Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants