Skip to content

Conversation

@BKPepe
Copy link
Member

@BKPepe BKPepe commented Dec 29, 2025

Release notes:
https://github.com/pyca/bcrypt/releases/tag/5.0.0

This should hopefully fix the buildbot failure:

  --- stderr
  error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
  = help: please check if an updated version of PyO3 is available. Current version: 0.21.2
  = help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
warning: build failed, waiting for other jobs to finish...
<string>:58: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.

    =============================DEBUG ASSISTANCE=============================
    If you are seeing a compilation error please try the following steps to
    successfully install bcrypt:
    1) Upgrade to the latest pip and try again. This will fix errors for most
       users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
    2) Ensure you have a recent Rust toolchain installed. bcrypt requires
       rustc >= 1.64.0. (1.63 may be used by setting the BCRYPT_ALLOW_RUST_163
       environment variable)
    
    Python: 3.13.9
    platform: Linux-6.1.0-26-amd64-x86_64-with-glibc2.31
    pip: 25.2
    setuptools: 80.9.0
    setuptools_rust: 1.12.0
    rustc: 1.90.0 (1159e78c4 2025-09-14) (built from a source tarball)
    =============================DEBUG ASSISTANCE=============================
    
error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/_bcrypt/Cargo.toml --target aarch64-unknown-linux-musl -v --features pyo3/extension-module --profile release --crate-type cdylib --` failed with code 101

Release notes:
https://github.com/pyca/bcrypt/releases/tag/5.0.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Copilot AI review requested due to automatic review settings December 29, 2025 12:32
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the python-bcrypt package from version 4.1.3 to 5.0.0 to resolve a buildbot failure caused by Python 3.13 incompatibility. The older version used PyO3 0.21.2 which only supported Python up to 3.12, and version 5.0.0 includes an updated PyO3 that supports Python 3.13.

Key Changes

  • Update PKG_VERSION from 4.1.3 to 5.0.0
  • Update PKG_HASH to match the SHA256 hash of the bcrypt 5.0.0 source tarball from PyPI

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BKPepe BKPepe merged commit b0670ac into openwrt:master Dec 29, 2025
17 of 18 checks passed
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

Successfully merging this pull request may close these issues.

1 participant