summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Geier <geier@lostpackets.de>2023-11-03 23:26:15 +0100
committerChristian Geier <geier@lostpackets.de>2024-01-29 15:37:40 +0100
commit28f3d1ff9b480debfeaf38accefe17495b1d2ea0 (patch)
tree7d54f2f703ce345a79606920ed11c68d4d920be2
parentd5e6ed39dc0ec5b8e822ec67450577b7d4f9ed59 (diff)
run tests with python 3.12
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--CHANGELOG.rst1
-rw-r--r--pyproject.toml2
-rw-r--r--tox.ini3
4 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a35c3274..d9872602 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ["3.8", "3.9", "3.10", "3.11"]
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
tox-test: ["default"]
steps:
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 35af1b05..e19049df 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -13,6 +13,7 @@ not released yet
* UPDATED REQUIREMENT urwid is now required >= 2.1.0
* FIX support urwid 2.4.2
+* NEW REQUIREMENT for tests on python >= 3.12: pkg_resources
* optimization in ikhal when editing events in the far future or past
* FIX an issue in ikhal with updating the view of the event list after editing
an event
diff --git a/pyproject.toml b/pyproject.toml
index d6a215b1..35d133f5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
"Topic :: Communications",
"Topic :: Utilities",
]
@@ -43,6 +44,7 @@ test = [
"hypothesis",
"packaging",
"vdirsyncer",
+ "pkg_resources; python_version >= '3.12'",
]
docs = [
"sphinx!=1.6.1",
diff --git a/tox.ini b/tox.ini
index 80d30619..d1671f6e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = {py38,py310,py311}-tests,py39-tests-{pytz2018.7,pytz_latest}
+envlist = {py38,py39,py310,py311,py312}-tests,py39-tests-{pytz2018.7,pytz_latest}
skip_missing_interpreters = True
[testenv]
@@ -34,6 +34,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
+ 3.12: py312
[testenv:docs]
whitelist_externals = make