Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump python version for workflows to 3.13 #479

Merged
merged 4 commits into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/job_cx-freeze-msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: pip
python-version: '3.12'
python-version: '3.13'
check-latest: true
architecture: x64
- name: Install build dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job_cx-freeze-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: pip
python-version: '3.12'
python-version: '3.13'
check-latest: true
architecture: x64
- name: Install build dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: pip
python-version: '3.12'
python-version: '3.13'
check-latest: true
- name: Install Build Dependencies
run: pip install pyinstaller
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/job_nuitka-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: pip
python-version: '3.12'
python-version: '3.13'
check-latest: true
architecture: x64
- name: Install build dependencies
Expand All @@ -29,6 +29,7 @@ jobs:
run: >-
python -m nuitka
--assume-yes-for-downloads
--show-scons
--clang
--lto=no
--jobs=4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/job_nuitka-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: pip
python-version: '3.12'
python-version: '3.13'
check-latest: true
architecture: x64
- name: Install build dependencies
Expand All @@ -32,6 +32,7 @@ jobs:
run: >-
arch -${{ matrix.arch }} python -m nuitka
--assume-yes-for-downloads
--show-scons
--clang
--lto=no
--jobs=4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/job_nuitka-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: pip
python-version: '3.12'
python-version: '3.13'
check-latest: true
architecture: x64
- name: Install build dependencies
Expand All @@ -29,6 +29,7 @@ jobs:
run: >-
python -m nuitka
--assume-yes-for-downloads
--show-scons
--clang
--lto=no
--jobs=4
Expand Down
4 changes: 3 additions & 1 deletion misc/nuitka_build.ps1
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@

$nuitka_opts = @(
'--assume-yes-for-downloads'
'--show-scons'
'--mingw64'
'--clang'
'--lto=no'
'--jobs=3'
'--jobs=4'
'--static-libpython=no'
'--standalone'
'--enable-plugin=anti-bloat'
Expand Down
5 changes: 3 additions & 2 deletions misc/nuitka_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

nuitka_opts=(
'--assume-yes-for-downloads'
'--mingw64'
'--show-scons'
'--clang'
'--lto=no'
'--jobs=3'
'--jobs=4'
'--static-libpython=no'
'--standalone'
'--enable-plugin=anti-bloat'
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ repository = "https://github.com/RareDevs/Rare"
[tool.poetry.dependencies]
python = "^3.9"
requests = "^2.28.1"
PySide6-Essentials = ">=6.6.0, <6.8.0"
PySide6-Essentials = "^6.8.1"
QtAwesome = "^1.1.1"
legendary-gl = "^0.20.34"
pywebview = [
{ version = "^3.6.3", extras = ["cef"], platform = "windows", optional = true },
{ version = "^3.6.3", platform = "windows", optional = true },
{ version = "^3.6.3", platform = "darwin", optional = true },
{ version = "^3.6.3", extras = ["gtk"], platform = "linux", optional = true },
{ version = "^3.6.3", extras = ["gtk"], platform = "freebsd", optional = true },
]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
requests
PySide6-Essentials >=6.6.0, <6.8.0
PySide6-Essentials
QtAwesome
setuptools
legendary-gl >=0.20.34; platform_system != "Windows" or platform_system != "Darwin"
Expand Down
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import setuptools
from setuptools import setup, find_packages
from setuptools_scm import ScmVersion

from rare import __version__ as version

Expand All @@ -19,22 +20,24 @@ def parse_requirements(filename):
pypresence=parse_requirements("requirements-presence.txt"),
)

setuptools.setup(
setup(
name="Rare",
version=version,
use_scm_version={"version_scheme": "only-version", "local_scheme": "no-local-version"},
author="RareDevs",
license="GPL-3",
description="A gui for legendary",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Dummerle/Rare",
packages=setuptools.find_packages(),
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
"Operating System :: OS Independent"
],
Expand Down
Loading