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

Windows - installing wheel fails with Unable to extract filename from URL #1676

Closed
gaborbernat opened this issue Feb 19, 2024 · 1 comment
Closed

Comments

@gaborbernat
Copy link
Contributor

When trying to add Windows to the tox-uv CI in tox-dev/tox-uv#19, I noticed I get this failure:

py312: 4783 W install_package> C:\hostedtoolcache\windows\Python\3.12.2\x64\Scripts\uv.exe pip install --reinstall --no-deps tox_uv@D:\a\tox-uv\tox-uv\.tox\.tmp\package\1\tox_uv-0.1.dev1+g5039064-py3-none-any.whl -v [tox\tox_env\api.py:427]
 uv::requirements::from_source source=tox_uv@D:\a\tox-uv\tox-uv\.tox\.tmp\package\1\tox_uv-0.1.dev1+g5039064-py3-none-any.whl
    0.002440s DEBUG uv_interpreter::virtual_env Found a virtualenv through VIRTUAL_ENV at: D:\a\tox-uv\tox-uv\.tox\py312\.venv
    0.002773s DEBUG uv_interpreter::interpreter Using cached markers for: \\?\D:\a\tox-uv\tox-uv\.tox\py312\.venv\Scripts\python.exe
    0.002791s DEBUG uv::commands::pip_install Using Python 3.12.2 environment at D:\a\tox-uv\tox-uv\.tox\py312\.venv\Scripts\python.exe
 uv_client::flat_index::from_entries 
 uv_resolver::resolver::solve 
      0.026058s   0ms DEBUG uv_resolver::resolver Solving with target Python version 3.12.2
   uv_resolver::resolver::choose_version package=root
   uv_resolver::resolver::get_dependencies package=root, version=0a0.dev0
        0.026164s   0ms DEBUG uv_resolver::resolver Adding direct dependency: tox-uv*
error: Unable to extract filename from URL: d:\a\tox-uv\tox-uv\.tox\.tmp\package\1\tox_uv-0.1.dev1+g5039064-py3-none-any.whl
py312: 4829 C exit 2 (0.05 seconds) D:\a\tox-uv\tox-uv> C:\hostedtoolcache\windows\Python\3.12.2\x64\Scripts\uv.exe pip install --reinstall --no-deps tox_uv@D:\a\tox-uv\tox-uv\.tox\.tmp\package\1\tox_uv-0.1.dev1+g5039064-py3-none-any.whl -v pid=1848 [tox\execute\api.py:280]
@gaborbernat
Copy link
Contributor Author

Duplicate of #1539

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

1 participant