Skip to content

Commit

Permalink
Add python 3.11 and don't generate .msi files (#235)
Browse files Browse the repository at this point in the history
* Build with Python 3.11 in AppVeyor.
* Don't generate .msi files anymore.

The `bdist --format=msi` is broken in Python 3.11, and it looks like `.msi` installation in general is being deprecated in favor of wheel packages.
  • Loading branch information
plusvic committed Apr 18, 2023
1 parent aa29ae2 commit 7e29f65
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ environment:
OPENSSL_LIB: "https://ci.appveyor.com/api/buildjobs/q63539qt9yqaqspo/artifacts/YARA.OpenSSL.x64.1.1.1.nupkg"
VS: "Visual Studio 14 2015 Win64"

- PYTHON: "C:\\Python311"
PYTHON_VERSION: "3.11.2"
PYTHON_ARCH: "32"
OPENSSL_LIB: "https://ci.appveyor.com/api/buildjobs/fakubeldw67e9pmg/artifacts/YARA.OpenSSL.x86.1.1.1.nupkg"
VS: "Visual Studio 14 2015"

- PYTHON: "C:\\Python311-x64"
PYTHON_VERSION: "3.11.2"
PYTHON_ARCH: "64"
OPENSSL_LIB: "https://ci.appveyor.com/api/buildjobs/q63539qt9yqaqspo/artifacts/YARA.OpenSSL.x64.1.1.1.nupkg"
VS: "Visual Studio 14 2015 Win64"

install:
# If there is a newer build queued for the same PR, cancel this one.
# The AppVeyor 'rollout builds' option is supposed to serve the same
Expand Down Expand Up @@ -142,7 +154,6 @@ test_script:
after_test:
# If tests are successful, create binary packages for the project.
- "%CMD_IN_ENV% python setup.py bdist_wheel"
- "%CMD_IN_ENV% python setup.py bdist --format=msi"

artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
Expand Down

0 comments on commit 7e29f65

Please sign in to comment.