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

Subdirectory vcs installs are never passing the subdirectory in requirementslib which is now required by setuptools #5017

Merged
merged 11 commits into from
Mar 28, 2022

Conversation

matteius
Copy link
Member

@matteius matteius commented Mar 27, 2022

It would appear that potentially a recent change to setuptools revealed that we weren't actually passing in the subdirectory properly to generate the pep517 wheels, and that was revealed ~3 days ago when the CI started failing on a change that was merged in but had passed the CI the day before.

Fixes #5019
Fixes #5014

@@ -210,27 +210,6 @@ def test_scripts(PipenvInstance):
assert 'which python' in c.stdout


@pytest.mark.cli
def test_scripts_resolve_dot_env_vars(PipenvInstance):
Copy link
Member Author

Choose a reason for hiding this comment

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

I wrote this test recently but technically put it in the wrong file -- relocated it in this PR and extended it's use case.

@matteius matteius changed the title Potential subdir fix Subdirectory vcs installs are never passing the subdirectory in requirementslib which is now required by setuptools Mar 28, 2022
Copy link
Contributor

@frostming frostming left a comment

Choose a reason for hiding this comment

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

LGTM, do you try to update requirementslib as well?

@matteius
Copy link
Member Author

Thanks @frostming, I have now access to requirementslib but unfortunately the build of main is already failing there by the time I have seen the project, so it will take me more time to patch upstream. Its on my list since I already have another PR over there for the future pip vendoring as well.

@matteius matteius merged commit b2378d3 into main Mar 28, 2022
@matteius matteius deleted the potential-subdir-fix branch March 28, 2022 01:39
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.

new version of setuptools broke CI test for test_lock_nested_vcs_direct_url
3 participants