Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.13 support: please edit Cargo.toml & regen Cargo.lock #1617

Open
0-wiz-0 opened this issue Oct 23, 2024 · 2 comments
Open

Python 3.13 support: please edit Cargo.toml & regen Cargo.lock #1617

0-wiz-0 opened this issue Oct 23, 2024 · 2 comments

Comments

@0-wiz-0
Copy link

0-wiz-0 commented Oct 23, 2024

When building 0.17.11 against Python 3.13, I see:

error: failed to run custom build command for `pyo3-ffi v0.21.2`

Caused by:
  process didn't exit successfully: `/scratch/www/syncstorage-rs/work/syncstorage-rs-0.17.11/target/release/build/pyo3-ffi-13327d7f8fd29cda/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=PYO3_CROSS
  cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
  cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
  cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
  cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG
  cargo:rerun-if-env-changed=PYO3_USE_ABI3_FORWARD_COMPATIBILITY

  --- 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...

Please update Cargo.lock so that a newer version of pyo3-ffi is pulled in that supports Python 3.13 (pyo3 0.22.0 introduced support for Python 3.13).

┆Issue is synchronized with this Jira Task

@pjenvey
Copy link
Member

pjenvey commented Oct 23, 2024

We pin to pyo3 0.21 in Cargo.toml so this will require bumping the version there

@0-wiz-0 0-wiz-0 changed the title Python 3.13 support: please regen Cargo.lock Python 3.13 support: please edit Cargo.toml & regen Cargo.lock Oct 23, 2024
@jrconlin
Copy link
Member

I may have missed this when I did the last crate update sweep. Sorry. Give me a bit to get this built out.

jrconlin added a commit that referenced this issue Oct 24, 2024
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

No branches or pull requests

3 participants