Skip to content

Commit 1fd30fe

Browse files
committed
Add support for Python 3.14; remove 3.9
Signed-off-by: Ovidiu Mara <[email protected]>
1 parent fa559ee commit 1fd30fe

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

contrib/Dockerfile.manylinux

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG BASE_IMAGE
1818
ARG BASE_IMAGE_TAG
1919
FROM ${BASE_IMAGE}:${BASE_IMAGE_TAG}
2020

21-
ARG DEFAULT_PYTHON_VERSION="3.12"
21+
ARG DEFAULT_PYTHON_VERSION="3.14"
2222
ARG ARCH="x86_64"
2323
ARG UCX_REF="v1.20.x"
2424
ARG LIBFABRIC_VERSION="v1.21.0"
@@ -266,10 +266,11 @@ RUN echo "/usr/local/nixl/lib/$ARCH-linux-gnu" > /etc/ld.so.conf.d/nixl.conf &&
266266

267267
# Create the wheel
268268
# No need to specifically add path to libcuda.so here, meson finds the stubs and links them
269-
ARG WHL_PYTHON_VERSIONS="3.9,3.10,3.11,3.12,3.13"
269+
ARG WHL_PYTHON_VERSIONS="3.10,3.11,3.12,3.13,3.14"
270270
ARG WHL_PLATFORM="manylinux_2_28_$ARCH"
271271
RUN IFS=',' read -ra PYTHON_VERSIONS <<< "$WHL_PYTHON_VERSIONS" && \
272272
export UV_INDEX="https://download.pytorch.org/whl/cu$(echo $CUDA_VERSION | cut -d. -f1,2 | tr -d .)" && \
273+
export UV_INDEX_STRATEGY=unsafe-best-match && \
273274
mkdir -p dist && \
274275
for PYTHON_VERSION in "${PYTHON_VERSIONS[@]}"; do \
275276
export PATH=$VIRTUAL_ENV/bin:$PATH && \

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@
1414
# limitations under the License.
1515

1616
[build-system]
17-
requires = ["meson-python", "pybind11", "patchelf", "pyyaml", "types-PyYAML", "pytest", "build", "setuptools"]
17+
requires = ["meson-python", "pybind11", "patchelf", "pyyaml", "types-PyYAML", "pytest", "build", "setuptools>=80.9.0"]
1818
build-backend = "mesonpy"
1919

2020
[project]
21-
name = 'nixl-cu12'
21+
name = "nixl-cu12"
2222
version = '0.8.0'
2323
description = 'NIXL Python API'
2424
readme = 'README.md'
25-
license = {file = 'LICENSE'}
26-
requires-python = '>=3.9'
25+
license = "Apache-2.0"
26+
license-files = ["LICENSE"]
27+
requires-python = '>=3.10'
2728
authors = [
2829
{name = 'NIXL Developers', email = '[email protected]'}
2930
]

src/bindings/python/nixl-meta/pyproject.toml.in

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@
1414
# limitations under the License.
1515

1616
[build-system]
17-
requires = ["setuptools"]
17+
requires = ["setuptools>=80.9.0"]
1818
build-backend = "setuptools.build_meta"
1919

2020
[project]
2121
name = "nixl"
2222
version = "@VERSION@"
2323
description = "NIXL Python API meta package for CUDA variants"
2424
readme = "README.md"
25-
license = {file = 'LICENSE'}
26-
requires-python = ">=3.9"
25+
license = "Apache-2.0"
26+
license-files = ["LICENSE"]
27+
requires-python = ">=3.10"
2728
authors = [
2829
{name = 'NIXL Developers', email = '[email protected]'}
2930
]

0 commit comments

Comments
 (0)