Skip to content

Commit

Permalink
Update to Python 3.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Dec 17, 2023
1 parent b6f153e commit 7e8d587
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.32.0-{build}
version: 1.33.0-{build}

skip_branch_with_pr: true

Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Discord/scripts/Harmonbot.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:loop
py -3.10 Harmonbot.py
py -3.11 Harmonbot.py
goto loop
2 changes: 1 addition & 1 deletion Discord/scripts/Harmonbot_Beta.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cd ..\
:loop
py -3.10 Harmonbot.py beta
py -3.11 Harmonbot.py beta
goto loop
2 changes: 1 addition & 1 deletion Harmonbot.pyw
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python3.10
#! /usr/bin/env python3.11

import atexit
from queue import Queue
Expand Down
2 changes: 1 addition & 1 deletion Telegram/Telegram_Harmonbot.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:loop
py -3.10 Telegram_Harmonbot.py
py -3.11 Telegram_Harmonbot.py
goto loop
2 changes: 1 addition & 1 deletion Twitch/Twitch_Harmonbot.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:loop
py -3.10 Twitch_Harmonbot.py
py -3.11 Twitch_Harmonbot.py
goto loop
PAUSE
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[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"]
build-backend = "setuptools.build_meta"

[tool.mypy]
packages = ["units"]
python_version = "3.10"
python_version = "3.11"

[tool.ruff]
ignore = [
Expand All @@ -32,7 +32,7 @@ select = [
"UP", # pyupgrade
"YTT", # flake8-2020
]
target-version = "py310"
target-version = "py311"

[tool.setuptools]
packages = ["units"]
Expand Down

0 comments on commit 7e8d587

Please sign in to comment.