From be4b35b7052615bea0fad67f8bc6edee653e5b61 Mon Sep 17 00:00:00 2001 From: darodi <4682830+darodi@users.noreply.github.com> Date: Sun, 8 Jan 2023 21:11:18 +0100 Subject: [PATCH] update to python 3.11 --- .github/workflows/package-linux.yml | 3 ++- .github/workflows/package-macos.yml | 6 ++++-- .github/workflows/package-windows.yml | 4 +++- .github/workflows/python-package.yml | 2 +- README.md | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package-linux.yml b/.github/workflows/package-linux.yml index 25c05d1..89f068a 100644 --- a/.github/workflows/package-linux.yml +++ b/.github/workflows/package-linux.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 cache: 'pip' - name: Install python dependencies run: | @@ -71,6 +71,7 @@ jobs: path: './*.AppImage*' - name: Release uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: prerelease: true generate_release_notes: true diff --git a/.github/workflows/package-macos.yml b/.github/workflows/package-macos.yml index 3dbb471..db10205 100644 --- a/.github/workflows/package-macos.yml +++ b/.github/workflows/package-macos.yml @@ -3,6 +3,7 @@ name: build KCC for mac os on: + workflow_dispatch: push: tags: - "v*.*.*" @@ -28,7 +29,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 cache: 'pip' - name: Install python dependencies run: | @@ -36,7 +37,7 @@ jobs: pip install -r requirements.txt - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - run: npm install -g appdmg - name: build binary run: | @@ -48,6 +49,7 @@ jobs: path: dist/*.dmg - name: Release uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: prerelease: true generate_release_notes: true diff --git a/.github/workflows/package-windows.yml b/.github/workflows/package-windows.yml index 7879bc7..86d378b 100644 --- a/.github/workflows/package-windows.yml +++ b/.github/workflows/package-windows.yml @@ -3,6 +3,7 @@ name: build KCC for windows on: + workflow_dispatch: push: tags: - "v*.*.*" @@ -28,7 +29,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 cache: 'pip' - name: Install python dependencies run: | @@ -44,6 +45,7 @@ jobs: path: dist/*.exe - name: Release uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: prerelease: true generate_release_notes: true diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8ef33b5..94acb76 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 cache: 'pip' - name: Install python dependencies run: | diff --git a/README.md b/README.md index 3f9bcae..c562613 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Following software is required to run Linux version of **KCC** and/or bare sourc - [PyQt5](https://pypi.python.org/pypi/PyQt5) 5.6.0+ (only needed for GUI) - [Pillow](https://pypi.python.org/pypi/Pillow/) 4.0.0+ (5.2.0+ needed for WebP support), <8.4.0 (see https://github.com/ciromattia/kcc/issues/406) - [psutil](https://pypi.python.org/pypi/psutil) 5.0.0+ -- [python-slugify](https://pypi.python.org/pypi/python-slugify) 1.2.1+, <3.0.0 +- [python-slugify](https://pypi.python.org/pypi/python-slugify) 1.2.1+, <8.0.0 - [raven](https://pypi.python.org/pypi/raven) 6.0.0+ (only needed for GUI) On Debian based distributions these two commands should install all needed dependencies: