-
-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include WHEEL metadata when using PDM and poetry backends (#2881)
- Loading branch information
Showing
4 changed files
with
37 additions
and
11 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,10 @@ | ||
When building a ``wheel`` or ``editable`` package with a PEP 517 backend, no | ||
longer pass an empty ``metadata_directory`` to the backend ``build_wheel`` or | ||
``build_editable`` endpoint. | ||
|
||
Some backends, such as PDM and poetry, will not generate package metadata in | ||
the presence of a ``metadata_directory``, even if it is empty. | ||
|
||
Prior to this change, attempting to install a wheel created by tox using PDM or | ||
poetry would return an error like "There is no item named | ||
'my-package.0.1.dist-info/WHEEL' in the archive" - by :user:`masenf`. |
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