From f0855a88b02a9e51ddf302086f86e58cc0c71008 Mon Sep 17 00:00:00 2001 From: loathingKernel <142770+loathingKernel@users.noreply.github.com> Date: Sun, 22 Dec 2024 23:50:01 +0200 Subject: [PATCH] workflows: fix failures * msilib is removed from python 3.13, use python 3.12 for now * using msvc for windows build follwing nuitka's instructions --- .github/workflows/job_cx-freeze-msi.yml | 2 +- .github/workflows/job_cx-freeze-zip.yml | 2 +- .github/workflows/job_nuitka-win.yml | 2 +- setup.py | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/job_cx-freeze-msi.yml b/.github/workflows/job_cx-freeze-msi.yml index 5dd34b7cf..c55309ef6 100644 --- a/.github/workflows/job_cx-freeze-msi.yml +++ b/.github/workflows/job_cx-freeze-msi.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-python@v5 with: cache: pip - python-version: '3.13' + python-version: '3.12' check-latest: true architecture: x64 - name: Install build dependencies diff --git a/.github/workflows/job_cx-freeze-zip.yml b/.github/workflows/job_cx-freeze-zip.yml index 1fc28c46c..de56341db 100644 --- a/.github/workflows/job_cx-freeze-zip.yml +++ b/.github/workflows/job_cx-freeze-zip.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-python@v5 with: cache: pip - python-version: '3.13' + python-version: '3.12' check-latest: true architecture: x64 - name: Install build dependencies diff --git a/.github/workflows/job_nuitka-win.yml b/.github/workflows/job_nuitka-win.yml index d7516ce60..a693bd203 100644 --- a/.github/workflows/job_nuitka-win.yml +++ b/.github/workflows/job_nuitka-win.yml @@ -30,7 +30,7 @@ jobs: python -m nuitka --assume-yes-for-downloads --show-scons - --clang + --msvc=latest --lto=no --jobs=4 --static-libpython=no diff --git a/setup.py b/setup.py index 671b8c6f5..b7dc505d6 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ from setuptools import setup, find_packages -from setuptools_scm import ScmVersion from rare import __version__ as version