Skip to content

PyPI classifier designation update for GPL v3 licenses

Summary

PyPI has changed its classifier designation for GPL v3 licences

What is the current bug behavior?

The current bug is shown in this release pipeline:

https://gitlab.idiap.ch/beat/beat.editor/pipelines/37844

and specifically in the following job

https://gitlab.idiap.ch/beat/beat.editor/-/jobs/191064

where an error is thrown:

requests.exceptions.HTTPError: 400 Client Error: Invalid value for classifiers. 
Error: 'License :: OSI Approved :: GNU General Public License v3' is not a valid choice 
for this field for url: https://upload.pypi.org/legacy/  515

What is the expected correct behavior?

It shouldn't fail on this deployment part on PyPI

Relevant logs and/or screenshots

Possible fixes

This faulty line in setup.py:

"License :: OSI Approved :: GNU General Public License v3"

should become:

"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information