Skip to content

Commit 4dabef9

Browse files
committed
python: support Python 3.9 and onwards
1 parent 6b20546 commit 4dabef9

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

python/build-wheels.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ export BINDGEN_EXTRA_CLANG_ARGS="-I/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64
1616
# map libmicrovmi root dir to /io
1717
cd /io/python
1818

19-
# note: removed 3.5
20-
for PYBIN in /opt/python/cp{36,37,38,39}*/bin; do
19+
for PYBIN in /opt/python/cp{39,310,311,312}*/bin; do
2120
"${PYBIN}/pip" install -r requirements.txt
2221
"${PYBIN}/python" setup.py bdist_wheel $@
2322
done

python/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
setuptools-rust==1.1.2
2-
setuptools==59.6.0
2+
setuptools==75.8.2
33
wheel
44
toml==0.10.2

python/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
# rust extensions are not zip safe, just like C-extensions.
6565
zip_safe=False,
6666
classifiers=[
67-
"Programming Language :: Python :: 3.6",
67+
"Programming Language :: Python :: 3.9",
6868
"Development Status :: 4 - Beta",
6969
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
7070
],
71-
python_requires=">=3.6",
71+
python_requires='>=3.9',
7272
)

0 commit comments

Comments
 (0)