Skip to content

Commit

Permalink
Add python 3.13 support (#1793)
Browse files Browse the repository at this point in the history
Co-authored-by: beagold <[email protected]>
  • Loading branch information
davfsa and beagold authored Aug 28, 2024
1 parent c22bfe0 commit f132011
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9, "3.10", 3.11, 3.12]
python-version: [3.9, "3.10", 3.11, 3.12, 3.13-dev]

runs-on: ${{ matrix.os }}

Expand All @@ -31,7 +31,6 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Test Installation
shell: bash
run: |
pip install -r dev-requirements/build.txt
Expand All @@ -42,7 +41,6 @@ jobs:
pip uninstall -y hikari
- name: Run tests
shell: bash
run: |
pip install -r dev-requirements.txt
nox -s pytest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gateway APIs.
Built on good intentions and the hope that it will be extendable and reusable, rather than an obstacle for future
development.

Python 3.9, 3.10, 3.11 and 3.12 are currently supported.
Python 3.9, 3.10, 3.11, 3.12 and 3.13 are currently supported.

## Installation

Expand Down
1 change: 1 addition & 0 deletions changes/1793.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Python 3.13 support
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def parse_requirements_file(path):
maintainer_email=metadata.email,
license=metadata.license,
url=metadata.url,
python_requires=">=3.9.0,<3.13",
python_requires=">=3.9.0,<3.14",
packages=setuptools.find_namespace_packages(include=["hikari*"]),
entry_points={"console_scripts": ["hikari = hikari.cli:main"]},
install_requires=parse_requirements_file("requirements.txt"),
Expand Down Expand Up @@ -96,6 +96,7 @@ def parse_requirements_file(path):
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Communications :: Chat",
"Topic :: Internet :: WWW/HTTP",
Expand Down

0 comments on commit f132011

Please sign in to comment.