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.dlib: use pytestCheckHook #348185

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

jkub6
Copy link
Contributor

@jkub6 jkub6 commented Oct 13, 2024

Migrate Python DLIB away from outdated setup.py test. (#331159)

(First pull request, let me know if I goofed)

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

@tomodachi94 tomodachi94 left a comment

Choose a reason for hiding this comment

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

Hello! The diff looks good, but I encourage you to modify your commit messages to use our commit conventions. I also encourage you to remove the merge commit (go to your branch, use git reset --hard HEAD~1 to remove the most recent commit made, then git push --force-with-lease), since it can pollute the commit history.

Otherwise, this is stellar for a first contribution.

Copy link
Member

@tomodachi94 tomodachi94 left a comment

Choose a reason for hiding this comment

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

Lgtm, thank you!

@tomodachi94
Copy link
Member

tomodachi94 commented Oct 21, 2024

Unable to request a review from @christopherpoole. I'll go ahead and merge this, it appears to work fine according to Ofborg.

@tomodachi94 tomodachi94 merged commit baef844 into NixOS:master Oct 21, 2024
24 checks passed
@tomodachi94 tomodachi94 changed the title Migrate python3Packages.dlib away from setup.py test python3Packages.dlib: use pytestCheckHook Oct 21, 2024
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.

3 participants