From c72b9452ff9b5edfbc75e238e289161ada7f1836 Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Fri, 13 Jun 2025 09:54:02 -0500 Subject: [PATCH] chore: update README_processing_engine.md for latest versions --- README_processing_engine.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README_processing_engine.md b/README_processing_engine.md index f7bb617d17..230ac9a2c2 100644 --- a/README_processing_engine.md +++ b/README_processing_engine.md @@ -104,12 +104,12 @@ At a high level, the build process for Official builds consists of: ``` implementation=CPython - version=3.11 + version=3.13 shared=true abi3=false - lib_name=python3.11 + lib_name=python3.13 lib_dir=/path/to/python-standalone/python/lib - executable=/path/to/python-standalone/python/bin/python3.11 + executable=/path/to/python-standalone/python/bin/python3.13 pointer_width=64 build_flags= suppress_build_script_link_lines=false @@ -191,18 +191,18 @@ Local development with python-build-standalone currently consists of: 1. download python-build-standalone and unpack it somewhere * get from https://github.com/astral-sh/python-build-standalone/releases - * based on your host OS, choose one of `aarch64-apple-darwin-install_only_stripped.tar.gz`, `aarch64-unknown-linux-gnu-install_only_stripped.tar.gz`, `x86_64-pc-windows-msvc-shared-install_only_stripped.tar.gz`, `x86_64-unknown-linux-gnu-install_only_stripped.tar.gz` -2. create `pyo3_config_file.txt` to match the unpacked dir and downloaded python version. Eg, if downloaded and unpacked a 3.11.x version to `/tmp/python`: + * based on your host OS, choose one of `aarch64-apple-darwin-install_only_stripped.tar.gz`, `aarch64-unknown-linux-gnu-install_only_stripped.tar.gz`, `x86_64-pc-windows-msvc-install_only_stripped.tar.gz`, `x86_64-unknown-linux-gnu-install_only_stripped.tar.gz` +2. create `pyo3_config_file.txt` to match the unpacked dir and downloaded python version. Eg, if downloaded and unpacked a 3.13.x version to `/tmp/python`: ``` $ cat ./pyo3_config_file.txt implementation=CPython - version=3.11 + version=3.13 shared=true abi3=false - lib_name=python3.11 + lib_name=python3.13 lib_dir=/tmp/python/lib - executable=/tmp/python/bin/python3.11 + executable=/tmp/python/bin/python3.13 pointer_width=64 build_flags= suppress_build_script_link_lines=false @@ -222,7 +222,7 @@ Local development with python-build-standalone currently consists of: $ patchelf --set-rpath '$ORIGIN/python/lib' ./target//influxdb3 # osx (be sure to match the libpython version with what you downloaded) - $ install_name_tool -change '/install/lib/libpython3.11.dylib' '@executable_path/python/lib/libpython3.11.dylib' ./target//influxdb3 + $ install_name_tool -change '/install/lib/libpython3.13.dylib' '@executable_path/python/lib/libpython3.13.dylib' ./target//influxdb3 ``` 5. Linux/OSX: put the python runtime in the expected location (XXX: may be @@ -284,7 +284,7 @@ builds: * `aarch64-apple-darwin-install_only_stripped.tar.gz` * `aarch64-unknown-linux-gnu-install_only_stripped.tar.gz` * `x86_64-unknown-linux-gnu-install_only_stripped.tar.gz` - * `x86_64-pc-windows-msvc-shared-install_only_stripped.tar.gz` + * `x86_64-pc-windows-msvc-install_only_stripped.tar.gz` ### How will InfluxData maintain the embedded interpreter?