diff --git a/.appveyor.yml b/.appveyor.yml index 2bcffda2d3..ce9be0eb08 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,4 +1,4 @@ -version: 1.32.0-{build} +version: 1.33.0-{build} skip_branch_with_pr: true @@ -9,13 +9,13 @@ environment: matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 PLATFORM: Discord - PYTHON: C:\Python310-x64 - PYTHON_VERSION: 3.10.11 + PYTHON: C:\Python311-x64 + PYTHON_VERSION: 3.11.0 PYTHON_ARCH: 64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 PLATFORM: Telegram - PYTHON: C:\Python310-x64 - PYTHON_VERSION: 3.10.11 + PYTHON: C:\Python311-x64 + PYTHON_VERSION: 3.11.0 PYTHON_ARCH: 64 - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004 PLATFORM: Discord @@ -32,7 +32,7 @@ matrix: # PostgreSQL not available for macOS images yet # https://www.appveyor.com/docs/macos-images-software/ -stack: Python 3.10, PostgreSQL 12.1 +stack: Python 3.11, PostgreSQL 12.1 # services: # - postgresql12 diff --git a/.circleci/config.yml b/.circleci/config.yml index 1180cc1be7..033047257b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ version: 2 jobs: test-python: docker: - - image: cimg/python:3.10.11 + - image: cimg/python:3.11.0 - image: postgres:12.1 environment: POSTGRES_USER: harmonbot diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c78dc69943..b0c2f99d91 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ variables: Discord: # Official language image. Look for the different tagged releases at: # https://hub.docker.com/r/library/python/tags/ - image: python:3.10.11 + image: python:3.11.0 services: - postgres:12.1 # Pip's cache doesn't store the python packages @@ -35,7 +35,7 @@ Discord: Telegram: # Official language image. Look for the different tagged releases at: # https://hub.docker.com/r/library/python/tags/ - image: python:3.10.11 + image: python:3.11.0 # Pip's cache doesn't store the python packages # https://pip.pypa.io/en/stable/reference/pip_install/#caching # If you want to also cache the installed packages, you have to install diff --git a/Discord/scripts/Harmonbot.bat b/Discord/scripts/Harmonbot.bat index 3430412c51..a2cf68145b 100644 --- a/Discord/scripts/Harmonbot.bat +++ b/Discord/scripts/Harmonbot.bat @@ -1,3 +1,3 @@ :loop -py -3.10 Harmonbot.py +py -3.11 Harmonbot.py goto loop \ No newline at end of file diff --git a/Discord/scripts/Harmonbot_Beta.bat b/Discord/scripts/Harmonbot_Beta.bat index 13746a43bc..6ea906263e 100644 --- a/Discord/scripts/Harmonbot_Beta.bat +++ b/Discord/scripts/Harmonbot_Beta.bat @@ -1,4 +1,4 @@ cd ..\ :loop -py -3.10 Harmonbot.py beta +py -3.11 Harmonbot.py beta goto loop \ No newline at end of file diff --git a/Harmonbot.pyw b/Harmonbot.pyw index ad62da7048..23c5ed57a6 100644 --- a/Harmonbot.pyw +++ b/Harmonbot.pyw @@ -1,4 +1,4 @@ -#! /usr/bin/env python3.10 +#! /usr/bin/env python3.11 import atexit from queue import Queue diff --git a/Telegram/Telegram_Harmonbot.bat b/Telegram/Telegram_Harmonbot.bat index 6a79a57b83..81e163bf0d 100644 --- a/Telegram/Telegram_Harmonbot.bat +++ b/Telegram/Telegram_Harmonbot.bat @@ -1,3 +1,3 @@ :loop -py -3.10 Telegram_Harmonbot.py +py -3.11 Telegram_Harmonbot.py goto loop \ No newline at end of file diff --git a/Twitch/Twitch_Harmonbot.bat b/Twitch/Twitch_Harmonbot.bat index 97695d643a..b972d74efb 100644 --- a/Twitch/Twitch_Harmonbot.bat +++ b/Twitch/Twitch_Harmonbot.bat @@ -1,4 +1,4 @@ :loop -py -3.10 Twitch_Harmonbot.py +py -3.11 Twitch_Harmonbot.py goto loop PAUSE \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 89c24df290..afe801c48c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "Harmonbot" dynamic = ["version"] -requires-python = "~=3.10.11" +requires-python = "~=3.11.0" [build-system] requires = ["setuptools==69.0.2", "setuptools-scm==8.0.4"] @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" [tool.mypy] packages = ["units"] -python_version = "3.10" +python_version = "3.11" [tool.ruff] ignore = [ @@ -32,7 +32,7 @@ select = [ "UP", # pyupgrade "YTT", # flake8-2020 ] -target-version = "py310" +target-version = "py311" [tool.setuptools] packages = ["units"]