Skip to content

python2Packages: nuke down to 4 packages#479971

Merged
SigmaSquadron merged 25 commits intoNixOS:masterfrom
Sigmanificient:python2-removal/pycairo
Jan 15, 2026
Merged

python2Packages: nuke down to 4 packages#479971
SigmaSquadron merged 25 commits intoNixOS:masterfrom
Sigmanificient:python2-removal/pycairo

Conversation

@Sigmanificient
Copy link
Copy Markdown
Member

@Sigmanificient Sigmanificient commented Jan 14, 2026

Now that we removed gimp2 python3 support, many of the dependencies are no longer needed.
resholve also embark its own dependencies, so almost every packages can be removed.

Only setuptools is remaining, and it uses pip, bootstrap-pip, wheel. Removing any of theses 4 packages will cause an infinite recursion while trying to build resholve.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@Sigmanificient Sigmanificient changed the title python2Packages.pycario: drop python2Packages.py{cario,gtk,gobject2}: drop Jan 14, 2026
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jan 14, 2026
@Sigmanificient Sigmanificient marked this pull request as ready for review January 14, 2026 18:16
@Sigmanificient Sigmanificient force-pushed the python2-removal/pycairo branch from 5a8b52d to d77c3c1 Compare January 14, 2026 18:17
@Sigmanificient Sigmanificient changed the title python2Packages.py{cario,gtk,gobject2}: drop python2Packages: nuke down to 4 packages Jan 14, 2026
@Sigmanificient Sigmanificient force-pushed the python2-removal/pycairo branch 2 times, most recently from cf1bf07 to 51d9fe9 Compare January 14, 2026 21:14
Copy link
Copy Markdown
Contributor

@doronbehar doronbehar left a comment

Choose a reason for hiding this comment

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

Changes LGTM, but I think it'd be nice at this point to get a 2nd pair of eyes on this.

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jan 14, 2026
@gepbird
Copy link
Copy Markdown
Contributor

gepbird commented Jan 15, 2026

There's a typo in e524b93's commit message

Copy link
Copy Markdown
Contributor

@gepbird gepbird left a comment

Choose a reason for hiding this comment

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

Thanks!
Diff looks good.

@gepbird gepbird enabled auto-merge January 15, 2026 00:55
@SigmaSquadron
Copy link
Copy Markdown
Contributor

gah, sorry. Misclicked.

@SigmaSquadron SigmaSquadron added this pull request to the merge queue Jan 15, 2026
Merged via the queue into NixOS:master with commit 20dd7b1 Jan 15, 2026
26 checks passed
@Sigmanificient Sigmanificient deleted the python2-removal/pycairo branch March 30, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants