Open WhiteSymmetry opened 1 month ago
What am I supposed to make of this? I don't know what you're trying to do, on what platform, using what commands. Your installer should be able to use argon2-cffi-bindings's wheels that work fine on all platforms that I have access to. Why it doesn't is not apparent from what you shared.
Thank you for the update – so it's Conda and you're attempting a free-threaded build?
It looks like those aren't supported by CFFI yet, so I don't think I can do anything about it for now: https://github.com/python-cffi/cffi/issues/126
pip install cffi Collecting cffi Using cached cffi-1.17.1-cp313-cp313t-linux_x86_64.whl Requirement already satisfied: pycparser in ./.local/lib/python3.13t/site-packages (from cffi) (2.22) Installing collected packages: cffi Successfully installed cffi-1.17.1
or
python3 -m pip install cffi Defaulting to user installation because normal site-packages is not writeable Collecting cffi Using cached cffi-1.17.1-cp313-cp313t-linux_x86_64.whl Collecting pycparser (from cffi) Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes) Using cached pycparser-2.22-py3-none-any.whl (117 kB) Installing collected packages: pycparser, cffi Successfully installed cffi-1.17.1 pycparser-2.22
linux-64/python-3.13.0rc2-h6355ac2_1_cp313t.conda In this version (Threading), it gives an installation error in this version.
linux-64/python-3.13.0rc2-h9ebbce0_101_cp313.conda There is no problem with this version.
They worked there when I copied the modules I installed here to the other side.
python -m pip install argon2-cffi-bindings Collecting argon2-cffi-bindings Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB) Requirement already satisfied: cffi>=1.0.1 in ./miniconda3/envs/a13/lib/python3.13/site-packages (from argon2-cffi-bindings) (1.17.1) Requirement already satisfied: pycparser in ./.local/lib/python3.13/site-packages (from cffi>=1.0.1->argon2-cffi-bindings) (2.22) Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB) Installing collected packages: argon2-cffi-bindings Successfully installed argon2-cffi-bindings-21.2.0
@minrk has a patch that builds:
https://github.com/hynek/argon2-cffi-bindings/compare/main...minrk:argon2-cffi-bindings:313t
I have been using this branch locally, but I'm not clear how I found it.
The downside is that with 313+jit that branch hangs in build.
Successfully built jupyterlab Failed to build argon2-cffi-bindings ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (argon2-cffi-bindings)
OS: Ubuntu 24.10 (Oracular Oriole) gcc --version gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0 Miniconda Commands (mamba, conda, pip) pip install jupyterlab python -Im pip install --no-binary=argon2-cffi-bindings argon2-cffi-binding python -Im pip install argon2-cffi-bindings
python -m pip install argon2-cffi-bindings Collecting argon2-cffi-bindings Using cached argon2-cffi-bindings-21.2.0.tar.gz (1.8 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting cffi>=1.0.1 (from argon2-cffi-bindings) Using cached cffi-1.17.1-cp313-cp313t-linux_x86_64.whl Collecting pycparser (from cffi>=1.0.1->argon2-cffi-bindings) Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes) Using cached pycparser-2.22-py3-none-any.whl (117 kB) Building wheels for collected packages: argon2-cffi-bindings Building wheel for argon2-cffi-bindings (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for argon2-cffi-bindings (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [59 lines of output]