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

setup-uv 5 no longer works on pyproject.toml only projects #202

Closed
nijel opened this issue Dec 20, 2024 · 3 comments
Closed

setup-uv 5 no longer works on pyproject.toml only projects #202

nijel opened this issue Dec 20, 2024 · 3 comments

Comments

@nijel
Copy link

nijel commented Dec 20, 2024

Due to the default dependency glob, the action fails for me after upgrading to v5 on repo whihc has none of these files:

Searching files using cache dependency glob: **/uv.lock,**/requirements*.txt
No matches found for glob

The repo has dependencies specified in pyproject.toml and doesn't use a lock file. Is it expected to need dependency glob specified in that case, or should it work out of the box without that?

This is job log: https://github.com/WeblateOrg/wlc/actions/runs/12429925585/job/34704342361?pr=708

@eifinger
Copy link
Collaborator

This was an oversight in v5.0.0 and has been fixed in v5.0.1.

@nijel
Copy link
Author

nijel commented Dec 20, 2024

I see it will warn after #200 instead of error. But still, shouldn't pyproject.toml be included in the default dependency glob?

@nijel
Copy link
Author

nijel commented Dec 20, 2024

Okay, I see this was already rejected at #199.

@nijel nijel closed this as completed Dec 20, 2024
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

No branches or pull requests

2 participants