Skip to content

Commit d0250f5

Browse files
committed
PYCBC-1678: Pin cmake version
Motivation ========== Until we have time to investigate CMake 4.0 compatibility we should make sure the build system will install CMake < 4.0. Most users should not run into this scenario as we provide wheels. Modification ============ Pinned setup_requires CMake to >= 3.19 and < 4.0. Change-Id: I6dcc3917ba92cbe78d421972edb18c25f17ff6e8 Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/226432 Reviewed-by: Dimitris Christodoulou <dimitris.christodoulou@couchbase.com> Tested-by: Build Bot <build@couchbase.com>
1 parent 6f25dd9 commit d0250f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# otherwise, we want to use the system executable.
4646
setup_requires = []
4747
if not CMAKE_EXE:
48-
setup_requires += ["cmake"]
48+
setup_requires += ["cmake>=3.19.0,<4.0.0"]
4949

5050
print(f'Python SDK version: {PYCBC_VERSION}')
5151

0 commit comments

Comments
 (0)