You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
netomi
changed the title
Using License EPL-1.0 or EPL-2.0 results in errors when publishing to pypi.org
Using License EPL-2.0 results in errors when publishing to pypi.org
Oct 27, 2024
Description
When specifyingEPL-2.0 as license in the pyproject.toml file, the following classifier is added automatically:
however, when publishing the wheel to pypi, the publishing fails with an error as the classifier is unknown.
Looking at the currently listed classifiers, you see that the name for EPL licenses slightly changed:
Workarounds
There is no acceptable workaround right now, as there seems to be no way to disable or skip the automatic generation of classifiers from the license.
A workaround is to specify a license like that:
however this leads to an classifier added automatically like that:
which is not really what you want.
Poetry Installation Method
pipx
Operating System
Ubuntu 22.04
Poetry Version
1.8.4
Poetry Configuration
Python Sysconfig
No response
Example pyproject.toml
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: