ZigRazor/PyStateMachine

Problem with Automatic Packet Publish on PyPi

Closed this issue · 2 comments

This is the log with the error raised by the workflow that is in the pypi-publish.yml file

Run python setup.py sdist bdist_wheel
running sdist
running egg_info
creating src/PyStateMachine.egg-info
writing src/PyStateMachine.egg-info/PKG-INFO
writing dependency_links to src/PyStateMachine.egg-info/dependency_links.txt
writing entry points to src/PyStateMachine.egg-info/entry_points.txt
writing requirements to src/PyStateMachine.egg-info/requires.txt
writing top-level names to src/PyStateMachine.egg-info/top_level.txt
writing manifest file 'src/PyStateMachine.egg-info/SOURCES.txt'
reading manifest file 'src/PyStateMachine.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/PyStateMachine.egg-info/SOURCES.txt'
running check
creating PyStateMachine-0.0.1
creating PyStateMachine-0.0.1/schema
creating PyStateMachine-0.0.1/src
creating PyStateMachine-0.0.1/src/PyStateMachine.egg-info
copying files to PyStateMachine-0.0.1...
copying LICENSE -> PyStateMachine-0.0.1
copying README.md -> PyStateMachine-0.0.1
copying setup.py -> PyStateMachine-0.0.1
copying schema/StateMachine.xsd -> PyStateMachine-0.0.1/schema
copying src/Action.py -> PyStateMachine-0.0.1/src
copying src/Actions.py -> PyStateMachine-0.0.1/src
copying src/Condition.py -> PyStateMachine-0.0.1/src
copying src/Conditions.py -> PyStateMachine-0.0.1/src
copying src/Event.py -> PyStateMachine-0.0.1/src
copying src/ReadStateMachine.py -> PyStateMachine-0.0.1/src
copying src/State.py -> PyStateMachine-0.0.1/src
copying src/StateMachine.py -> PyStateMachine-0.0.1/src
copying src/init.py -> PyStateMachine-0.0.1/src
copying src/PyStateMachine.egg-info/PKG-INFO -> PyStateMachine-0.0.1/src/PyStateMachine.egg-info
copying src/PyStateMachine.egg-info/SOURCES.txt -> PyStateMachine-0.0.1/src/PyStateMachine.egg-info
copying src/PyStateMachine.egg-info/dependency_links.txt -> PyStateMachine-0.0.1/src/PyStateMachine.egg-info
copying src/PyStateMachine.egg-info/entry_points.txt -> PyStateMachine-0.0.1/src/PyStateMachine.egg-info
copying src/PyStateMachine.egg-info/not-zip-safe -> PyStateMachine-0.0.1/src/PyStateMachine.egg-info
copying src/PyStateMachine.egg-info/requires.txt -> PyStateMachine-0.0.1/src/PyStateMachine.egg-info
copying src/PyStateMachine.egg-info/top_level.txt -> PyStateMachine-0.0.1/src/PyStateMachine.egg-info
Writing PyStateMachine-0.0.1/setup.cfg
creating dist
Creating tar archive
removing 'PyStateMachine-0.0.1' (and everything under it)
running bdist_wheel
running build
running build_py
creating build
creating build/lib
copying src/Condition.py -> build/lib
copying src/State.py -> build/lib
copying src/Actions.py -> build/lib
copying src/Event.py -> build/lib
copying src/init.py -> build/lib
copying src/Conditions.py -> build/lib
copying src/Action.py -> build/lib
copying src/ReadStateMachine.py -> build/lib
copying src/StateMachine.py -> build/lib
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
copying build/lib/Condition.py -> build/bdist.linux-x86_64/wheel
copying build/lib/State.py -> build/bdist.linux-x86_64/wheel
copying build/lib/Actions.py -> build/bdist.linux-x86_64/wheel
copying build/lib/Event.py -> build/bdist.linux-x86_64/wheel
copying build/lib/init.py -> build/bdist.linux-x86_64/wheel
copying build/lib/Conditions.py -> build/bdist.linux-x86_64/wheel
copying build/lib/Action.py -> build/bdist.linux-x86_64/wheel
copying build/lib/ReadStateMachine.py -> build/bdist.linux-x86_64/wheel
copying build/lib/StateMachine.py -> build/bdist.linux-x86_64/wheel
running install_data
creating build/bdist.linux-x86_64/wheel/PyStateMachine-0.0.1.data
creating build/bdist.linux-x86_64/wheel/PyStateMachine-0.0.1.data/data
creating build/bdist.linux-x86_64/wheel/PyStateMachine-0.0.1.data/data/schema
copying schema/StateMachine.xsd -> build/bdist.linux-x86_64/wheel/PyStateMachine-0.0.1.data/data/schema/
running install_egg_info
Copying src/PyStateMachine.egg-info to build/bdist.linux-x86_64/wheel/PyStateMachine-0.0.1-py3.9.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/PyStateMachine-0.0.1.dist-info/WHEEL
creating 'dist/PyStateMachine-0.0.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'Action.py'
adding 'Actions.py'
adding 'Condition.py'
adding 'Conditions.py'
adding 'Event.py'
adding 'ReadStateMachine.py'
adding 'State.py'
adding 'StateMachine.py'
adding 'init.py'
adding 'PyStateMachine-0.0.1.data/data/schema/StateMachine.xsd'
adding 'PyStateMachine-0.0.1.dist-info/LICENSE'
adding 'PyStateMachine-0.0.1.dist-info/METADATA'
adding 'PyStateMachine-0.0.1.dist-info/WHEEL'
adding 'PyStateMachine-0.0.1.dist-info/entry_points.txt'
adding 'PyStateMachine-0.0.1.dist-info/top_level.txt'
adding 'PyStateMachine-0.0.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Uploading distributions to https://upload.pypi.org/legacy/
dist/PyStateMachine-0.0.1-py3-none-any.whl (20.5 KB)
dist/PyStateMachine-0.0.1.tar.gz (20.2 KB)
username set by command options
password set by command options
username: ***
password:
Uploading PyStateMachine-0.0.1-py3-none-any.whl

0%| | 0.00/28.3k [00:00<?, ?B/s]
28%|██▊ | 8.00k/28.3k [00:00<00:00, 45.5kB/s]
100%|██████████| 28.3k/28.3k [00:00<00:00, 57.2kB/s]
Content received from server:

<title>400 Invalid value for classifiers. Error: Classifier 'License :: OSI Approved :: GNU GENERAL PUBLIC LICENSE' is not a valid classifier.</title>

400 Invalid value for classifiers. Error: Classifier 'License :: OSI Approved :: GNU GENERAL PUBLIC LICENSE' is not a valid classifier.

The server could not comply with the request since it is either malformed or otherwise incorrect.

Invalid value for classifiers. Error: Classifier 'License :: OSI Approved :: GNU GENERAL PUBLIC LICENSE' is not a valid classifier. HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/ Invalid value for classifiers. Error: Classifier 'License :: OSI Approved :: GNU GENERAL PUBLIC LICENSE' is not a valid classifier. Error: Process completed with exit code 1.

Someone can correct this?

This refer to the issue #31
and the pull request #47

Hello ZigRazor. I would be glad to contribute to this issue and propose a pull request. Is it OK for you ?

obviously! I assign it to you @supcik