-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
BadMetadata
warning message and add METADATA
file check
* **`src/pip/_internal/metadata/importlib/_compat.py`** - Add `joinpath` method to `BasePath` class. * **`news/12446.bugfix.rst`** - Document changes made to fix the issue.
- Loading branch information
Showing
3 changed files
with
12 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Changelog | ||
|
||
## [Unreleased] | ||
|
||
### Changed | ||
- Updated warning message for invalid dist-info directory due to missing `METADATA` file. |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* Updated warning message for invalid dist-info directory due to missing `METADATA` file. | ||
* Added a check for the existence of the `METADATA` file in the `get_dist_canonical_name` function. | ||
* Added a test case to verify the new warning message for a missing `METADATA` file. |
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