Skip to content

Commit

Permalink
Add Python 3.13 support (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
No767 authored Nov 5, 2024
1 parent c7ee771 commit e475379
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
upload: true
upload: true
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [3.9, '3.10', '3.11', '3.12']
version: [3.9, '3.10', '3.11', '3.12', '3.13']

steps:
- name: Checkout Repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [3.9, '3.10', '3.11', '3.12']
version: [3.9, '3.10', '3.11', '3.12', '3.13']

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2

build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.12"
commands:
Expand All @@ -14,4 +14,4 @@ sphinx:

python:
install:
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Catherine-Chan

[![Required Python Version](https://img.shields.io/badge/Python-3.9%20|%203.10%20|%203.11%20|%203.12-blue?logo=python&logoColor=white)](https://github.com/No767/Catherine-Chan/blob/main/pyproject.toml) [![CodeQL](https://github.com/No767/Catherine-Chan/actions/workflows/codeql.yml/badge.svg)](https://github.com/No767/Catherine-Chan/actions/workflows/codeql.yml) [![Lint](https://github.com/No767/Catherine-Chan/actions/workflows/lint.yml/badge.svg)](https://github.com/No767/Catherine-Chan/actions/workflows/lint.yml) [![Tests](https://github.com/No767/Catherine-Chan/actions/workflows/test.yml/badge.svg)](https://github.com/No767/Catherine-Chan/actions/workflows/test.yml) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9508/badge)](https://www.bestpractices.dev/projects/9508) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=No767_Catherine-Chan&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=No767_Catherine-Chan) [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=No767_Catherine-Chan&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=No767_Catherine-Chan) [![GitHub release (with filter)](https://img.shields.io/github/v/release/No767/Catherine-Chan?label=Release&logo=github&sort=semver)](https://github.com/No767/Catherine-Chan/releases/latest) [![GitHub](https://img.shields.io/github/license/No767/Catherine-Chan?logo=github&logoColor=white&label=License)](https://github.com/No767/Catherine-Chan/blob/main/LICENSE) [![Discord](https://img.shields.io/discord/1145897416160194590?logo=discord&logoColor=white&label=Discord&color=%235865F2)](https://discord.gg/ns3e74frqn) [![Catherine](https://img.shields.io/badge/Catherine-Kano%20(穫野)-pink)](https://discord.com/oauth2/authorize?client_id=1142620675517984808&scope=bot+applications.commands)
[![Required Python Version](https://img.shields.io/badge/Python-3.9%20|%203.10%20|%203.11%20|%203.12%20|%203.13-blue?logo=python&logoColor=white)](https://github.com/No767/Catherine-Chan/blob/main/pyproject.toml) [![CodeQL](https://github.com/No767/Catherine-Chan/actions/workflows/codeql.yml/badge.svg)](https://github.com/No767/Catherine-Chan/actions/workflows/codeql.yml) [![Lint](https://github.com/No767/Catherine-Chan/actions/workflows/lint.yml/badge.svg)](https://github.com/No767/Catherine-Chan/actions/workflows/lint.yml) [![Tests](https://github.com/No767/Catherine-Chan/actions/workflows/test.yml/badge.svg)](https://github.com/No767/Catherine-Chan/actions/workflows/test.yml) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9508/badge)](https://www.bestpractices.dev/projects/9508) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=No767_Catherine-Chan&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=No767_Catherine-Chan) [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=No767_Catherine-Chan&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=No767_Catherine-Chan) [![GitHub release (with filter)](https://img.shields.io/github/v/release/No767/Catherine-Chan?label=Release&logo=github&sort=semver)](https://github.com/No767/Catherine-Chan/releases/latest) [![GitHub](https://img.shields.io/github/license/No767/Catherine-Chan?logo=github&logoColor=white&label=License)](https://github.com/No767/Catherine-Chan/blob/main/LICENSE) [![Discord](https://img.shields.io/discord/1145897416160194590?logo=discord&logoColor=white&label=Discord&color=%235865F2)](https://discord.gg/ns3e74frqn) [![Catherine](https://img.shields.io/badge/Catherine-Kano%20(穫野)-pink)](https://discord.com/oauth2/authorize?client_id=1142620675517984808&scope=bot+applications.commands)

The modern all-in-one toolkit for LGBTQ+ folks

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
####################################################################################################
## Final image
####################################################################################################
FROM python:3.12-slim-bookworm
FROM python:3.13-slim-bookworm

ENV DEBIAN_FRONTEND=noninteractive

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sphinx>=8.1.3,<9
furo>=2024.8.6,<2025
sphinx-copybutton>=0.5.2,<1
sphinxext-opengraph>=0.9.1,<1
sphinxext-opengraph>=0.9.1,<1
2 changes: 0 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ dpytest>=0.7.0,<1
sphinx>=7.3.7,<9
furo>=2024.5.6,<2025
sphinx-copybutton>=0.5.2,<1
sphinx-autobuild>=2024.4.16,<2025
sphinxext-opengraph>=0.8.2,<1
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
discord.py[speed]>=2.4.0,<3
audioop-lts>=0.2.1,<1 ; python_version>='3.13'
uvloop>=0.19.0,<1 ; sys_platform != "win32"
winloop>=0.1.1,<1 ; sys_platform == "win32"
asyncpg>=0.29.0,<1
discord-ext-menus @ git+https://github.com/Rapptz/discord-ext-menus@8686b5d1bbc1d3c862292eb436ab630d6e9c9b53
python-dateutil>=2.9.0,<3
msgspec>=0.18.6,<1
msgspec @ git+https://github.com/jcrist/msgspec@e06e9c9fbacf372f71afbb41e3b772bf94d753e6
pygit2>=1.14.1,<2
psutil>=6.0.0,<7
prometheus-client>=0.20.0,<1
prometheus-async>=22.2.0,<23
jishaku>=2.5.2,<3
watchfiles>=0.21.0,<1
PyYAML>=6.0.1,<7
typing_extensions>=4.11.0,<5
typing_extensions>=4.11.0,<5
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
requires =
tox>=4
env_list = lint, py{39,310,311,312}
env_list = lint, py{39,310,311,312,313}
no_package=true

[testenv]
Expand All @@ -23,4 +23,4 @@ deps =
-r requirements.txt
commands =
pyright bot
ruff check bot
ruff check bot

0 comments on commit e475379

Please sign in to comment.