You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workflows with python-semantic-release broke on 03.05.22 #442
Reacted by Martin Skow Røed, Jerry Ng, Mathew Topper, SoundsSerious, Jan Kowalleck, Valentin Berlier, Gabriel Soudry, Setu Shah, Bruno Alla and Alan Tse
I've pinned PSR to be <7.29 as well, but unfortunately this is also affected by the recent issue with packaging (#468). People in this thread were correct, it's a version parsing issue when one of the commits contain a version bump.
For some reason @browniebroke's fix didn't work for me. I had to branch off the 7.28.1 release and manually add the packaging fix in. In case it's useful for anyone else my fork can be used in a github action with uses: chanind/python-semantic-release@7-28-1-packaging-fix
Activity
martolini commentedon May 3, 2022
Experiencing the same issue, here.
ngshiheng commentedon May 5, 2022
I dived a little bit deeper into this issue, and here's what I found:
get_current_release_version_by_commitsseems to be parsing version incorrectly from commit messages.H0R5E commentedon May 17, 2022
EDIT: Removed pointless comment
I've pinned semantic release to version 7.28.1 as a workaround:
SoundsSerious commentedon May 18, 2022
same here, not sure what to do about it besides downgrade
SoundsSerious commentedon May 18, 2022
I can confirm @H0R5E's downgrade works
sbrugman commentedon May 27, 2022
Same issue here.
python-semantic-releasepicked up the version of another package that was linked in one of the commits.ci(release): workaround python-semantic-release
ci: pinned semantic release to v7.28.1
build(deps): set coverage as a dev dependency (#18)
ajite commentedon Jun 2, 2022
Same issue here. The downgrade worked.
mrlubos commentedon Jun 7, 2022
+1
fix(ci): pin `python-semantic-release` version
ci: pin psr to v7.28.1
github-actions commentedon Jun 29, 2022
This bug report has been labelled as help wanted since there has been no activity in the last 3 weeks. It will not be closed.
ci: pin psr to v7.28.1
Pin semantic-release to 7.28.1
browniebroke commentedon Jul 14, 2022
I've pinned PSR to be <7.29 as well, but unfortunately this is also affected by the recent issue with
packaging(#468). People in this thread were correct, it's a version parsing issue when one of the commits contain a version bump.I think I fixed it in #472Just tested it on one of my projects and it worked: https://github.com/browniebroke/deezer-oauth-cli/runs/7349125319?check_suite_focus=true#step%3A4%3A235=EDIT: See below message. Although my fix worked in simple cases, it didn't work with a more recent version of PSR, and @eifinger fixed it.
ajite commentedon Jul 19, 2022
@browniebroke thanks. I tried on it on one of my repo and it works.
eifinger commentedon Jul 21, 2022
I opened #476 to add the
commit_subjectfunctionality to @browniebroke work. I was using this feature and missing it.You can use my action:
I tested it on one of my projects:
https://github.com/eifinger/here_routing/runs/7449031696?check_suite_focus=true
chanind commentedon Jul 23, 2022
For some reason @browniebroke's fix didn't work for me. I had to branch off the 7.28.1 release and manually add the
packagingfix in. In case it's useful for anyone else my fork can be used in a github action withuses: chanind/python-semantic-release@7-28-1-packaging-fixeifinger commentedon Jul 23, 2022
@chanind what didn't work for you with my fix?
chanind commentedon Jul 23, 2022
I didn't try your version, I just tried
browniebroke/python-semantic-release@fix/version-parsing-commit. You can see the output here, I'm not sure why it didn't work but it had the same issue with incorrectly parsing version from commits: https://github.com/chanind/fuzzy-reasoner/runs/7480887304?check_suite_focus=truebrowniebroke commentedon Jul 24, 2022
Looks like it worked with @eifinger version: https://github.com/chanind/fuzzy-reasoner/runs/7480950131?check_suite_focus=true#step%3A4%3A244=
I'll close my PR and edit my comment to avoid confusion
chanind commentedon Jul 24, 2022
I didn't try the eifinger version - that link is using chanind/python-semantic-release@7-28-1-packaging-fix.