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

fix failing tox tests #1405

Merged
merged 4 commits into from
Jun 1, 2021
Merged

Conversation

nicoa
Copy link
Contributor

@nicoa nicoa commented May 28, 2021

Closes #1403 .

Changelog-friendly one-liner: fix failing tox tests by pinning setuptools to old version and disabling pip version check on old version and using new feature "in-tree-build" in new version

Contributor checklist
  • Provided the tests for the changes.
  • Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
  • Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

@codecov
Copy link

codecov bot commented May 28, 2021

Codecov Report

Merging #1405 (46945ae) into master (f86628f) will increase coverage by 0.00%.
The diff coverage is n/a.

❗ Current head 46945ae differs from pull request most recent head 0cc13ad. Consider uploading reports for the commit 0cc13ad to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1405   +/-   ##
=======================================
  Coverage   99.67%   99.67%           
=======================================
  Files          33       34    +1     
  Lines        3038     3040    +2     
  Branches      327      327           
=======================================
+ Hits         3028     3030    +2     
  Misses          5        5           
  Partials        5        5           
Impacted Files Coverage Δ
tests/test_data/packages/fake_with_deps/setup.py 100.00% <0.00%> (ø)

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 f86628f...0cc13ad. Read the comment docs.

tox.ini Outdated
pipprevious: pip==20.3.*
piplatest: pip
pipmain: -e git+https://github.com/pypa/pip.git@main#egg=pip
pip20.3: pip==20.3.*
setenv =
coverage: PYTEST_ADDOPTS=--strict --doctest-modules --cov --cov-report=term-missing --cov-report=xml {env:PYTEST_ADDOPTS:}
pipprevious,pip20.3: PIP_DISABLE_PIP_VERSION_CHECK=1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

those are probably not necessary - should we still use them anyways (at least the feature flag)?

@@ -11,12 +11,15 @@ extras =
testing
coverage: coverage
deps =
setuptools<57
Copy link
Member

Choose a reason for hiding this comment

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

This requires a comment explaining the motivation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added a comment

tox.ini Outdated Show resolved Hide resolved
@nicoa nicoa added this to the 6.2.0 milestone May 29, 2021
@webknjaz webknjaz merged commit d14f19e into jazzband:master Jun 1, 2021
@nicoa nicoa deleted the 1403_fix_failing_tox_tests branch June 1, 2021 15:53
@nicoa nicoa modified the milestones: 6.2.0, 6.1.1 Jun 4, 2021
@atugushev atugushev added skip-changelog Avoid listing in changelog tests Testing and related things labels Jun 21, 2021
@atugushev atugushev modified the milestones: 6.1.1, 6.2.0 Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog Avoid listing in changelog tests Testing and related things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tox tests are failing due to new pip release
4 participants