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{11,12}Packages.nose: drop #348699

Merged
merged 4 commits into from
Oct 15, 2024
Merged

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

merged 4 commits into from
Oct 15, 2024

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.

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.

@mweinelt mweinelt merged commit 00d748f into NixOS:master Oct 15, 2024
32 of 33 checks passed
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

python3Packages: get rid of uses of nose
3 participants