Merge lp:~cjwatson/lazr.restful/py3-declare into lp:lazr.restful

Proposed by Colin Watson
Status: Merged
Merged at revision: 290
Proposed branch: lp:~cjwatson/lazr.restful/py3-declare
Merge into: lp:lazr.restful
Diff against target: 72 lines (+16/-6)
4 files modified
NEWS.rst (+4/-2)
setup.py (+9/-1)
src/lazr/restful/version.txt (+1/-1)
tox.ini (+2/-2)
To merge this branch: bzr merge lp:~cjwatson/lazr.restful/py3-declare
Reviewer Review Type Date Requested Status
Tom Wardill (community) Approve
Ioana Lasc (community) Approve
Review via email: mp+396651@code.launchpad.net

Commit message

Declare support for Python 3.

Description of the change

Although there are only minor compatibility breaks since 0.23.0, I think this justifies bumping the version to 1.0.0.

To post a comment you must log in.
Revision history for this message
Ioana Lasc (ilasc) :
review: Approve
Revision history for this message
Tom Wardill (twom) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'NEWS.rst'
2--- NEWS.rst 2021-01-21 11:42:18 +0000
3+++ NEWS.rst 2021-01-21 12:02:12 +0000
4@@ -2,8 +2,8 @@
5 NEWS for lazr.restful
6 =====================
7
8-0.24.0
9-======
10+1.0.0
11+=====
12
13 Rework ``lazr.restful.testing.webservice.WebServiceCaller`` to send named
14 POSTs as ``multipart/form-data`` requests. Arguments that are instances of
15@@ -29,6 +29,8 @@
16 binary data can't be marshalled via JSON without additional encoding that we
17 don't do, and ``lazr.restfulclient`` doesn't JSON-encode binary fields.
18
19+Declare support for Python 3.
20+
21 0.23.0 (2020-09-28)
22 ===================
23
24
25=== modified file 'setup.py'
26--- setup.py 2021-01-20 22:29:43 +0000
27+++ setup.py 2021-01-21 12:02:12 +0000
28@@ -86,7 +86,15 @@
29 "Intended Audience :: Developers",
30 "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
31 "Operating System :: OS Independent",
32- "Programming Language :: Python"],
33+ "Programming Language :: Python",
34+ "Programming Language :: Python :: 2",
35+ "Programming Language :: Python :: 2.7",
36+ "Programming Language :: Python :: 3",
37+ "Programming Language :: Python :: 3.5",
38+ "Programming Language :: Python :: 3.6",
39+ "Programming Language :: Python :: 3.7",
40+ "Programming Language :: Python :: 3.8",
41+ ],
42 extras_require=dict(
43 docs=['Sphinx'],
44 test=['zope.testing>=4.6.0'],
45
46=== modified file 'src/lazr/restful/version.txt'
47--- src/lazr/restful/version.txt 2020-09-28 14:43:25 +0000
48+++ src/lazr/restful/version.txt 2021-01-21 12:02:12 +0000
49@@ -1,1 +1,1 @@
50-0.23.0
51+1.0.0
52
53=== modified file 'tox.ini'
54--- tox.ini 2019-11-04 09:54:43 +0000
55+++ tox.ini 2021-01-21 12:02:12 +0000
56@@ -1,6 +1,6 @@
57 [tox]
58 envlist =
59- py27,docs
60+ py27,py35,py36,py37,py38,docs
61
62 [testenv]
63 deps =
64@@ -10,7 +10,7 @@
65 zope-testrunner --test-path src --tests-pattern ^tests {posargs}
66
67 [testenv:docs]
68-basepython = python2.7
69+basepython = python3.8
70 deps =
71 .[docs]
72 commands =

Subscribers

People subscribed via source and target branches