diff --git a/guests/python/DEVELOPMENT.md b/guests/python/DEVELOPMENT.md index 967e3cd..9640942 100644 --- a/guests/python/DEVELOPMENT.md +++ b/guests/python/DEVELOPMENT.md @@ -16,7 +16,7 @@ Links: - - - -- +- Pros: - Official project, so it has a somewhat stable future and it is easier to get buy-in from the community diff --git a/guests/python/Justfile b/guests/python/Justfile index b6eba37..747885b 100644 --- a/guests/python/Justfile +++ b/guests/python/Justfile @@ -1,18 +1,18 @@ PYTHON_VERSION_MAJOR := "3" PYTHON_VERSION_MINOR := "14" -PYTHON_VERSION_MICRO := "0" +PYTHON_VERSION_MICRO := "1" WASI_SDK_VERSION_MAJOR := "24" WASI_SDK_VERSION_MINOR := "0" -SHA256_PYTHON_SDK := "54aa3e33ebb45e03b5c13b86ce8742b45bb94e394925622fa66c4700f6782979" -SHA256_PYTHON_SDK_BUILD := "98e7cd352e512d1d2af6f999f4391df959eba1b213ef778646353620d697638a" +SHA256_PYTHON_SDK := "9c566091ae743a86cdd5139a814886bc1e7118d3c171652975a3f532a12407c9" +SHA256_PYTHON_SDK_BUILD := "69cef5c440d3ff105ee8767fcef4b5864f47d178d71582132778699805b11e6b" SHA256_WASI_SDK_SYSROOT := "35172f7d2799485b15a46b1d87f50a585d915ec662080f005d99153a50888f08" PYTHON_VERSION_FULL := PYTHON_VERSION_MAJOR + "." + PYTHON_VERSION_MINOR + "." + PYTHON_VERSION_MICRO # Configurable URLs for Python SDK downloads (with defaults) -PYTHON_SDK_BASE_URL := env_var_or_default("PYTHON_SDK_BASE_URL", "https://github.com/brettcannon/cpython-wasi-build/releases/download") +PYTHON_SDK_BASE_URL := env_var_or_default("PYTHON_SDK_BASE_URL", "https://github.com/influxdata/cpython-wasi-build/releases/download") PYTHON_SDK_URL := env_var_or_default("PYTHON_SDK_URL", PYTHON_SDK_BASE_URL + "/v" + PYTHON_VERSION_FULL + "/python-" + PYTHON_VERSION_FULL + "-wasi_sdk-" + WASI_SDK_VERSION_MAJOR + ".zip") BUILD_PYTHON_SDK_URL := env_var_or_default("BUILD_PYTHON_SDK_URL", PYTHON_SDK_BASE_URL + "/v" + PYTHON_VERSION_FULL + "/_build-python-" + PYTHON_VERSION_FULL + "-wasi_sdk-" + WASI_SDK_VERSION_MAJOR + ".zip") diff --git a/guests/python/README.md b/guests/python/README.md index 143fe4c..6e08db8 100644 --- a/guests/python/README.md +++ b/guests/python/README.md @@ -14,7 +14,7 @@ just build-release ``` ## Python Version -We currently bundle [Python 3.14.0], [build for WASI](https://docs.python.org/3/library/intro.html#webassembly-platforms). +We currently bundle [Python 3.14.1], [build for WASI](https://docs.python.org/3/library/intro.html#webassembly-platforms). ## Custom CPython Configuration You can configure the build to use a custom CPython source by setting the following environment variables: @@ -31,7 +31,7 @@ You can configure the build to use a custom CPython source by setting the follow `libpython3.14.a`, `libmpdec.a`, etc.) needed for static linking. Will override `PYTHON_SDK_BASE_URL` if set. -If these environment variables are not set, the build will use the default URLs pointing to the official [CPython WASI build releases](https://github.com/brettcannon/cpython-wasi-build/releases). +If these environment variables are not set, the build will use the default URLs pointing to Influx's [CPython WASI build releases](https://github.com/influxdata/cpython-wasi-build/releases). Example usage: ```console @@ -267,7 +267,7 @@ There is NO other I/O available that escapes the sandbox. [`Duration`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Duration [`Microsecond`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.TimeUnit.html#variant.Microsecond [`os.environ`]: https://docs.python.org/3/library/os.html#os.environ -[Python 3.14.0]: https://www.python.org/downloads/release/python-3140 +[Python 3.14.1]: https://www.python.org/downloads/release/python-3141 [Python Standard Library]: https://docs.python.org/3/library/index.html [`requests`]: https://pypi.org/project/requests/ [Scalar UDF]: https://docs.rs/datafusion/latest/datafusion/logical_expr/struct.ScalarUDF.html