Commit b70bc30
committed
Replace pkg_resources with packaging in setup.py
setuptools>=78 removed the bundled pkg_resources module, causing
ModuleNotFoundError on all CI jobs except Python 3.8-ubuntu (which
uses an older setuptools). Use packaging.requirements.Requirement
instead, which provides the same version-specifier matching and is
always available as a dependency of setuptools.1 parent 7de9458 commit b70bc30
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
| 124 | + | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments