A tool for installing and managing Python packages
In pip 21.2, the Distribution here is a wrapper around the regular Distribution. It has a limited set of API defined by the BaseDistribution protocol. dist_location() uses the project_name attribute under the hood -- and that is not part of the API. If we ever upstream this, we should make this check a property of BaseDistribution. But, for now, we hotfix it by accessing the private wrapped Distribution object directly. Yes, this is ugly. Related: rhbz#1932713 |
||
|---|---|---|
| tests | ||
| .gitignore | ||
| 9760.patch | ||
| don-t-split-git-references-on-unicode-separators.patch | ||
| dummy-certifi.patch | ||
| gating.yaml | ||
| no-version-warning.patch | ||
| nowarn-pip._internal.main.patch | ||
| pip-allow-different-versions.patch | ||
| python-pip.rpmlintrc | ||
| python-pip.spec | ||
| remove-existing-dist-only-if-path-conflicts.patch | ||
| sources | ||