Skip to content

Commit

Permalink
Add python 3.13-dev to the testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
davfsa committed Dec 18, 2023
1 parent 3578148 commit bf9f9b8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13-dev]

include:
- python-version: 3.13-dev
allowed_failure: true

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

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

- name: Test Installation
shell: bash
run: |
pip install -r dev-requirements/build.txt
Expand All @@ -42,7 +45,7 @@ jobs:
pip uninstall -y hikari
- name: Run tests
shell: bash
continue-on-error: ${{ matrix.allowed_failure || false }}
run: |
pip install -r dev-requirements.txt
nox -s pytest
Expand All @@ -56,7 +59,7 @@ jobs:
name: .coverage.${{ matrix.os }}.${{ matrix.python-version }}
path: .coverage
retention-days: 1
if-no-files-found: error
if-no-files-found: ${{ matrix.allowed_failure && 'ignore' || 'error' }}

upload-coverage:
needs: [test]
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.8, 3.9, 3.10, 3.11 and 3.12 are currently supported.
Python 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13-dev are currently supported.

## Installation

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def parse_requirements_file(path):
maintainer_email=metadata.email,
license=metadata.license,
url=metadata.url,
python_requires=">=3.8.0,<3.13",
python_requires=">=3.8.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 bf9f9b8

Please sign in to comment.