You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing quadax in windows 10 with pip gives this error
ERROR: Could not install packages due to an OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\user\\<project_path>\\.venv\\*
while installing with uv gives this other error
Resolved 51 packages in 1ms
× Failed to download `quadax==0.2.5`
├─▶ Failed to extract archive
╰─▶ failed to create directory `C:\Users\user\AppData\Local\uv\cache\.tmpK76oK4\quadax-0.2.5.data/data/*`: The filename, directory name, or volume label syntax is incorrect. (os error 123)
help: `quadax` (v0.2.5) was included because `dummy` (v0.1.0) depends on `quadax`
The problem seems to affect windows because it doesn't support files with asterisks. Inspecting the file quadax-0.2.5-py3-none.whl reveals that it contains data files
Also there may be some issues with data_files and asterisks on windows, see pypa/setuptools#1681.
An easy fix may be to just to remove the section options.data_files. The file requirements.txt typically doesn't need to be included inside the package, however it's not 100% clear to me how quadax is packaged.
In particular, this comment indicates a possible reason why data_files was used at some point but setuptools-declarative-requirements doesn't seem to be used anymore
This discussion is a continuation to astral-sh/uv#11099
Installing quadax in windows 10 with pip gives this error
while installing with uv gives this other error
The problem seems to affect windows because it doesn't support files with asterisks. Inspecting the file
quadax-0.2.5-py3-none.whl
reveals that it contains data fileswhile
quadax-0.2.5.dist-info/RECORD
refers to them in the following mannerTaking a look at the
setup.cfg
configuration of this project shows that it usesquadax/setup.cfg
Lines 82 to 84 in 6745cb9
This configuration is similar to the one proposed by setuptools, except that it's using the deprecated option
data_files
instead ofpackage_data
https://setuptools.pypa.io/en/latest/userguide/datafiles.html
Also there may be some issues with
data_files
and asterisks on windows, see pypa/setuptools#1681.An easy fix may be to just to remove the section
options.data_files
. The filerequirements.txt
typically doesn't need to be included inside the package, however it's not 100% clear to me how quadax is packaged.In particular, this comment indicates a possible reason why
data_files
was used at some point but setuptools-declarative-requirements doesn't seem to be used anymorequadax/setup.cfg
Lines 86 to 91 in 6745cb9
EDIT: I realized that quadax is using the deprecated
data_files
option instead ofpackage_data
. This is quite likely the root of the problem.The text was updated successfully, but these errors were encountered: