PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
Auto-detect Python for raw-dylib linking without enumerating lib names Replace the hardcoded library name enumeration in the `extern_libpython!` macro with a build-time generated macro. `pyo3-ffi/build.rs` now detects the Python shared library name and writes a `pyo3_libpython_link!` macro to OUT_DIR (cargo) or target/generated/ (meson), which `extern_libpython!` invokes. This means any Python version or implementation — including future ones — is supported without source changes, and import libraries (.lib files) are no longer required on Windows. Add `pyo3-build-config/src/raw_dylib.rs` with extracted macro generation logic and 4 unit tests covering CPython/PyPy/GraalPy across platforms and versions, including unreleased versions.
wenming21:raw-dylib-auto-detect
8 hours ago
release: 0.30.1
release-0.30.1
24 hours ago
pyo3-introspection sdist: skip maturin license lookup (#6528) Should fix the 0.30 publication
main
1 day ago
Rename 6529.packaging.md to 6530.packaging.md
wenming21:raw-dylib-auto-detect
1 day ago
Auto-detect Python for raw-dylib linking without enumerating lib names Replace the hard-coded library name enumeration in extern_libpython! with a build-time generated macro. build.rs (or meson) detects the Python shared library name and writes a pyo3_libpython_link! macro definition to OUT_DIR (cargo) or target/generated/ (meson). extern_libpython! then calls this macro, so any Python version/implementation is supported without source changes. - pyo3-ffi/build.rs: generate macro file, remove lib_name whitelist - pyo3-ffi/src/impl_/macros.rs: extern_libpython! calls generated macro - pyo3-ffi/src/impl_/libpython_link_bridge.rs: dual-channel bridge (cargo OUT_DIR vs meson source tree) - pyo3-ffi/src/lib.rs: include bridge before macros module - Cargo.toml: replace pyo3_dll check-cfg with pyo3_meson_build - pyo3-ffi/meson.build: generate macro file + pyo3_meson_build cfg - noxfile.py: remove obsolete DLL name enumeration check in ffi-check - Architecture.md: update documentation
wenming21:raw-dylib-auto-detect
1 day ago
Auto-detect Python for raw-dylib linking without enumerating lib names Replace the hard-coded library name enumeration in extern_libpython! with a build-time generated macro. build.rs (or meson) detects the Python shared library name and writes a pyo3_libpython_link! macro definition to OUT_DIR (cargo) or target/generated/ (meson). extern_libpython! then calls this macro, so any Python version/implementation is supported without source changes. - pyo3-ffi/build.rs: generate macro file, remove lib_name whitelist - pyo3-ffi/src/impl_/macros.rs: extern_libpython! calls generated macro - pyo3-ffi/src/impl_/libpython_link_bridge.rs: dual-channel bridge (cargo OUT_DIR vs meson source tree) - pyo3-ffi/src/lib.rs: include bridge before macros module - Cargo.toml: replace pyo3_dll check-cfg with pyo3_meson_build - pyo3-ffi/meson.build: generate macro file + pyo3_meson_build cfg - noxfile.py: remove obsolete DLL name enumeration check in ffi-check - Architecture.md: update documentation
wenming21:raw-dylib-auto-detect
1 day ago
pyo3-introspection sdist: skip maturin license lookup Should fix the 0.30 publication
Tpt:tpt/license-file
1 day ago
ci: require `Cargo.lock` to be up to date during testing (#6522)
main
1 day ago
Latest Branches
CodSpeed Performance Gauge
0%
Auto-detect Python for raw-dylib linking without enumerating lib names
#6530
8 hours ago
3004f4c
wenming21:raw-dylib-auto-detect
CodSpeed Performance Gauge
0%
release: 0.30.1
#6523
24 hours ago
b2ec72e
release-0.30.1
CodSpeed Performance Gauge
0%
pyo3-introspection sdist: skip maturin license lookup
#6528
1 day ago
027f59b
Tpt:tpt/license-file
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs