Skip to content
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

Support for Poetry v2 #14

Open
vdaguenet opened this issue Jan 6, 2025 · 4 comments
Open

Support for Poetry v2 #14

vdaguenet opened this issue Jan 6, 2025 · 4 comments

Comments

@vdaguenet
Copy link

Poetry 2.0.0 was released yesterday: https://github.com/python-poetry/poetry/releases/tag/2.0.0

Since then, our CI is broken because of incompatibility with poetry-bumpversion:

Because no versions of poetry-bumpversion match >0.3.2,<0.4.0
 and poetry-bumpversion (0.3.2) depends on poetry (>=1.2.0,<2.0.0), poetry-bumpversion (>=0.3.2,<0.4.0) requires poetry (>=1.2.0,<2.0.0).
So, because poetry-instance depends on both poetry (2.0.0) and poetry-bumpversion (^0.3.2), version solving failed.

We will enforce the use of Poetry version 1.8 for the time being. However, it would be helpful to know if there are plans to support Poetry version 2.

@leandrodamascena
Copy link

Hey @monim67, can you please fix this and release a new version? You just literally need to modify this line https://github.com/monim67/poetry-bumpversion/blob/main/pyproject.toml#L15 to allow Poetry version 1.20+.

I tested it locally and is working perfectly with Poetry v2.

Before:
poetry = "^1.2.0"

After:
poetry = ">=1.2.0"

Thanks

@monim67
Copy link
Owner

monim67 commented Jan 6, 2025

Thanks guys for bringing this to light, I will release a new version by EOD.

@leandrodamascena
Copy link

Thanks guys for bringing this to light, I will release a new version by EOD.

Thanks a lot for the prompt response @monim67! Please let me know if I can help with anything to make this new version available.

@monim67
Copy link
Owner

monim67 commented Jan 7, 2025

New version released 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants