Skip to content

python312Packages.{mwtypes,mwxml}: drop nose dependency; modernize#330805

Merged
GaetanLepage merged 4 commits intoNixOS:masterfrom
pyrox0:denose/mwtypes-and-mwxml
Aug 1, 2024
Merged

python312Packages.{mwtypes,mwxml}: drop nose dependency; modernize#330805
GaetanLepage merged 4 commits intoNixOS:masterfrom
pyrox0:denose/mwtypes-and-mwxml

Conversation

@pyrox0
Copy link
Member

@pyrox0 pyrox0 commented Jul 29, 2024

Description of changes

Updates these two packages to their latest releases to pull in new fixes, as well as adding patches that remove nose from their test suites. Upstream PRs have been sent, and they are linked next to the patches.
Part of #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 the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 29, 2024
@ofborg ofborg bot requested a review from GaetanLepage July 29, 2024 08:49
@ofborg ofborg bot added 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 Jul 29, 2024
@GaetanLepage
Copy link
Contributor

Thanks for dealing with this.
Regarding the use of unstable versions, I think that we should rather use fetchPypi.

@emilazy
Copy link
Member

emilazy commented Jul 31, 2024

There are 0.4.0 and 0.3.4 releases from this month that we could presumably use?

@pyrox0 pyrox0 force-pushed the denose/mwtypes-and-mwxml branch from a92eff9 to e766541 Compare July 31, 2024 21:17
@pyrox0
Copy link
Member Author

pyrox0 commented Jul 31, 2024

Tested and now using the regular pypi releases, and the patches still apply properly. Thanks for the suggestion to double-check that!

Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

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

LGTM !

Copy link
Member

@emilazy emilazy left a comment

Choose a reason for hiding this comment

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

Result of nixpkgs-review pr 330805 run on aarch64-linux 1

8 packages built:
  • python311Packages.mwtypes
  • python311Packages.mwtypes.dist
  • python311Packages.mwxml
  • python311Packages.mwxml.dist
  • python312Packages.mwtypes
  • python312Packages.mwtypes.dist
  • python312Packages.mwxml
  • python312Packages.mwxml.dist

@ofborg ofborg bot requested a review from GaetanLepage July 31, 2024 22:59
@GaetanLepage GaetanLepage merged commit 94d355c into NixOS:master Aug 1, 2024
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. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants