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
Add regression test for GH-1647 #1687
Conversation
To test that this fails prior to the fix #1649: $ git checkout --detach test-compile-cached-vcs
$ git rebase --onto 40d4818~ "$(git merge-base master HEAD)" HEAD
$ tox -e py310-piplatest-coverage -- -n 0 --no-cov -v tests/test_cli_compile.py::test_compile_cached_vcs_package |
).stdout | ||
) | ||
|
||
with open("requirements.in", "w") as req_in: |
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.
Why is this written to the project root?
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.
Not sure. I just followed the pattern used already for the other tests.
For Windows support, this includes workarounds for python/cpython#85815.
I rebased onto |
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.
Thanks a lot!
For Windows support, this includes workarounds for python/cpython#85815.
Closes #1686.
This asserts that the package is cached to avoid the problem with the prior test (where it passed when it should have failed—see #1649 (comment)).
Contributor checklist
Maintainer checklist
backwards incompatible
,feature
,enhancement
,deprecation
,bug
,dependency
,docs
orskip-changelog
as they determine changelog listing.