-
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
Dependabot update to single (poetry-managed) package unexpectedly removes packages from lockfile #6226
Comments
Apologies for the lack of minimal reproduction example. We also saw this in matrix-org/synapse#14561, matrix-org/synapse#14562, matrix-org/synapse#14563, and matrix-org/synapse#14564.
Edit: poetry pins the version of poetry-core that it depends on; #6226 (comment) has a much more plausible hypothesis. |
Seeing the same issue in multiple PR's/repos, common denominator seems to be that all |
it's speculation because I don't know how dependabot works, but I'd be suspicious of #6191 what you are seeing seems to be consistent with dependabot-poetry solving as if for a python 3.11 project, regardless of what is actually in your pyproject.toml |
Same issue here: mdn/yari@13a4352 |
@jeffwidman Would you have a chance to look into whether this might be a regression caused by #6191, as speculated above? 🙏 |
👋 Sorry for the bug... clearly affecting a lot of folks. Myself or @pavera or someone else on the team will try to dig into this tomorrow, although as y'all know could take a few days to fix... won't know til we've looked into it. |
@dimbleby the issue is almost certainly #6191 I'm working on a better fix there. From the 2 repos linked above both specify a |
I've now deployed the fix for this issue. I'm going to close the issue for now, but if anyone sees that this is still occurring please re-open. |
We've just asked dependabot to recreate the PR I reported in the issue and the diff looks good to me. Just wanted to drop a quick note to confirm all looks well. Many thanks for the quick response! |
Is there an existing issue for this?
Package ecosystem
Python (poetry)
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
poetry.lock --- probably easiest to see the PR diff (linked below)
dependabot.yml content
See https://github.com/matrix-org/synapse/blob/develop/.github/dependabot.yml
Updated dependency
types-psycopg2, from 2.9.21.1 to 2.9.21.2
What you expected to see, versus what you actually saw
Expected:
poetry.lock
forpackages other thantypes-psycopg2
types-psycopg2
Actual:
importlib-metadata
,importlib-resources
,pkgutil-resolve-name
,tomli
,typed-ast
,typing-extensions
removed from[package.dependencies]
sectionsimportlib-resources
,pkgutil_resolve_name
andtyped-ast
no longer included in the locked environmentNative package manager behavior
Images of the diff or a link to the PR, issue, or logs
matrix-org/synapse#14558
Rich diff of the delta that dependabot proposed:
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: