-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
globally replace pkg_resources.parse_version with non-aliased class
For a long time now, pkg_resources has depended on a (possibly vendored) copy of the packaging module, and imports `Version` as `parse_version`. Use the original class directly. Add a direct dependency on packaging to make sure it's visibly required. pkg_resources is deprecated and the recommended replacement is to directly use packaging where relevant. The result is faster to load, and more guaranteed to work e.g. in environments where setuptools isn't installed by default.
- Loading branch information
1 parent
2718481
commit 16a22f6
Showing
2 changed files
with
8 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ install_requires = | |
click | ||
jinja2 | ||
fixtures | ||
packaging | ||
psutil | ||
xattr ; sys_platform != 'win32' | ||
|
||
|