diff options
author | Masen Furer <m_github@0x26.net> | 2023-01-18 07:50:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 07:50:21 -0800 |
commit | 8323aaa78a00425b598b093ea0eae82b228fe6d6 (patch) | |
tree | 52d932c5532386ee4d97aef9798df01966c99d53 /docs/changelog/2880.bugfix.rst | |
parent | 23510dc61a2e5e4fc5381a957e75f17796ace265 (diff) | |
download | tox-git-8323aaa78a00425b598b093ea0eae82b228fe6d6.tar.gz |
Include WHEEL metadata when using PDM and poetry backends (#2881)
Fix https://github.com/tox-dev/tox/issues/2880
Fix https://github.com/tox-dev/tox/issues/2870
Diffstat (limited to 'docs/changelog/2880.bugfix.rst')
-rw-r--r-- | docs/changelog/2880.bugfix.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/changelog/2880.bugfix.rst b/docs/changelog/2880.bugfix.rst new file mode 100644 index 00000000..2ab4c11c --- /dev/null +++ b/docs/changelog/2880.bugfix.rst @@ -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`. |