Skip to content

python3{11,12}Packages.nose: drop#348699

Merged
mweinelt merged 4 commits intoNixOS:masterfrom
emilazy:👃
Oct 15, 2024

Hidden character warning

The head ref may contain hidden characters: "\ud83d\udc43"
Merged

python3{11,12}Packages.nose: drop#348699
mweinelt merged 4 commits intoNixOS:masterfrom
emilazy:👃

Conversation

@emilazy
Copy link
Member

@emilazy emilazy commented Oct 15, 2024

🎉

This package has been deprecated and unmaintained upstream for almost a decade, has required extensive patching to keep working on new Python versions, will inevitably break again with Python 3.13 dropping 2to3, is lacking a maintainer in Nixpkgs, is now unused in the tree, and has caused us all far too many headaches lately. Let’s put an end to this!

Shout‐outs to @mweinelt and @jchv for dealing with this situation early on, @pyrox0, @Sigmanificient, and @dotlambda for tackling a bunch of packages, and @natsukium for help with reviews. I never thought this would get finished so quickly. We’ve collectively handled almost 1½ packages per day in the three months since I first opened the tracking issue, and sometimes helped move the entire ecosystem forward.

Closes: #326513

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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation 8.has: changelog This PR adds or changes release notes labels Oct 15, 2024
@nix-owners nix-owners bot requested a review from natsukium October 15, 2024 06:51
Copy link
Member

@Scrumplex Scrumplex left a comment

Choose a reason for hiding this comment

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

pkgs/development/python-modules/mhcflurry/default.nix

Pulls in nose still :/

Edit: but it doesn't actually use it

@emilazy
Copy link
Member Author

emilazy commented Oct 15, 2024

#347990 was already merged.

Edit: Oh, I see, I forgot the parameter… Will open another PR to fix.

@Scrumplex
Copy link
Member

The changes in the actual merge 8574a14 and the PR b9a003c are different for some reason

@emilazy
Copy link
Member Author

emilazy commented Oct 15, 2024

Ah, phew, it’s not quite my fault: the file changed since I started that branch locally and “removed” the nose parameter from that location by moving it further down the file, and the accursed three‐way merge decided that we had made the same change and that therefore it was fine to drop mine. #348716 fixes it.

This was only used for testing pytest itself in
`passthru.tests.pytest`. The tests weren’t passing before this,
so I can’t verify if they still pass after, but looking over the
source tree it would just be a matter of disabling a file at most if
this breaks them further.
🎉

This package has been deprecated and unmaintained upstream for almost a
decade, has required extensive patching to keep working on new Python
versions, will inevitably break again with Python 3.13 dropping 2to3,
is lacking a maintainer in Nixpkgs, is now unused in the tree, and
has caused us all far too many headaches lately. Let’s put an end
to this!

Shout‐outs to mweinelt and jchv for dealing with this situation
early on, pyrox0, Sigmanificient, and dotlambda for tackling a bunch
of packages, and natsukium for help with reviews. I never thought this
would get finished so quickly. We’ve collectively handled almost
1½ packages per day in the three months since I first opened the
tracking issue, and sometimes helped move the entire ecosystem forward.

Closes: NixOS#326513
@emilazy
Copy link
Member Author

emilazy commented Oct 15, 2024

Eval should hopefully be okay now.

@ofborg ofborg bot added 8.has: clean-up This PR removes packages or removes other cruft 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Oct 15, 2024
@mweinelt mweinelt merged commit 00d748f into NixOS:master Oct 15, 2024
@emilazy emilazy deleted the 👃 branch October 15, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: python Python is a high-level, general-purpose programming language. 8.has: changelog This PR adds or changes release notes 8.has: clean-up This PR removes packages or removes other cruft 8.has: documentation This PR adds or changes documentation 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

python3Packages: get rid of uses of nose

3 participants