diff --git a/appveyor.yml b/appveyor.yml index 4fcf06c10..461816f47 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,50 +12,40 @@ environment: matrix: - - PYTHON: "C:\\Python27" - PYTHON_VERSION: "2.7" - PYTHON_ARCH: "32" - UIA_SUPPORT: "NO" - - - PYTHON: "C:\\Python27-x64" - PYTHON_VERSION: "2.7" - PYTHON_ARCH: "64" - UIA_SUPPORT: "YES" + # - PYTHON: "C:\\Python38" + # PYTHON_VERSION: "3.8" + # PYTHON_ARCH: "32" + # UIA_SUPPORT: "NO" - - PYTHON: "C:\\Python35" - PYTHON_VERSION: "3.5" + - PYTHON: "C:\\Python38" + PYTHON_VERSION: "3.8" PYTHON_ARCH: "32" UIA_SUPPORT: "YES" - - PYTHON: "C:\\Python37" - PYTHON_VERSION: "3.7" - PYTHON_ARCH: "32" - UIA_SUPPORT: "NO" - - - PYTHON: "C:\\Python37-x64" - PYTHON_VERSION: "3.7" - PYTHON_ARCH: "64" - UIA_SUPPORT: "YES" + # - PYTHON: "C:\\Python38-x64" + # PYTHON_VERSION: "3.8" + # PYTHON_ARCH: "64" + # UIA_SUPPORT: "NO" - PYTHON: "C:\\Python38-x64" PYTHON_VERSION: "3.8" PYTHON_ARCH: "64" UIA_SUPPORT: "YES" - - PYTHON: "C:\\Python39" - PYTHON_VERSION: "3.9" - PYTHON_ARCH: "32" - UIA_SUPPORT: "YES" + # - PYTHON: "C:\\Python39" + # PYTHON_VERSION: "3.9" + # PYTHON_ARCH: "32" + # UIA_SUPPORT: "YES" - - PYTHON: "C:\\Python310-x64" - PYTHON_VERSION: "3.10" - PYTHON_ARCH: "64" - UIA_SUPPORT: "YES" + # - PYTHON: "C:\\Python310-x64" + # PYTHON_VERSION: "3.10" + # PYTHON_ARCH: "64" + # UIA_SUPPORT: "YES" - - PYTHON: "C:\\Python311-x64" - PYTHON_VERSION: "3.11" - PYTHON_ARCH: "64" - UIA_SUPPORT: "YES" + # - PYTHON: "C:\\Python311-x64" + # PYTHON_VERSION: "3.11" + # PYTHON_ARCH: "64" + # UIA_SUPPORT: "YES" #init: # Enable RDP. @@ -77,6 +67,8 @@ install: # compiled extensions and are not provided as pre-built wheel packages, # pip will build them from source using the MSVC compiler matching the # target Python version and architecture + - "%CMD_IN_ENV% python -m pip install --upgrade pip" + - "%CMD_IN_ENV% python -m pip install wheel" - "%CMD_IN_ENV% pip install -r dev-requirements.txt" # Enable desktop (for correct screenshots). diff --git a/ci/install.ps1 b/ci/install.ps1 index 35764b414..7ca2c61b7 100644 --- a/ci/install.ps1 +++ b/ci/install.ps1 @@ -86,7 +86,7 @@ function UpdateConda ($python_home) { function InstallComtypes ($python_home) { $pip_path = $python_home + "\Scripts\pip.exe" - $args = "install comtypes" + $args = "install https://github.com/moi15moi/comtypes/archive/refs/heads/upgrade-syntax.zip" Start-Process -FilePath "$pip_path" -ArgumentList $args -Wait -Passthru } diff --git a/dev-requirements.txt b/dev-requirements.txt index b9f313cf2..97adb0d71 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,10 @@ -pywin32==301 ; python_version == '3.6' and sys_platform == "win32" -pywin32 ; python_version != '3.6' and sys_platform == "win32" +docutils<0.18 +pywin32<=227; python_version <= '3.6' and platform_system == 'Windows' +pywin32>=300; python_version > '3.6' and platform_system == 'Windows' six -pillow>=6.2.0 +Pillow==6.2.0; python_version <= '3.7' +Pillow==10.4.0; python_version == '3.8' +Pillow==11.1.0; python_version > '3.8' coverage nose codecov @@ -9,4 +12,6 @@ rst2pdf Sphinx mock==2.0.0 codacy-coverage -PyQt5==5.15.4 ; python_version >= '3.6' \ No newline at end of file +PyQt5==5.15.9; python_version >= '3.6' +PyQt5-sip==12.15.0; python_version >= '3.9' and python_version < '3.10' +PyQt5-sip; python_version >= '3.10' \ No newline at end of file