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

Fix yanked library problems in Poetry not detected when lockfile is present #7832

Merged
merged 2 commits into from
Aug 18, 2023

Conversation

deivid-rodriguez
Copy link
Contributor

The tests updated in this PR were using a legacy pyproject.lock file, which is currently ignored by poetry 1.5. So the tests were unintentionally exercising the no-lockfile case and Dependabot was not behaving properly for the lockfile case.

This PR only fixes this bug but I will follow up with another PR to completely remove code dealing with pyproject.lock files.

@deivid-rodriguez deivid-rodriguez requested a review from a team as a code owner August 17, 2023 19:46
@deivid-rodriguez deivid-rodriguez changed the title Fix yanked library problems not detected when lockfile is present Fix yanked library problems in Poetry not detected when lockfile is present Aug 17, 2023
@jeffwidman jeffwidman force-pushed the deivid-rodriguez/poetry-yanked branch from 61cab10 to b3761d0 Compare August 18, 2023 00:36
@jeffwidman
Copy link
Member

The tests updated in this PR were using a legacy pyproject.lock file, which is currently ignored by poetry 1.5

I trust ya, but when I tried to verify I couldn't find a commit/PR removing support for this... is this something that landed in 1.5 or has it been true for a while and we just didn't catch it when we updated poetry?

If you have a reference close at hand be great to include it, if not, no worries, I gave up after 5 mins of spelunking and decided it wasn't worth digging further.

@jeffwidman jeffwidman enabled auto-merge August 18, 2023 00:43
@jeffwidman jeffwidman merged commit 1dfd94e into main Aug 18, 2023
@jeffwidman jeffwidman deleted the deivid-rodriguez/poetry-yanked branch August 18, 2023 01:01
@deivid-rodriguez
Copy link
Contributor Author

Same as #7833 (comment).

I didn't really check poetry upstream at all, just observed the current behavior of Poetry 1.5.1 which is the only version we use at the moment.

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

Successfully merging this pull request may close these issues.

3 participants