Skip to content

Commit 353cc1b

Browse files
committed
deps: install setuptools on python 3.12+
distutils was removed beginning in Python 3.12, but it's used at runtime by rethinkdb 2.4.9. setuptools provides a copy of distutils, so we should make sure to install it when we're on Python 3.12 or newer until we're able to upgrade to a version of rethinkdb that no longer needs it. See: https://www.python.org/downloads/release/python-3120/
1 parent 65b0b5f commit 353cc1b

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ def find_package_data(package):
8888
"rethinkdb": [
8989
"rethinkdb==2.4.9",
9090
"doublethink==0.4.9",
91+
# Needed because of rethinkdb 2.4.9;
92+
# can be removed when we can upgrade to 2.4.10.post1
93+
"setuptools>=75.8.0;python_version>='3.12'",
9194
],
9295
},
9396
zip_safe=False,

uv.lock

+16-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)