Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions actions/build_macosuniversal.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Build universal2 wheels for Python 3.8 through Python 3.12, compatible with
# Build universal2 wheels for Python 3.8 through Python 3.13, compatible with
# Mac OS X 10.9+ x86_64 and macOS 11.0+ arm64. This script must be executed with
# the repository root as the working directory.
#
Expand Down Expand Up @@ -34,7 +34,7 @@ make -j $(sysctl -n hw.logicalcpu) test

##### Build iknowpy wheels #####
cd modules/iknowpy
for PYTHON in python3.{8..12}; do
for PYTHON in python3.{8..13}; do
"$PYTHON" setup.py bdist_wheel --plat-name=macosx-$MACOSX_DEPLOYMENT_TARGET-universal2 --no-dependencies
done
"$PYTHON" setup.py merge --no-dependencies
Expand Down
6 changes: 3 additions & 3 deletions actions/build_manylinux.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Build manylinux wheels for Python 3.8 through Python 3.12. This script must be
# Build manylinux wheels for Python 3.8 through Python 3.13. This script must be
# executed inside a manylinux container in which /iknow is the root of the
# repository.
#
Expand Down Expand Up @@ -44,7 +44,7 @@ if ! [ -f "$ICUDIR/iknow_icu_url.txt" ] || [ $(cat "$ICUDIR/iknow_icu_url.txt")
curl -L -o icu4c-src.tgz "$ICU_URL"
tar xfz icu4c-src.tgz
cd icu/source
PYTHON=/opt/python/cp312-cp312/bin/python CXXFLAGS=-std=c++11 ./runConfigureICU Linux --prefix="$ICUDIR"
PYTHON=/opt/python/cp313-cp313/bin/python CXXFLAGS=-std=c++11 ./runConfigureICU Linux --prefix="$ICUDIR"
make -j $(nproc)
make install
echo "$ICU_URL" > "$ICUDIR/iknow_icu_url.txt"
Expand Down Expand Up @@ -90,7 +90,7 @@ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/iknow/kit/$IKNOWPLAT/release/bin:$ICUD

# install Python package dependencies and build initial wheels
chown -R root "$PIP_CACHE_DIR"
for PYTHON in /opt/python/{cp38-cp38,cp39-cp39,cp310-cp310,cp311-cp311,cp312-cp312}/bin/python
for PYTHON in /opt/python/{cp38-cp38,cp39-cp39,cp310-cp310,cp311-cp311,cp312-cp312,cp313-cp313}/bin/python
do
"$PYTHON" -m pip install --user cython=="$CYTHON_VERSION" setuptools wheel --no-warn-script-location
"$PYTHON" setup.py bdist_wheel --no-dependencies
Expand Down
2 changes: 1 addition & 1 deletion actions/build_windows.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Build Windows x86_64 wheels for Python 3.8 through Python 3.12. This script
# Build Windows x86_64 wheels for Python 3.8 through Python 3.13. This script
# must be executed with the repository root as the working directory.
#
# Usage: actions/build_windows.sh
Expand Down
6 changes: 3 additions & 3 deletions actions/dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ ICU_URL_WIN=https://github.com/unicode-org/icu/releases/download/release-74-2/ic
ICU_URL_SRC=https://github.com/unicode-org/icu/releases/download/release-74-2/icu4c-74_2-src.tgz
JSON_VERSION=3.11.3
JSON_URL=https://github.com/nlohmann/json/releases/download/v3.11.3/include.zip
PYVERSIONS_WIN="3.8.10 3.9.13 3.10.11 3.11.9 3.12.5"
PYVERSIONS_MACOSUNIVERSAL="3.8.10 3.9.13 3.10.11 3.11.9 3.12.5"
PYURLS_MACOSUNIVERSAL="https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg https://www.python.org/ftp/python/3.9.13/python-3.9.13-macos11.pkg https://www.python.org/ftp/python/3.10.11/python-3.10.11-macos11.pkg https://www.python.org/ftp/python/3.11.9/python-3.11.9-macos11.pkg https://www.python.org/ftp/python/3.12.5/python-3.12.5-macos11.pkg"
PYVERSIONS_WIN="3.8.10 3.9.13 3.10.11 3.11.9 3.12.5 3.13.9"
PYVERSIONS_MACOSUNIVERSAL="3.8.10 3.9.13 3.10.11 3.11.9 3.12.5 3.13.9"
PYURLS_MACOSUNIVERSAL="https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg https://www.python.org/ftp/python/3.9.13/python-3.9.13-macos11.pkg https://www.python.org/ftp/python/3.10.11/python-3.10.11-macos11.pkg https://www.python.org/ftp/python/3.11.9/python-3.11.9-macos11.pkg https://www.python.org/ftp/python/3.12.5/python-3.12.5-macos11.pkg https://www.python.org/ftp/python/3.13.9/python-3.13.9-macos11.pkg"
CCACHE_VERSION=4.10.2
CCACHE_URL=https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2-windows-x86_64.zip
CYTHON_VERSION=3.0.11
Expand Down
3 changes: 2 additions & 1 deletion modules/iknowpy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(self):
raise BuildError(f'Unable to parse patchelf version {p.stdout.rstrip()!r}')
if version < (0, 9):
raise BuildError(f'patchelf >=0.9 is needed, but found version {p.stdout.rstrip()!r}')
if platform.processor() == 'aarch64' and version < (0, 12):
if platform.processor() == 'aarch64' and version < (0, 13):
# work around patchelf bug (https://github.com/NixOS/patchelf/pull/216)
self._patchelf = ['patchelf', '--page-size', '65536']
else:
Expand Down Expand Up @@ -818,6 +818,7 @@ def is_canonical_version(version):
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
Expand Down