Add support for CPython 3.11 to Travis-CI (#681)

pull/701/head
Andreas Motl 2022-10-14 22:30:04 +02:00 committed by GitHub
parent e5523179d7
commit ed876d1ca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 2 deletions

View File

@ -19,6 +19,8 @@ matrix:
env: TOXENV=py39
- python: "3.10"
env: TOXENV=py310
- python: "3.11-dev"
env: TOXENV=py311
# PyPy Environments
- python: "pypy3.6-7.3.3"
env: TOXENV=pypy36

View File

@ -24,6 +24,8 @@ The contributors have been listed in chronological order:
* Andreas Motl <andreas@getkotori.org>
* Mar 2020 - Fix XMPP Support
* Oct 2022 - Drop support for Python 2
* Oct 2022 - Add support for Python 3.11
* Joey Espinosa <@particledecay>
* Apr 3rd 2022 - Added Ntfy Support

View File

@ -94,6 +94,7 @@ setup(
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'License :: OSI Approved :: MIT License',

13
tox.ini
View File

@ -1,6 +1,5 @@
[tox]
envlist = py36,py37,py38,py39,py310,pypy36,pypy39,bare,coverage-report
envlist = py36,py37,py38,py39,py310,py311.pypy36,pypy39,bare,coverage-report
[testenv]
# Prevent random setuptools/pip breakages like
@ -69,6 +68,16 @@ commands =
coverage run -m pytest {posargs}
flake8 . --count --show-source --statistics
[testenv:py311]
deps=
dbus-python
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev-requirements.txt
-r{toxinidir}/all-plugin-requirements.txt
commands =
python setup.py compile_catalog
coverage run --parallel -m pytest {posargs}
flake8 . --count --show-source --statistics
[testenv:bare]
deps=