-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 rangeStrategy=update-lockfile for poetry.lock #7358
Comments
Hiya, this should reproduce it, the pyproject.toml is "in date" but the lockfile is stale https://github.com/shughes-uk/renovate-repro |
Note for future: |
🤔 interesting idea, can work. Did you elaborate existing poetry commands? |
Haven't looked yet. I prefer to use a manager's commands whenever possible though |
This ticket might also contain some useful info python-poetry/poetry#1614 |
That doesn't sound like the right command because what we want is to keep the range in pyproject.toml the same and won't it get changed by that command? |
its not the perfect command but it would help you do this
|
Checked the poetry issue above and saw, currently there is no command to do a minimal lockfile Update. The suggested workaround there is to add and remove a dummy package. |
Maybe we should create our own dummy package for this purpose if it's the best way. |
Seems there will soon be a new |
🚀 python-poetry/poetry#3034 is merged and released since https://github.com/python-poetry/poetry/releases/tag/1.1.1 |
This is on the roadmap for poetry and seems to be exactly what I want |
Forked to https://github.com/renovate-reproductions/7358 I think we still need to work out which exact command(s) should be run |
poetry update seems to be the command if you want to just update specific packages in the lockfile (within version constraints) |
Is this still an open issue? To quote from https://docs.renovatebot.com/configuration-options/#rangestrategy
So the documentation explicitly says this is supported! |
What would you like Renovate to be able to do?
Perform lockfile-only updates for Poetry
Did you already have any implementation ideas?
No. We'd need to work out if there's a Poetry command that lets us update a locked dependency version without updating all other dependencies unnecessarily.
Are there any workarounds or alternative ideas you've tried to avoid needing this feature?
Pinning package versions, but that's undesirable for libraries
Is this a feature you'd be interested in implementing yourself?
Probably not
The text was updated successfully, but these errors were encountered: