-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Rolling release on pypi #327
Comments
Not sure such hammering is the best. First problem I see is that we have to lose a consecutive numbering, or we have to put an auto-incremental one. But let's see other more experienced with pypi what thinks. |
Thanks Pedro, for your answer. In fact, not sure it's good to make rolling release, and indeed, perhaps that generates problems...
@sbidoul ? ;-) |
To publish on PyPI on each push to the master branch, you'd need to configure setuptools_scm to produce a version number that PyPI accepts. Currently it's But I'd say it's fine for openupgrade to require a fresh version of openupgradelib (installed from git, thus) and do a manual release to PyPI from time to time for faster installation when openupgradelib is used as a dependency of regular addons. |
Makes sense, indeed. Thanks for your point of view. |
I was about to open the same issue about release on pypi and found this open ticket.
and it goes against the policy of "get all from pypi" that some of you promote ! Since april 2024, openupgrade doesn't work when you use the openupgradelib from pypi and the last release on pypi is dated february 2024. Why don't we have a system similar to the OCA addons where "ocabot merge minor/major" would bump the version number AND auto-release on pypi ? I guess it would make things easy for maintainers and avoid the problem of "openupgradelib is too old on pypi for openupgrade". |
I just created 3.7.0. It literally takes 30 seconds here: https://github.com/OCA/openupgradelib/releases/new. |
@sbidoul Is that picked up by Pypi automatically? |
@StefanRijnhart Yes there is a publishing workflow that triggers on tags (When I have a moment, I'll modernize it to use the PyPI trusted publisher workflow) |
Cool ! Viva openupgradelib 3.7.0 from pypi ! I just switched to it... while I'm in the middle of a big openupgrade migration :) :) |
@sbidoul Excellent, thanks for clarifying! |
@sbidoul Thanks for your work on this! |
@sbidoul thanks ! |
Hi all,
pip install git+https://github.com/OCA/openupgradelib.git@master#egg=openupgradelib
)What about to push on pypi on each new commit ?
AFAIK, it requires to change this github workflow : https://github.com/OCA/openupgradelib/blob/master/.github/workflows/publish.yml
The text was updated successfully, but these errors were encountered: