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 binding built failed pyo3 doesn't support 3.13 #4268

Closed
Xuanwo opened this issue Feb 26, 2024 · 2 comments
Closed

Python binding built failed pyo3 doesn't support 3.13 #4268

Xuanwo opened this issue Feb 26, 2024 · 2 comments

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Feb 26, 2024

https://github.com/apache/opendal/actions/runs/8046691154/job/21974432768

error: failed to run custom build command for `pyo3-ffi v0.20.3`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `/home/runner/work/opendal/opendal/bindings/python/target/release/build/pyo3-ffi-6ebafda6e94a0e79/build-script-build` (exit status: 1)
  --- stdout
  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.20.3
  = 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...
💥 maturin failed
  Caused by: Failed to build a native library through cargo
  Caused by: Cargo build finished with "exit status: 101": `env -u CARGO CARGO_ENCODED_RUSTFLAGS="-C\u{1f}force-frame-pointers=yes\u{1f}-C\u{1f}debuginfo=1" PYO3_CONFIG_FILE="/home/runner/work/opendal/opendal/bindings/python/target/maturin/pyo3-config-aarch64-unknown-linux-gnu-3.13.txt" "cargo" "rustc" "--features" "pyo3/extension-module,services-all" "--target" "aarch64-unknown-linux-gnu" "--message-format" "json-render-diagnostics" "--manifest-path" "/home/runner/work/opendal/opendal/bindings/python/Cargo.toml" "--release" "--lib"`
Error: The process '/usr/bin/docker' failed with exit code 1
Error: The process '/usr/bin/docker' failed with exit code 1
    at ExecState._setResult (/home/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:1702:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:1685:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:1579:27)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
@Xuanwo
Copy link
Member Author

Xuanwo commented May 17, 2024

Waiting for PyO3/pyo3#4038

@Xuanwo
Copy link
Member Author

Xuanwo commented Nov 14, 2024

Has been fixed.

@Xuanwo Xuanwo closed this as completed Nov 14, 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

1 participant