Skip to content

gpgme: add patch for Python 3.10 support#155384

Merged
SuperSandro2000 merged 2 commits intoNixOS:stagingfrom
fabaff:fix-gpgme
Feb 19, 2022
Merged

gpgme: add patch for Python 3.10 support#155384
SuperSandro2000 merged 2 commits intoNixOS:stagingfrom
fabaff:fix-gpgme

Conversation

@fabaff
Copy link
Copy Markdown
Member

@fabaff fabaff commented Jan 17, 2022

Motivation for this change

Fix build (https://hydra.nixos.org/build/164507537)

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, 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/)
  • 22.05 Release Notes (or backporting 21.11 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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jan 17, 2022
@ofborg ofborg bot requested a review from nlewo January 17, 2022 15:40
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Jan 17, 2022
@fabaff
Copy link
Copy Markdown
Member Author

fabaff commented Jan 17, 2022

This will trigger a little over 1k builds.

@fabaff
Copy link
Copy Markdown
Member Author

fabaff commented Jan 17, 2022

@ofborg build gpgme

@github-actions github-actions bot added 6.topic: bsd Running or building packages on BSD 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: ocaml OCaml is a general-purpose, high-level, multi-paradigm programming language. 6.topic: printing Drivers, CUPS & Co. 6.topic: qt/kde Object-oriented framework for GUI creation 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 6.topic: stdenv Standard environment 6.topic: systemd Software suite that provides an array of system components for Linux operating systems. 8.has: changelog This PR adds or changes release notes labels Jan 17, 2022
@ofborg ofborg bot added 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. and removed 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Jan 17, 2022
@risicle risicle mentioned this pull request Feb 13, 2022
13 tasks
@SuperSandro2000
Copy link
Copy Markdown
Member

Going to merge this right after #160794 to get openstack for 3.10 in a better shape.

@SuperSandro2000 SuperSandro2000 self-assigned this Feb 18, 2022
@SuperSandro2000
Copy link
Copy Markdown
Member

SuperSandro2000 commented Feb 19, 2022

@ofborg eval
@ofborg build gpgme python39Packages.gpgme python310Packages.gpgme

@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. and removed 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Feb 19, 2022
@SuperSandro2000
Copy link
Copy Markdown
Member

SuperSandro2000 commented Feb 19, 2022

I manually build this PR before and something else in the dependency chain of rust is broken....

Edit: yeah, broken by #160826. Just going a head and merging this since I am sure it works.

@SuperSandro2000
Copy link
Copy Markdown
Member

SuperSandro2000 commented Feb 19, 2022

It worked before but now it fails with because python3.10 -c "import distutils" outputs <string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives.


Fixing in another PR right now.

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: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants