Skip to content

Commit 7e29f65

Browse files
committed
Add python 3.11 and don't generate .msi files (#235)
* 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.
1 parent aa29ae2 commit 7e29f65

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

appveyor.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,18 @@ environment:
5959
OPENSSL_LIB: "https://ci.appveyor.com/api/buildjobs/q63539qt9yqaqspo/artifacts/YARA.OpenSSL.x64.1.1.1.nupkg"
6060
VS: "Visual Studio 14 2015 Win64"
6161

62+
- PYTHON: "C:\\Python311"
63+
PYTHON_VERSION: "3.11.2"
64+
PYTHON_ARCH: "32"
65+
OPENSSL_LIB: "https://ci.appveyor.com/api/buildjobs/fakubeldw67e9pmg/artifacts/YARA.OpenSSL.x86.1.1.1.nupkg"
66+
VS: "Visual Studio 14 2015"
67+
68+
- PYTHON: "C:\\Python311-x64"
69+
PYTHON_VERSION: "3.11.2"
70+
PYTHON_ARCH: "64"
71+
OPENSSL_LIB: "https://ci.appveyor.com/api/buildjobs/q63539qt9yqaqspo/artifacts/YARA.OpenSSL.x64.1.1.1.nupkg"
72+
VS: "Visual Studio 14 2015 Win64"
73+
6274
install:
6375
# If there is a newer build queued for the same PR, cancel this one.
6476
# The AppVeyor 'rollout builds' option is supposed to serve the same
@@ -142,7 +154,6 @@ test_script:
142154
after_test:
143155
# If tests are successful, create binary packages for the project.
144156
- "%CMD_IN_ENV% python setup.py bdist_wheel"
145-
- "%CMD_IN_ENV% python setup.py bdist --format=msi"
146157

147158
artifacts:
148159
# Archive the generated packages in the ci.appveyor.com build report.

0 commit comments

Comments
 (0)