Commit 0a88fde
committed
Revert "python: Replace deprecated License with License-Expression (PEP 639).".
This reverts commit 7330836.
The 'License-Expression' is not a classifier, so it must not be in
the list of classifiers. Otherwise PyPI rejects the package:
HTTPError: 400 Bad Request
The server could not comply with the request since it is either
malformed or otherwise incorrect.
400 'License-Expression :: Apache 2.0' is not a valid classifier.
See https://packaging.python.org/specifications/core-metadata for
more information.
So, the commit is clearly wrong. The list of valid classifiers
can be seen here: https://pypi.org/classifiers/
We probably shouldn't list the classifier at all and change the
'license' field instead. But that's a thing to explore later.
For now, just revert the change to the legacy working state.
Fixes: 7330836 ("python: Replace deprecated License with License-Expression (PEP 639).")
Acked-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>1 parent 028e626 commit 0a88fde
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments