File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
config_generator/components Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,10 @@ def generate_tasks():
70
70
commands = [
71
71
Setup .call (),
72
72
FetchCDriverSource .call (),
73
- InstallUV .call (),
73
+ ] + (
74
+ # DEVPROD-13875 + astral-sh/uv/issues/10231.
75
+ [] if "vs2015" in distro_name else [InstallUV .call ()]
76
+ ) + [
74
77
Compile .call (
75
78
build_type = build_type ,
76
79
compiler = compiler ,
Original file line number Diff line number Diff line change @@ -238,7 +238,6 @@ tasks:
238
238
commands :
239
239
- func : setup
240
240
- func : fetch_c_driver_source
241
- - func : install-uv
242
241
- func : compile
243
242
vars :
244
243
build_type : Debug
@@ -250,7 +249,6 @@ tasks:
250
249
commands :
251
250
- func : setup
252
251
- func : fetch_c_driver_source
253
- - func : install-uv
254
252
- func : compile
255
253
vars :
256
254
build_type : Release
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ set -o pipefail
14
14
: " ${branch_name:? } "
15
15
: " ${build_type:? } "
16
16
: " ${distro_id:? } " # Required by find-cmake-latest.sh.
17
- : " ${UV_INSTALL_DIR:? } "
18
17
19
18
: " ${BSON_EXTRA_ALIGNMENT:- } "
20
19
: " ${BSONCXX_POLYFILL:- } "
@@ -28,6 +27,7 @@ set -o pipefail
28
27
: " ${USE_SANITIZER_ASAN:- } "
29
28
: " ${USE_SANITIZER_UBSAN:- } "
30
29
: " ${USE_STATIC_LIBS:- } "
30
+ : " ${UV_INSTALL_DIR:- } " # Not on windows-64-vs2015.
31
31
32
32
mongoc_prefix=" $( pwd) /../mongoc"
33
33
echo " mongoc_prefix=${mongoc_prefix:? } "
@@ -82,7 +82,14 @@ darwin* | linux*)
82
82
esac
83
83
84
84
# Create a VERSION_CURRENT file in the build directory to include in the dist tarball.
85
- PATH=" ${UV_INSTALL_DIR:? } :${PATH:- } " uv run --frozen python ./etc/calc_release_version.py > ./build/VERSION_CURRENT
85
+ if [[ " ${distro_id:? } " == windows-64-vs2015* ]]; then
86
+ # DEVPROD-13875: Python 3.9 and newer is not available on this distro.
87
+ # astral-sh/uv/issues/10231: Astral UV is not able to run properly on this OS+platform either.
88
+ # Manually use the Python 3.8 binary instead.
89
+ PATH=" C:/python/Python38:${PATH:- } " python.exe ./etc/calc_release_version.py > ./build/VERSION_CURRENT
90
+ else
91
+ PATH=" ${UV_INSTALL_DIR:? } :${PATH:- } " uv run --frozen python ./etc/calc_release_version.py > ./build/VERSION_CURRENT
92
+ fi
86
93
cd build
87
94
88
95
cmake_flags=(
You can’t perform that action at this time.
0 commit comments