-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
python312Packages.pycdio: drop nose dependency #330695
Conversation
Btw this would fix this issue: #331094 |
pytestFlagsArray = [ | ||
"test/test-cdio.py" | ||
"test/test-cdtext.py" | ||
"test/test-iso.py" | ||
"test/test-isocopy.py" | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can’t this just be "test"
(or "test/"
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, we can't. The upstream uses -
instead of _
.
https://docs.pytest.org/en/7.1.x/explanation/goodpractices.html#conventions-for-python-test-discovery
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works and would be more robust to future additions of tests:
pytestFlagsArray = [ | |
"test/test-cdio.py" | |
"test/test-cdtext.py" | |
"test/test-iso.py" | |
"test/test-isocopy.py" | |
]; | |
pytestFlagsArray = [ "test/test-*.py" ]; |
GitHub is hiding my additional comment: the |
Change sources to the GitHub repo andadopted the package Sadly tests are indeed not found when setting |
pytestFlagsArray = [ | ||
"test/test-cdio.py" | ||
"test/test-cdtext.py" | ||
"test/test-iso.py" | ||
"test/test-isocopy.py" | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works and would be more robust to future additions of tests:
pytestFlagsArray = [ | |
"test/test-cdio.py" | |
"test/test-cdtext.py" | |
"test/test-iso.py" | |
"test/test-isocopy.py" | |
]; | |
pytestFlagsArray = [ "test/test-*.py" ]; |
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.