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 typeshed_primer workflow #493

Merged
merged 1 commit into from
Jun 8, 2024
Merged

Fix typeshed_primer workflow #493

merged 1 commit into from
Jun 8, 2024

Conversation

AlexWaygood
Copy link
Collaborator

@AlexWaygood AlexWaygood commented Jun 8, 2024

It's been broken since we switched the workflow to use uv, because uv doesn't (by default) reinstall an editable package if it sees that it's already installed with the "right version". (I personally find this pretty surprising behaviour for editable installs. It's already tracked in astral-sh/uv#2844.) That meant that we were just running the same version of flake8-pyi in the two runs, which meant that of course the diff between the two runs was always just 0 lines.

It's been broken since we switched the workflow to use `uv`, because `uv` doesn't (by default) reinstall an editable package if it sees that it's already installed with the "right version". (I personally find this pretty surprising behaviour for editable installs. It's already tracked in astral-sh/uv#2844.)
Copy link

github-actions bot commented Jun 8, 2024

This change has no effect on typeshed. 🤖🎉

@AlexWaygood AlexWaygood merged commit 87b2085 into main Jun 8, 2024
21 checks passed
@AlexWaygood AlexWaygood deleted the AlexWaygood-patch-2 branch June 8, 2024 16:02
@AlexWaygood
Copy link
Collaborator Author

It's been broken since we switched the workflow to use uv

Well, I suppose uv's behaviour must have changed at some point, since we got some typeshed_primer hits in e.g. #479. Anyway, explicitly passing --reinstall is more resilient.

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.

1 participant