-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
pytest-alembic: init at 0.11.1 #340339
base: master
Are you sure you want to change the base?
pytest-alembic: init at 0.11.1 #340339
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/4535 |
ca969c8
to
50c399c
Compare
Co-authored-by: Abdullah Imad <[email protected]> Co-authored-by: Alberto Merino <[email protected]> Co-authored-by: Enric Morales <[email protected]> Co-authored-by: Jack Leightcap <[email protected]> Co-authored-by: Roland Coeurjoly <[email protected]>
50c399c
to
09a1edc
Compare
nativeBuildInputs = [ poetry-core ]; | ||
dependencies = [ | ||
alembic | ||
pytest |
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.
pytest
should go to buildInputs
to easily override pytest.
See other pytest plugins for a reference.
pytest | ||
sqlalchemy | ||
]; | ||
|
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.
Could you enable tests with pythonImportsCheck
and pytestCheckHook
?
https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md#testing-python-packages-testing-python-packages
Co-authored-by: Radik Islamov <[email protected]>
Co-authored-by: Radik Islamov <[email protected]>
Co-authored-by: OTABI Tomoya <[email protected]>
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.