File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 3434# - os: ubuntu-24.04
3535# platform: PyPy
3636
37- - os : windows-latest
37+ - os : windows-2022
3838 platform : win64
3939
4040# - os: windows-latest
@@ -128,6 +128,15 @@ jobs:
128128 echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV
129129 echo "CIBW_TEST_COMMAND_MACOS=" >> $GITHUB_ENV
130130
131+ - name : Install and configure MSVC
132+ uses : ilammy/msvc-dev-cmd@v1
133+ if : ' ${{ matrix.os }}' == 'windows-2022'
134+ with :
135+ arch : ' x64'
136+ sdk : 10.0.10240.0
137+ toolset : 17.12
138+ uwp : true
139+
131140 - name : Build wheels
132141 run : |
133142 python3 -m cibuildwheel --output-dir wheelhouse
Original file line number Diff line number Diff line change @@ -261,7 +261,6 @@ class build_extensions(build_ext):
261261This is often a matter of using vcvarsall.bat from your install directory, or running
262262from a command prompt in the Visual Studio Tools Start Menu.
263263===============================================================================
264- %s
265264""" if is_windows else """
266265===============================================================================
267266WARNING: could not compile %s.
@@ -298,7 +297,6 @@ class build_extensions(build_ext):
298297 $ brew install libev
299298
300299===============================================================================
301- %s
302300 """
303301
304302 def run (self ):
@@ -307,7 +305,7 @@ def run(self):
307305 build_ext .run (self )
308306 except PlatformError as exc :
309307 sys .stderr .write ('%s\n ' % str (exc ))
310- warnings .warn (self .error_message % ( "C extensions." , str (exc ) ))
308+ warnings .warn (self .error_message % "C extensions." + " \n " + str (exc ))
311309 if CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST :
312310 raise
313311
You can’t perform that action at this time.
0 commit comments