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

paperwork: unbreak #327214

Merged
merged 2 commits into from
Jul 20, 2024
Merged

paperwork: unbreak #327214

merged 2 commits into from
Jul 20, 2024

Conversation

pyrox0
Copy link
Member

@pyrox0 pyrox0 commented Jul 14, 2024

Description of changes

As reported here, paperwork was broken due to both pypillowfight and fabulous being broken. This fixes both of them, by:

  • Updating pypillowfight to a recent commit that removes nose tests, allowing it to work on recent python versions. The tests also pass now, so there's no reason to have doCheck = false; now.
  • Adds a patch(also submitted upstream) to fabulous that unbreaks its tests, as it was using deprecated and now-removed function aliases from python's unittest library.

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

@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 327214 run on x86_64-darwin 1

4 packages built:
  • python311Packages.fabulous
  • python311Packages.fabulous.dist
  • python312Packages.fabulous
  • python312Packages.fabulous.dist

@eclairevoyant
Copy link
Contributor

commit content seems fine at a glance, but commit messages should start with python312Packages.

@pyrox0
Copy link
Member Author

pyrox0 commented Jul 14, 2024

Updated both commit messages

…modernize and remove nose

Updates to a recent commit that removes nose in favor of pytest. Also
includes a few misc improvements made upstream.
@symphorien symphorien merged commit e7279da into NixOS:master Jul 20, 2024
25 of 26 checks passed
@pyrox0 pyrox0 deleted the unbreak-paperwork branch August 4, 2024 23:21
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.

4 participants