Open luisaforozco opened 3 months ago
bump-my-version
fails when called in the github action, see for example here.
However, I can execute it locally, so I do not understand this problem.
The reason for using python 3.11.1 instead of python 3.11 is because of other dependencies like lie_learn?
The bump action has been fixed.
Still, the publication does not work due to the outdated version of lie_learn
on pypi.
What about using python 3.10 for the publish action?
The problem is this
ERROR HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Can't have direct dependency: lie-learn@
git+https://github.com/AMLab-Amsterdam/lie_learn. See
https://packaging.python.org/specifications/core-metadata for more
information.
which is caused by requiring lie-learn@ git+https://github.com/AMLab-Amsterdam/lie_learn
(pypi does not like git versions).
If I simply require the pypi version lie_learn
, then speckcn2
could be uploaded on pypi, but it would not build.
the dependency problem is fixed in #35
Let's use
bump_my_version
and setup the CI/CD to automate the bumping of the version every time we make a release. Right now insetup.py
there is:That is gotten from the action
pypi_release.yaml
assteps.tag.outputs.TAG_NAME
.