@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66name = " s3torchconnectorclient"
77version = " 1.4.2"
88description = " Internal S3 client implementation for s3torchconnector"
9- requires-python = " >=3.8,<3.13 "
9+ requires-python = " >=3.8,<3.14 "
1010readme = " README.md"
1111classifiers = [
1212 " Development Status :: 5 - Production/Stable" ,
@@ -16,6 +16,7 @@ classifiers = [
1616 " Programming Language :: Python :: 3.10" ,
1717 " Programming Language :: Python :: 3.11" ,
1818 " Programming Language :: Python :: 3.12" ,
19+ " Programming Language :: Python :: 3.13" ,
1920 " License :: OSI Approved :: BSD License" ,
2021 " Operating System :: OS Independent" ,
2122 " Topic :: Utilities"
@@ -75,10 +76,13 @@ environment-pass = [
7576 " S3_EXPRESS_PROFILE_BUCKET"
7677]
7778before-build = " cp README.md s3torchconnectorclient; cp LICENSE s3torchconnectorclient/; cp THIRD-PARTY-LICENSES s3torchconnectorclient/; cp NOTICE s3torchconnectorclient/"
78- build = [" cp38*" , " cp39*" , " cp310*" , " cp311*" , " cp312*" ]
79- skip = " *musllinux* *i686"
79+ build = [" cp38*" , " cp39*" , " cp310*" , " cp311*" , " cp312*" , " cp313* " ]
80+ skip = " *musllinux* *i686 cp313-macosx_x86_64* "
8081
8182[tool .cibuildwheel .linux ]
83+ # Python 3.8-3.12: Use manylinux2014 (glibc 2.17)
84+ manylinux-x86_64-image = " manylinux2014"
85+ manylinux-aarch64-image = " manylinux2014"
8286before-all = [
8387 " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y" ,
8488 " bash -c 'platform=$(uname -p); if [ \" $platform\" == \" aarch64\" ]; then sed -i \" s|centos/7|altarch/7|g\" /etc/yum.repos.d/*.repo; fi'" ,
@@ -93,7 +97,38 @@ before-all = [
9397 " yum install -y devtoolset-10-gcc-c++" ,
9498 " yum install -y llvm-toolset-7.0-clang"
9599]
96- environment = { PATH =" /opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/devtoolset-10/root/usr/bin:$HOME/.cargo/bin:$PATH" , LD_LIBRARY_PATH =" /opt/rh/llvm-toolset-7.0/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib" , CC =" /opt/rh/devtoolset-10/root/usr/bin/gcc" , CXX =" /opt/rh/devtoolset-10/root/usr/bin/g++" }
100+ [tool .cibuildwheel .linux .environment ]
101+ PATH = " /opt/rh/llvm-toolset-7.0/root/usr/bin:/opt/rh/devtoolset-10/root/usr/bin:$HOME/.cargo/bin:$PATH"
102+ LD_LIBRARY_PATH = " /opt/rh/llvm-toolset-7.0/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib"
103+ CC = " /opt/rh/devtoolset-10/root/usr/bin/gcc"
104+ CXX = " /opt/rh/devtoolset-10/root/usr/bin/g++"
105+
106+ [[tool .cibuildwheel .overrides ]]
107+ # Python 3.13: Use manylinux_2_28 (glibc 2.28)
108+ select = " cp313-*manylinux*"
109+ manylinux-x86_64-image = " manylinux_2_28"
110+ manylinux-aarch64-image = " manylinux_2_28"
111+ before-all = [
112+ " yum -y update" ,
113+ " yum -y install openssl3 openssl3-devel" ,
114+ " yum install -y gcc-toolset-10-gcc" ,
115+ " yum install -y gcc-toolset-10-gcc-c++" ,
116+ " yum install -y clang clang-devel llvm-toolset" ,
117+ " curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y" ,
118+ " bash -c 'platform=$(uname -p); if [ \" $platform\" == \" aarch64\" ]; then sed -i \" s|centos/7|altarch/7|g\" /etc/yum.repos.d/*.repo; fi'" ,
119+ " yum install -y fuse" ,
120+ " yum install -y fuse-devel" ,
121+ " yum install -y make" ,
122+ " yum install -y git" ,
123+ " yum install -y pkgconfig" ,
124+ " yum install -y tar" ,
125+ " yum install -y wget"
126+ ]
127+ [tool .cibuildwheel .overrides .environment ]
128+ PATH = " /usr/lib64/ccache:/usr/lib64/llvm:/opt/rh/gcc-toolset-10/root/usr/bin:$HOME/.cargo/bin:$PATH"
129+ LD_LIBRARY_PATH = " /usr/lib64/llvm:/opt/rh/gcc-toolset-10/root/usr/lib64:/opt/rh/gcc-toolset-10/root/usr/lib:$LD_LIBRARY_PATH"
130+ CC = " /opt/rh/gcc-toolset-10/root/usr/bin/gcc"
131+ CXX = " /opt/rh/gcc-toolset-10/root/usr/bin/g++"
97132
98133[tool .cibuildwheel .macos ]
99134environment = { MACOSX_DEPLOYMENT_TARGET = " 10.12" }
@@ -121,3 +156,13 @@ before-all = [
121156 " sudo installer -pkg /tmp/Python3129.pkg -target /" ,
122157 " sh '/Applications/Python 3.12/Install Certificates.command'"
123158]
159+
160+ [[tool .cibuildwheel .overrides ]]
161+ # Same issue as above - Using CPython 3.13.2 for MacOS to mitigate resource tracker hanging issue
162+ # So far, CPython 3.13.3, 3.13.4, 3.13.5 are identified to be affected by this issue
163+ select = " cp313-macosx*"
164+ before-all = [
165+ " curl -o /tmp/Python3132.pkg https://www.python.org/ftp/python/3.13.2/python-3.13.2-macos11.pkg" ,
166+ " sudo installer -pkg /tmp/Python3132.pkg -target /" ,
167+ " sh '/Applications/Python 3.13/Install Certificates.command'"
168+ ]
0 commit comments