Skip to content

python311Packages.pydbus: patch python311 compat#263669

Merged
mweinelt merged 2 commits intoNixOS:masterfrom
mweinelt:pydbus-lifesupport
Oct 27, 2023
Merged

python311Packages.pydbus: patch python311 compat#263669
mweinelt merged 2 commits intoNixOS:masterfrom
mweinelt:pydbus-lifesupport

Conversation

@mweinelt
Copy link
Member

The package has not been updated since 2018 and has been running into removals on python311.

Fortunately getfullargspec is a drop-in replacement for getargspec, so a simple substitution restore life support for now.

cc #263657

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.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.

The package has not been updated since 2018 and has been running into
removals on python311.

Fortunately getfullargspec is a drop-in replacement for getargspec, so a
simple substitution restore life support for now.
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Oct 26, 2023
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Oct 27, 2023
@mweinelt
Copy link
Member Author

Result of nixpkgs-review pr 263669 run on x86_64-linux 1

4 packages failed to build:
  • python310Packages.py3status
  • python310Packages.py3status.dist
  • python311Packages.py3status
  • python311Packages.py3status.dist
24 packages built:
  • adl
  • input-remapper
  • input-remapper.dist
  • mopidy-mpris
  • mopidy-mpris.dist
  • mopidy-notify
  • mopidy-notify.dist
  • pantalaimon
  • pantalaimon.dist
  • python310Packages.pydbus
  • python310Packages.pydbus.dist
  • python311Packages.pydbus
  • python311Packages.pydbus.dist
  • raysession
  • recapp
  • sayonara
  • trackma
  • trackma-curses
  • trackma-curses.dist
  • trackma-gtk
  • trackma-gtk.dist
  • trackma-qt
  • trackma-qt.dist
  • trackma.dist

@mweinelt mweinelt merged commit de4db3f into NixOS:master Oct 27, 2023
@mweinelt mweinelt deleted the pydbus-lifesupport branch October 27, 2023 10:38
@Tungsten842 Tungsten842 mentioned this pull request Oct 28, 2023
13 tasks
buildPythonPackage rec {
pname = "pydbus";
version = "0.6.0";
pyproejct = true;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor spelling mistake: pyproejct -> pyproject.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants