-
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
Using a dynamic version causes the uv-lock
pre-commit CI to fail on GitHub but pass locally.
#10167
Comments
uv-lock
pre-commit CI to fail on GitHub but pass locally.
I think you're looking for #7533. |
I tried downgrading the version to 0.4.x as suggested in #7533, but it didn't help. Can this issue be reopened? |
Apologies, you're right that it's not a duplicate, but I don't know that there's anything for us to do here. It looks like the request client can't connect to |
I am not running it on a GitHub runner, but on the pre-commit CI server. And as long as I switch to the static version, And this issue has been persistent, it's not a temporary network problem with the server. |
It makes sense that it wouldn't fail when you had a static version, because there's no need to build your project. But now you have a dynamic version, so you're requiring uv to install your build dependencies and build your project. That in turn requires downloading hatchling. I just don't know that there's anything we can do here if DNS is failing on the machine? It sounds like pre-commit.ci doesn't allow network access on the free tier: pre-commit-ci/issues#80 / pre-commit-ci/issues#47 (comment). |
After some research, I realized that what I really want is for |
Using a dynamic version causes the
uv-lock
pre-commit CI to fail on GitHub but pass locally.Log:
pyproject.toml:
.pre-commit-config.yaml:
Repo: https://github.com/vivodi/myproject
The text was updated successfully, but these errors were encountered: