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

python3Packages.python-redis-lock: fix tests for django support #325600

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

erictapen
Copy link
Member

@erictapen erictapen commented Jul 8, 2024

Also remove a skipped test that just seems to work

Remove maintainer, as they asked for it here:
#212270 (comment)

Needed for #325541

Description of changes

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.

@wegank
Copy link
Member

wegank commented Jul 8, 2024

@ofborg build python3Packages.python-redis-locks

@wegank
Copy link
Member

wegank commented Jul 8, 2024

By the way, it may soon be mandatory for files under pkgs/development/python-modules/ to be conformant with RFC 166 (see #324367), so I'm not sure if the reformatting is okay.

@erictapen
Copy link
Member Author

@wegank I see, interesting. I reverted the formatting change.

@mweinelt
Copy link
Member

mweinelt commented Jul 9, 2024

Please expose the django extra through optional-dependencies, remove withDjango and concat optional-depdenencies.django to nativeCheckInputs.

@erictapen
Copy link
Member Author

Done.

Also remove a skipped test that just seems to work

Remove maintainer, as they asked for it here:
NixOS#212270 (comment)

Co-authored-by: Sandro <[email protected]>
@erictapen erictapen changed the title python3Packages.python-redis-locks: fix tests for withDjango = true python3Packages.python-redis-locks: fix tests for django support Jul 11, 2024
@erictapen erictapen changed the title python3Packages.python-redis-locks: fix tests for django support python3Packages.python-redis-lock: fix tests for django support Jul 17, 2024
@erictapen
Copy link
Member Author

@GrahamcOfBorg build python3Packages.python-redis-lock

@mweinelt mweinelt merged commit ff0584e into NixOS:master Jul 17, 2024
28 of 34 checks passed
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