Skip to content

Fix broken stubsabot logic in find_first_release_with_py_typed#9760

Merged
AlexWaygood merged 3 commits intomainfrom
stubsabroken
Feb 19, 2023
Merged

Fix broken stubsabot logic in find_first_release_with_py_typed#9760
AlexWaygood merged 3 commits intomainfrom
stubsabroken

Conversation

@AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Feb 19, 2023

Fixes #9759

I tested this locally: with this patch, DateTimeRange is correctly marked as obsolete if I run it locally. Without it, stubsabot just tries to bump DateTimeRange to the latest version, without noticing that DateTimeRange added a py.typed file in the latest version, released in the last 24 hours.

@AlexWaygood AlexWaygood requested a review from Akuli February 19, 2023 14:18
@AlexWaygood AlexWaygood merged commit 70c027e into main Feb 19, 2023
@AlexWaygood AlexWaygood deleted the stubsabroken branch February 19, 2023 14:22
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

Successfully merging this pull request may close these issues.

stubsabot: find_first_release_with_py_typed() doesn't work when only the latest release has py.typed

3 participants