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

We need to be able to modify vistir to fix this bug, and we should work towards its complete removal. #5197

Closed
wants to merge 2 commits into from

Conversation

matteius
Copy link
Member

The issue

Vistir has broken distutil code and probably other bugs. Fix the known bug here, and note in the vendoring that its deprecated and our copy has diverged from the parent pypi vistir -- our goal is complete removal of this library. An effort will be made to begin converting usages in requirementslib since that will be the biggest blocker to completely removing it from pipenv.

@@ -31,7 +31,7 @@ toml==0.10.2
tomli==1.1.0
tomlkit==0.9.2
urllib3==1.26.6
vistir==0.5.2
vistir==0.5.2 # Deprecated: our copy is modified to fix bugs
Copy link
Member Author

Choose a reason for hiding this comment

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

we should try commenting this out entirely and see if vendoring still passes -- I think it won't though. Future vendoring would overwrite this bugfix. Maybe we should move vistir out of the vendor namespace and chip away at it from within pipenv module at same level as utils?

Copy link
Contributor

Choose a reason for hiding this comment

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

If we can remove vistir completely, I will be extremely happy. But I am afraid it won't be so easy.
However, can you add a patch in the patches directory?

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'd prefer to not patch it and move it out of vendor into a the level of utils so we can whack away at it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Or we just patch vistir and release a new version?

Copy link
Member Author

Choose a reason for hiding this comment

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

Or -- I just got access to all of https://github.com/sarugaku so I can upstream this as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

That's what I meant. I wrote uranusjar today and he was very quick to respond.

@matteius
Copy link
Member Author

This is resolved by this PR: #5199

@matteius matteius closed this Jul 28, 2022
@matteius matteius deleted the deprecate-vistir branch July 28, 2022 05:35
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