From 9c5fbf823fa9e3dea3f11e03022c332c12084b10 Mon Sep 17 00:00:00 2001 From: Karen Hambardzumyan Date: Mon, 1 Sep 2025 18:14:55 +0100 Subject: [PATCH 1/4] upgrade Cython version --- docker/Dockerfile | 2 +- docs/requirements.txt | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6f02d97756..8fe89f7cb3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.9.10-slim ARG AIM_VERSION -RUN pip install Cython==3.0.10 +RUN pip install Cython==3.0.12 RUN pip install aim==$AIM_VERSION WORKDIR /opt/aim diff --git a/docs/requirements.txt b/docs/requirements.txt index 1014346690..4f0daf2dd8 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,4 +3,4 @@ sphinx sphinx_rtd_theme m2r2==0.3.3.post2 sphinx-copybutton -Cython==3.0.10 +Cython==3.0.12 diff --git a/pyproject.toml b/pyproject.toml index 8df2254bac..6619a111fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["setuptools", "cython == 3.0.10", "aimrocks == 0.5.*"] +requires = ["setuptools", "cython == 3.0.12", "aimrocks == 0.5.*"] diff --git a/setup.py b/setup.py index 983b380168..e63cd2349f 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ def package_files(directory): LONG_DESCRIPTION = readme_text.strip() SETUP_REQUIRED = [ - 'Cython==3.0.10', + 'Cython==3.0.12', ] # What packages are required for this module to be executed? From 95adda6ab01d7130f4da02875412870927fd453e Mon Sep 17 00:00:00 2001 From: Karen Hambardzumyan Date: Mon, 1 Sep 2025 18:25:18 +0100 Subject: [PATCH 2/4] Add python 3.13 builds --- .github/workflows/python-package.yml | 11 ++++++++++- CHANGELOG.md | 3 +++ setup.py | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5950c7d6d3..b878ba4f8a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -145,6 +145,15 @@ jobs: retry_wait_seconds: 60 command: docker run -e PYTHON_VERSION='cp312-cp312' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh + - name: Build bdist wheels for 'cp313-cp313' + if: matrix.manylinux-version == 'manylinux_2_28_x86_64' + uses: nick-fields/retry@v2 + with: + max_attempts: 3 + timeout_minutes: 30 + retry_wait_seconds: 60 + command: docker run -e PYTHON_VERSION='cp313-cp313' --mount type=bind,source=$PWD,target=/opt/aim quay.io/pypa/${{ matrix.manylinux-version }} bash /opt/aim/docker/build-wheels.sh + - name: Publish wheels env: PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} @@ -171,7 +180,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ] arch: ['arm64', 'x86_64'] exclude: - arch: 'arm64' diff --git a/CHANGELOG.md b/CHANGELOG.md index bf3ba2d6f6..fe5f9aa7c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ ### Fixes: - Fix issues with tag false reassignment (mihran113) +### Enhancements: +- Add support for python 3.13 (mahnerak) + ## 3.29.1 May 8, 2025: ### Enhancements: diff --git a/setup.py b/setup.py index e63cd2349f..93d58b72c9 100644 --- a/setup.py +++ b/setup.py @@ -199,6 +199,7 @@ def cytonize_extensions(): 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: Implementation :: PyPy', ], ext_modules=cytonize_extensions(), From 558642c2477650ad29d4ac24db0083c2de32bc8b Mon Sep 17 00:00:00 2001 From: Karen Hambardzumyan Date: Mon, 1 Sep 2025 18:25:32 +0100 Subject: [PATCH 3/4] Bump up version --- aim/VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aim/VERSION b/aim/VERSION index 1002be7fb7..7a5ac82402 100644 --- a/aim/VERSION +++ b/aim/VERSION @@ -1 +1 @@ -3.29.1 +3.30.1.dev2 From a30024593f7aa7f152c5af8d5e8c407667c2a3cb Mon Sep 17 00:00:00 2001 From: Karen Hambardzumyan Date: Mon, 1 Sep 2025 18:28:16 +0100 Subject: [PATCH 4/4] Use aimrocks dev builds --- pyproject.toml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6619a111fc..fa5f389561 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["setuptools", "cython == 3.0.12", "aimrocks == 0.5.*"] +requires = ["setuptools", "cython == 3.0.12", "aimrocks == 0.5.3.dev8"] diff --git a/setup.py b/setup.py index 93d58b72c9..80f47b91a2 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ def package_files(directory): REQUIRED = [ f'aim-ui=={__version__}', 'aimrecords==0.0.7', - 'aimrocks==0.5.*', + 'aimrocks==0.5.3.dev8', 'cachetools>=4.0.0', 'click>=7.0', 'cryptography>=3.0',