-
Notifications
You must be signed in to change notification settings - Fork 1k
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 updating Poetry pyproject.toml, not just poetry.lock? #8603
Comments
The docs don't even mention the capability to make updates to |
This will be solved if python-poetry/poetry-core#708 is merged, which makes poetry PEP 621 Compliant |
This dependency has been merged in - is this ticket completed or just something that can be actively worked on now*? |
While python-poetry/poetry-core#708 has indeed been merged, it hasn't been released to public yet (will come as a new |
Is there an existing issue for this?
Package ecosystem
poetry
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
/pyproject.toml
,/poetry.lock
dependabot.yml content
Default configuration (no dependabot.yml)
Updated dependency
No response
What you expected to see, versus what you actually saw
Given that the documentation specifies that the default
versioning-strategy
for the Python ecosystem isauto
, I'd expect Dependabot PRs to by default updatepyproject.toml
as per either theincrease
orwiden
strategies.Instead, only the
poetry.lock
is updated by Dependabot. This is of very limited usefulness sincepoetry.lock
only influences what gets installed when working directly in the repository, and has no impact on the dependencies that are specified when packaging and distributing our code via PyPI. As a result, we almost always have to manually "fix up" Dependabot's pull requests (usually by pulling down the branch and manually runningpoetry add <dependency>~<new-version>
) to include appropriatepyproject.toml
updates in order to actually affect the packaging of our project.I'm guessing that this may be because Dependabot states support for PEP 621 compliant
pyproject.toml
files, and Poetry'spyproject.toml
is not currently PEP 621 compliant. But as an end user of Dependabot, it would be useful to have this variant file format supported as well.Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: