-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced pep425tags with packaging (#346)
The internal pep425tags module has been removed in favor of the "packaging" library.
- Loading branch information
Showing
5 changed files
with
157 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
a519770
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.
I'm a bit worried with this addition because wheel is put into virtualenvs by default, and having packaging as a direct dependency might mess it up. Maybe we should do what pip and setuptools do, include a shaded version of packaging in the source?
a519770
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.
@RDIL This is exactly what I'm hitting with newly released
0.35.0
. Tox panics when it sees the conflict between the site-packagedpackaging==0.19.2
and>=20.2
required by the thing as old as wheels.a519770
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.
@nonsleepr Where is the other dependency coming from then?
a519770
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.
packaging==0.19.2
, at least in my case (corp environment) is installed globally along with other globally-installed packages. This is to avoid recompilation of the dependencies during thetox
tests (tox==3.19.0
).As a workaround I pinned the version of
wheel
in mytox.ini
, it's not very intuitive though: