Merge lp:~cjwatson/storm/py27-py35-workarounds into lp:storm

Proposed by Colin Watson
Status: Merged
Merged at revision: 567
Proposed branch: lp:~cjwatson/storm/py27-py35-workarounds
Merge into: lp:storm
Diff against target: 46 lines (+8/-2)
2 files modified
setup.py (+3/-1)
tox.ini (+5/-1)
To merge this branch: bzr merge lp:~cjwatson/storm/py27-py35-workarounds
Reviewer Review Type Date Requested Status
Ioana Lasc (community) Approve
Storm Developers Pending
Review via email: mp+400631@code.launchpad.net

Commit message

Fix py27 and py35 tox environments.

Description of the change

Keeping Python 2.7 and 3.5 tests working now that they're unsupported upstream and various core packages such as pip have dropped support for them is getting harder, but it's still viable with a few hacks. Storm still needs to support these versions for now.

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'setup.py'
--- setup.py 2020-05-26 15:55:53 +0000
+++ setup.py 2021-04-06 09:12:19 +0000
@@ -28,11 +28,13 @@
28 "pgbouncer >= 0.0.7",28 "pgbouncer >= 0.0.7",
29 "postgresfixture",29 "postgresfixture",
30 "psycopg2 >= 2.3.0",30 "psycopg2 >= 2.3.0",
31 "setuptools < 45; python_version < '3'",
31 "testresources >= 0.2.4",32 "testresources >= 0.2.4",
32 "testtools >= 0.9.8",33 "testtools >= 0.9.8",
33 "timeline >= 0.0.2",34 "timeline >= 0.0.2",
34 "transaction >= 1.0.0",35 "transaction >= 1.0.0",
35 "twisted >= 10.0.0",36 "Twisted >= 10.0.0",
37 "Twisted < 21.2.0; python_version < '3'",
36 "zope.component >= 3.8.0",38 "zope.component >= 3.8.0",
37 "zope.configuration",39 "zope.configuration",
38 "zope.interface >= 4.0.0",40 "zope.interface >= 4.0.0",
3941
=== modified file 'tox.ini'
--- tox.ini 2020-05-26 10:28:24 +0000
+++ tox.ini 2021-04-06 09:12:19 +0000
@@ -8,18 +8,22 @@
8 docs8 docs
99
10[testenv]10[testenv]
11download =
12 py27,py35: true
11deps =13deps =
12 .[test]14 .[test]
13passenv = STORM_TEST_RUNNER USER15passenv = STORM_TEST_RUNNER USER
14setenv =16setenv =
15 cextensions: STORM_CEXTENSIONS = 117 cextensions: STORM_CEXTENSIONS = 1
16 nocextensions: STORM_CEXTENSIONS = 018 nocextensions: STORM_CEXTENSIONS = 0
19 py27,py35: VIRTUALENV_DOWNLOAD = 1
20 py27,py35: VIRTUALENV_PIP = 20.3.4
17commands =21commands =
18 python dev/test {posargs}22 python dev/test {posargs}
1923
20[testenv:docs]24[testenv:docs]
21basepython =25basepython =
22 python326 python3.8
23commands =27commands =
24 sphinx-build -b html -d storm/docs/_build/doctrees storm/docs storm/docs/_build/html28 sphinx-build -b html -d storm/docs/_build/doctrees storm/docs storm/docs/_build/html
25deps =29deps =

Subscribers

People subscribed via source and target branches

to status/vote changes: