← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/lp-archive:py311 into lp-archive:main

 

Colin Watson has proposed merging ~cjwatson/lp-archive:py311 into lp-archive:main.

Commit message:
Advertise support for Python 3.11

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/lp-archive/+git/lp-archive/+merge/435290
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/lp-archive:py311 into lp-archive:main.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 3f9798e..69f47a3 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -33,7 +33,7 @@ repos:
     rev: v2.0.0
     hooks:
     -   id: setup-cfg-fmt
-        args: [--include-version-classifiers]
+        args: [--include-version-classifiers, --max-py-version=3.11]
 -   repo: https://github.com/get-woke/woke
     rev: v0.19.0
     hooks:
diff --git a/setup.cfg b/setup.cfg
index 00dc7cd..f00a7f4 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -13,6 +13,7 @@ classifiers =
     Programming Language :: Python :: 3
     Programming Language :: Python :: 3 :: Only
     Programming Language :: Python :: 3.10
+    Programming Language :: Python :: 3.11
 
 [options]
 packages = find:
diff --git a/tox.ini b/tox.ini
index 9d1b224..c054870 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,6 +3,7 @@ envlist =
     lint
     mypy
     py310
+    py311
     coverage
 
 skip_missing_interpreters =