bcrypt icon indicating copy to clipboard operation
bcrypt copied to clipboard

No standard CPython 3.13 manylinux wheel (cp313-cp313-manylinux2014_x86_64.whl) published for bcrypt 5.0.0

Open naveen1583 opened this issue 4 months ago • 5 comments

The PyPI listing for bcrypt 5.0.0 only provides wheels for free-threaded Python 3.13 (cp313-cp313t-manylinux2014_x86_64.whl), PyPy, and other architectures, but not for standard CPython 3.13 on Linux (cp313-cp313-manylinux2014_x86_64.whl).

This means that pip install in standard Python 3.13 environments falls back to building from source distribution, which is problematic for automated mirrors and environments relying on binary wheels.

Could you clarify if this is intentional, or if there are plans to publish cp313-cp313-manylinux2014_x86_64.whl for bcrypt to PyPI?

Environment:

CPython 3.13 (not free-threaded)

Amazon Linux 2023 x86_64

pip 24.2+

Steps to reproduce:

python3.13 -m pip install bcrypt

pip will source build (sdist) due to lack of a compatible prebuilt wheel.

See: https://pypi.org/project/bcrypt/5.0.0/#files

Thank you for your work!

naveen1583 avatar Oct 09 '25 03:10 naveen1583

We build abi3 wheels on this project so the bcrypt-5.0.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl wheel works on Python 3.8 and above. We also build one for cp39+ that contains an additional performance optimization unavailable in 3.8. If you’re not getting a wheel something else is going on.

reaperhulk avatar Oct 09 '25 04:10 reaperhulk

I am using paramiko on one of my projects (which needs brcypt to work) and I am getting problems when installing my project through homebrew. The problem is with brcypt and is as follows:

  × Building wheel for bcrypt (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /opt/homebrew/Cellar/cronboard/0.1.0/libexec/bin/python /opt/homebrew/Cellar/[email protected]/3.13.8/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /private/tmp/tmpc31jezf2
  cwd: /private/tmp/cronboard--bcrypt-20251010-31380-ms08f2/bcrypt-5.0.0
  Building wheel for bcrypt (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for bcrypt
Failed to build bcrypt
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> bcrypt

Ive this on my homebrew formula, so it should work:

  resource 'bcrypt' do
    url 'https://files.pythonhosted.org/packages/d4/36/3329e2518d70ad8e2e5817d5a4cac6bba05a47767ec416c7d020a965f408/bcrypt-5.0.0.tar.gz'
    sha256 'f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd'
  end

What is going on?

PS: I am using Python 3.13

antoniorodr avatar Oct 10 '25 19:10 antoniorodr

That issue is entirely separate from the issue originally filed. You will always compile from source when building homebrew formula in that fashion, and you haven’t showed enough of the error message to actually help diagnose the issue past that. However, it’s possible that you need to install rust since this project requires a rust compiler when compiling from source.

reaperhulk avatar Oct 10 '25 19:10 reaperhulk

That issue is entirely separate from the issue originally filed. You will always compile from source when building homebrew formula in that fashion, and you haven’t showed enough of the error message to actually help diagnose the issue past that. However, it’s possible that you need to install rust since this project requires a rust compiler when compiling from source.

Thanks for the reply.

Rust is installed and that's all the error I get, so I don't know.

I tried everything I can think of.

antoniorodr avatar Oct 10 '25 19:10 antoniorodr

Fixed it adding rust to the formula

antoniorodr avatar Oct 10 '25 22:10 antoniorodr