Skip to content

Commit 154f64c

Browse files
committed
Restore py27 support
1 parent 998a646 commit 154f64c

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ jobs:
2020
env:
2121
TOXENV: "json"
2222

23+
- python-version: "2.7"
24+
env:
25+
TOXENV: "msgpack"
26+
- python-version: "2.7"
27+
env:
28+
TOXENV: "json"
29+
- python-version: "3.5"
30+
env:
31+
TOXENV: "msgpack"
32+
- python-version: "3.5"
33+
env:
34+
TOXENV: "json"
2335
- python-version: "3.6"
2436
env:
2537
TOXENV: "msgpack"

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@
2828
package_data={'scrapinghub': ['VERSION']},
2929
install_requires=['requests>=1.0', 'retrying>=1.3.3', 'six>=1.10.0'],
3030
extras_require={'msgpack': mpack_required},
31-
python_requires='>=3.6',
31+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
3232
classifiers=[
3333
'Development Status :: 5 - Production/Stable',
3434
'License :: OSI Approved :: BSD License',
3535
'Operating System :: OS Independent',
3636
'Programming Language :: Python',
37+
'Programming Language :: Python :: 2.7',
38+
'Programming Language :: Python :: 3.5',
3739
'Programming Language :: Python :: 3.6',
3840
'Programming Language :: Python :: 3.7',
3941
'Programming Language :: Python :: 3.8',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py{36,py3,37,38,39}-{json,msgpack}
7+
envlist = py{27,35,36,py3,37,38,39}-{json,msgpack}
88

99
[testenv]
1010
deps =

0 commit comments

Comments
 (0)