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
Apparently if anyone is trying to install regex library using uv, they might get a broken setup:
> uv pip install regex==2024.9.11
> python3 -c "import regex._regex as _regex"
ModuleNotFoundError: No module named 'regex._regex'> uv pip uninstall regex
> pip install regex==2024.9.11
> python3 -c "import regex._regex as _regex"
success
While installation succeeds, it does not install it properly, thus breaking it usage.
I suspect that this might have something to do with the archaic use of setup.py, which would be sorted by adopting https://peps.python.org/pep-0517/
Context: MacOS arm64 machine, python 3.12. I tried the same on Linux (ubuntu) arm64 with python 3.12 and I did not get the same error, thus it might be specific to macos.
Test results on MacoS arm64 with pythons installed using asdf:
The text was updated successfully, but these errors were encountered:
ssbarnea
changed the title
regex packaging break uv, likely due to lack of PEP-517
macos: regex packaging break uv, likely due to lack of PEP-517
Nov 6, 2024
ssbarnea
changed the title
macos: regex packaging break uv, likely due to lack of PEP-517
macos: incomplete regex install when using uv
Nov 6, 2024
Apparently if anyone is trying to install regex library using uv, they might get a broken setup:
While installation succeeds, it does not install it properly, thus breaking it usage.
I suspect that this might have something to do with the archaic use of
setup.py
, which would be sorted by adopting https://peps.python.org/pep-0517/Context: MacOS arm64 machine, python 3.12. I tried the same on Linux (ubuntu) arm64 with python 3.12 and I did not get the same error, thus it might be specific to macos.
Test results on MacoS arm64 with pythons installed using asdf:
Seem related to #413
The text was updated successfully, but these errors were encountered: