Skip to content

Commit

Permalink
Drop older Python versions (#827)
Browse files Browse the repository at this point in the history
* Drop support for Python 2.7 to 3.7.
  • Loading branch information
itamarst committed Dec 14, 2023
1 parent dd2f0ea commit c606d95
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 24 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ jobs:
fail-fast: false
matrix:
include:
- { py: 2.7, toxenv: py27-epolls, ignore-error: true, os: ubuntu-latest }
- { py: 3.5, toxenv: py35-epolls, ignore-error: true, os: ubuntu-20.04 }
- { py: 3.6, toxenv: py36-epolls, ignore-error: true, os: ubuntu-20.04 }
- { py: 3.7, toxenv: py37-epolls, ignore-error: false, os: ubuntu-latest }
- { py: 3.7, toxenv: py37-poll, ignore-error: false, os: ubuntu-latest }
- { py: 3.7, toxenv: py37-selects, ignore-error: false, os: ubuntu-latest }
- { py: 3.8, toxenv: py38-epolls, ignore-error: false, os: ubuntu-latest }
- { py: 3.8, toxenv: py38-openssl, ignore-error: false, os: ubuntu-latest }
- { py: 3.8, toxenv: py38-poll, ignore-error: false, os: ubuntu-latest }
Expand All @@ -47,7 +41,6 @@ jobs:
- { py: "3.10", toxenv: py310-poll, ignore-error: false, os: ubuntu-latest }
- { py: "3.10", toxenv: py310-selects, ignore-error: false, os: ubuntu-latest }
- { py: "3.10", toxenv: ipv6, ignore-error: false, os: ubuntu-latest }
- { py: pypy2.7, toxenv: pypy2-epolls, ignore-error: true, os: ubuntu-20.04 }
- { py: pypy3.9, toxenv: pypy3-epolls, ignore-error: true, os: ubuntu-20.04 }

steps:
Expand Down
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Unreleased
==========

* Dropped support for Python 3.7 and earlier.

0.33.3
======
* dnspython 2.3.0 raised AttributeError: module 'dns.rdtypes' has no attribute 'ANY' https://github.com/eventlet/eventlet/issues/781
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Apologies for any inconvenience.
Supported Python versions
=========================

Currently CPython 2.7 and 3.4+ are supported, but **2.7 and 3.4 support is deprecated and will be removed in the future**, only CPython 3.5+ support will remain.
Python 3.8-3.11 are currently supported.

Flair
=====
Expand Down
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
author='Linden Lab',
author_email='eventletdev@lists.secondlife.com',
url='http://eventlet.net',
python_requires=">=3.8.0",
project_urls={
'Source': 'https://github.com/eventlet/eventlet',
},
Expand All @@ -38,14 +39,11 @@
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"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",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down
16 changes: 5 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ envlist =
pep8
py38-openssl
py39-dnspython1
py{27,35,36,py2,py3}-epolls
py{37,38,39,310}-{selects,poll,epolls}
pypy3-epolls
py{38,39,310}-{selects,poll,epolls}
skipsdist = True

[testenv:ipv6]
Expand Down Expand Up @@ -63,16 +63,10 @@ setenv =
deps =
coverage==4.5.1
nose3==1.3.8
py27-{selects,poll,epolls}: pyopenssl==19.1.0
py27: mysqlclient==1.4.6
py{27,35}: setuptools==38.5.1
py27: subprocess32==3.2.7
py38-openssl: pyopenssl==20.0.0
pypy{2,3}: psycopg2cffi-compat==1.1
py{27,35}-{selects,poll,epolls}: pyzmq==19.0.2
py{36,37,38,39}-{selects,poll,epolls}: pyzmq==21.0.2
py{27,35,36,37}: psycopg2-binary==2.7.7
py{35,36,37,38,39,310,311}: mysqlclient==2.0.3
pypy3: psycopg2cffi-compat==1.1
py{38,39}-{selects,poll,epolls}: pyzmq==21.0.2
py{38,39,310,311}: mysqlclient==2.0.3
py{38,39}: psycopg2-binary==2.8.4
py{310,311}: psycopg2-binary==2.9.5
py{310,311}: pyzmq==25.0.0
Expand Down

0 comments on commit c606d95

Please sign in to comment.