Merge ~jugmac00/launchpadlib:declare-python311-support into launchpadlib:main

Proposed by Jürgen Gmach
Status: Merged
Merged at revision: 005e9fb788661a3e34bd5dd0fdc071db16cfa6b0
Proposed branch: ~jugmac00/launchpadlib:declare-python311-support
Merge into: launchpadlib:main
Diff against target: 64 lines (+9/-4)
3 files modified
NEWS.rst (+4/-0)
setup.py (+4/-3)
tox.ini (+1/-1)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+432286@code.launchpad.net

Commit message

Declare support for Python 3.11

To post a comment you must log in.
Revision history for this message
Jürgen Gmach (jugmac00) wrote :

It was necessary to raise the minimum required version for `lazr.restfulclient` - not only for Pythopn 3.11 support, but this was already necessary so `launchpadlib` works with Python 2.7.

Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/NEWS.rst b/NEWS.rst
2index 5c2cf8b..500af71 100644
3--- a/NEWS.rst
4+++ b/NEWS.rst
5@@ -2,6 +2,10 @@
6 NEWS for launchpadlib
7 =====================
8
9+1.10.18 (Unreleased)
10+====================
11+- Declare support for Python 3.11.
12+
13 1.10.17 (2022-10-15)
14 ====================
15 - Generate coverage report.
16diff --git a/setup.py b/setup.py
17index f36ca63..8d0b60e 100755
18--- a/setup.py
19+++ b/setup.py
20@@ -1,6 +1,6 @@
21 #!/usr/bin/env python
22
23-# Copyright 2008-2009 Canonical Ltd.
24+# Copyright 2008-2022 Canonical Ltd.
25 #
26 # This file is part of launchpadlib.
27 #
28@@ -45,14 +45,14 @@ install_requires = [
29 "httplib2",
30 'importlib-metadata; python_version < "3.8"',
31 "keyring",
32- "lazr.restfulclient>=0.9.19",
33+ "lazr.restfulclient>=0.14.2",
34 "lazr.uri",
35 "six",
36 ]
37
38 setup(
39 name="launchpadlib",
40- version="1.10.17",
41+ version="1.10.18.dev0",
42 packages=find_packages("src"),
43 package_dir={"": "src"},
44 include_package_data=True,
45@@ -87,6 +87,7 @@ setup(
46 "Programming Language :: Python :: 3.8",
47 "Programming Language :: Python :: 3.9",
48 "Programming Language :: Python :: 3.10",
49+ "Programming Language :: Python :: 3.11",
50 ],
51 extras_require={
52 "docs": ["Sphinx"],
53diff --git a/tox.ini b/tox.ini
54index 779e1da..62e0880 100644
55--- a/tox.ini
56+++ b/tox.ini
57@@ -1,6 +1,6 @@
58 [tox]
59 envlist =
60- py27,py35,py36,py37,py38,py39,py310,lint,docs
61+ py27,py35,py36,py37,py38,py39,py310,py311,lint,docs
62
63 [testenv]
64 deps =

Subscribers

People subscribed via source and target branches