Open befelix opened 2 months ago
Are you able to reproduce this on GitHub Actions, or is it some other CI setup?
Are you able to reproduce this on GitHub Actions, or is it some other CI setup?
I just tested it and it works on GH runners. I was running on non-public ones. It also works in my setup if I move the cache directory, so at this point my guess is some form of permission error in the cache directory (though it's still weird, since the cache works for packages that ship wheels). I'll let you know if I find out something more concrete - maybe it is something that uv
could check for.
I am also experiencing a similar issue. When I use rye add OmegaConf
when i activate uv on rye
, I encounter the same error.
Not sure if this is related, but also having issues in a private repo:
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: 'pip'
- name: Install Dependencies (Windows)
if: matrix.os == 'windows-latest'
run: |
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
uv pip install --system -r bin/requirements/requirements-dev-windows.txt
nvm I see https://github.com/actions/setup-python/issues/822
I have similar issues:
I now started to have individual cache folders for each github runner, and clean the cache at the beginning of the CI pipeline. That does not speed up the CI pipeline, but solves some of the issues:
[...]
DEBUG Found not-modified response for: https://nexus.myinfo.org:8443/repository/myit-pypi-group/packages/lxml/5.2.2/lxml-5.2.2-cp39-cp39-win_amd64.whl#sha256=610b5c77428a50269f38a534057444c249976433f40f53e3b47e68349cca1425
� No solution found when resolving dependencies:
\u2570\u2500\u25b6 Because there is no version of pyarrow==17.0.0 and you require
pyarrow==17.0.0, we can conclude that the requirements are
unsatisfiable.
init: exit 1 (2.41 seconds) C:\actions-runner-4\_work\my_utility\my_utility> uv pip install --verbose --index-url https://nexus.myinfo.org:8443/repository/my-pypi-group/simple --extra-index-url https://nexus.myinfo.org:8443/repository/myit-pypi-group/simple --native-tls -r C:\actions-runner-4\_work\my_utility\my_utility\requirements.txt -r C:\actions-runner-4\_work\my_utility\my_utility\requirements_test.txt pid=4676
init: FAIL code 1 (4.98 seconds)
evaluation failed :( (7.39 seconds)
I get an error when running
python -m uv pip install --verbose 'antlr4-python3-runtime==4.9.3'
on an Windows CI server. The error does not occur when installing with the--no-cache
flag. Nor is it reproducible on a local Windows machine.pip
installs it without issues.platform: Windows uv version: uv 0.2.9 (e9fc99e62 2024-06-06) python version: 3.11.8 command:
python -m uv pip install --verbose 'antlr4-python3-runtime==4.9.3'
Here's the log from CI, please let me know if you need additional information.