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

Use non-dev dependencies in pyproject.toml #124

Closed
wants to merge 1 commit into from
Closed

Conversation

narimantos
Copy link

@narimantos narimantos commented May 27, 2024

@narimantos narimantos changed the title Tox testenv use --pre Use non-dev dependencies in pyproject.toml May 27, 2024
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.61%. Comparing base (a8fd59d) to head (e3cd4ed).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
+ Coverage   83.76%   84.61%   +0.84%     
==========================================
  Files          34       34              
  Lines        3413     3413              
==========================================
+ Hits         2859     2888      +29     
+ Misses        554      525      -29     
Flag Coverage Δ
unittests 84.61% <ø> (+0.84%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -16,6 +16,13 @@ deps =
pytest-cov
coverage
extras = test
Copy link
Member

Choose a reason for hiding this comment

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

i think the extras can be removed here then?

Comment on lines +24 to +25
commands_pre =
pip install --pre -e .[test]
Copy link
Member

@yunzheng yunzheng May 28, 2024

Choose a reason for hiding this comment

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

It's also possible to list the flags and package extra under [deps] like so:

[testenv]
deps =
    pytest
    pytest-cov
    coverage
    --pre --editable .[test]

Then you don't have to run the pip command separately.

@narimantos
Copy link
Author

We decided to drop this PR because flow.record doesn't have any Dissect dependencies. With the --pre command we also get dev versions of (sub)dependencies that we don't want dev versions from.

@narimantos narimantos closed this May 29, 2024
@pyrco pyrco deleted the tox-testenv-pre branch May 31, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants