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

Ability to specify package requirements for the tox run #783 #936

Merged
merged 1 commit into from
Aug 9, 2018
Merged

Ability to specify package requirements for the tox run #783 #936

merged 1 commit into from
Aug 9, 2018

Conversation

gaborbernat
Copy link
Member

Done via the tox.ini (tox section under key requires - PEP-508
style). Can be used to specify both plugin requirements or build
dependencies until we'll have PEP-517 support.

Using pkg_resources.Requirement. Note tox will refuse to run if
cannot satisfy dependencies. It's the users responsibility to ensure
dependencies are satisfied. pkg_resources is part of setuptools so
added setuptools as dependency.

Realized pkg_resources contain everything we used from packaging,
dropped packaging as a dependency.

Done via the ``tox.ini`` (``tox`` section under key ``requires`` - PEP-508
style). Can be used to specify both plugin requirements or build
dependencies until we'll have PEP-517 support.

Using ``pkg_resources.Requirement``. Note tox will refuse to run if
cannot satisfy dependencies. It's the users responsibility to ensure
dependencies are satisfied. ``pkg_resources`` is part of setuptools so
added setuptools as dependency.

Realized pkg_resources contain everything we used from packaging,
dropped packaging as dependency.
@codecov
Copy link

codecov bot commented Aug 9, 2018

Codecov Report

Merging #936 into master will increase coverage by 0.16%.
The diff coverage is 86.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #936      +/-   ##
==========================================
+ Coverage   92.81%   92.98%   +0.16%     
==========================================
  Files          12       12              
  Lines        2367     2495     +128     
  Branches      412      471      +59     
==========================================
+ Hits         2197     2320     +123     
- Misses        108      111       +3     
- Partials       62       64       +2
Impacted Files Coverage Δ
src/tox/config.py 95.74% <100%> (-0.19%) ⬇️
src/tox/session.py 91.97% <50%> (ø) ⬆️
src/tox/venv.py 94.11% <0%> (+1.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 514e32a...da20957. Read the comment docs.

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.

1 participant