Skip to content

Commit

Permalink
Add support for py3.11. Remove py27, py35, py36, py37
Browse files Browse the repository at this point in the history
  • Loading branch information
elacuesta committed Jun 19, 2023
1 parent 06fe95c commit a617210
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 30 deletions.
30 changes: 6 additions & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,6 @@ jobs:
env:
TOXENV: "json"

- python-version: "2.7"
env:
TOXENV: "msgpack"
- python-version: "2.7"
env:
TOXENV: "json"
- python-version: "3.5"
env:
TOXENV: "msgpack"
- python-version: "3.5"
env:
TOXENV: "json"
- python-version: "3.6"
env:
TOXENV: "msgpack"
- python-version: "3.6"
env:
TOXENV: "json"
- python-version: "3.7"
env:
TOXENV: "msgpack"
- python-version: "3.7"
env:
TOXENV: "json"
- python-version: "3.8"
env:
TOXENV: "msgpack"
Expand All @@ -62,6 +38,12 @@ jobs:
- python-version: "3.10"
env:
TOXENV: "json"
- python-version: "3.11"
env:
TOXENV: "msgpack"
- python-version: "3.11"
env:
TOXENV: "json"

steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,16 @@
package_data={'scrapinghub': ['VERSION']},
install_requires=['requests>=1.0', 'retrying>=1.3.3', 'six>=1.10.0'],
extras_require={'msgpack': mpack_required},
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
python_requires='>=3.8',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py{27,35,36,py3,37,38,39}-{json,msgpack}
envlist = py{py3,38,39,310,311}-{json,msgpack}

[testenv]
deps =
Expand Down

0 comments on commit a617210

Please sign in to comment.