setup.py upload is now deprecated. When used, pypi.org returns an error: > Upload failed (400): Invalid value for blake2_256_digest. Error: Use > a valid, hex-encoded, BLAKE2 message digest.
Use twine which is the recommended replacement tool to upload on pypi.org. Link: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary Reported-by: Terry Wilson <[email protected]> Signed-off-by: Robin Jarry <[email protected]> --- python/automake.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/automake.mk b/python/automake.mk index 8b6266de214e..8854e656a5ae 100644 --- a/python/automake.mk +++ b/python/automake.mk @@ -104,7 +104,7 @@ python-sdist: $(srcdir)/python/ovs/version.py $(ovs_pyfiles) python/ovs/dirs.py (cd python/ && $(PYTHON3) setup.py sdist) pypi-upload: $(srcdir)/python/ovs/version.py $(ovs_pyfiles) python/ovs/dirs.py - (cd python/ && $(PYTHON3) setup.py sdist upload) + (cd python/ && $(PYTHON3) setup.py sdist && twine upload dist/ovs-$(VERSION).tar.gz) install-data-local: ovs-install-data-local UNINSTALL_LOCAL += ovs-uninstall-local -- 2.41.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
