Skip to content

Commit

Permalink
Revert "Add selectors34 fallback for py27 under 64-bit Win"
Browse files Browse the repository at this point in the history
This reverts commit e996f20.

Thanks to @sethmlarson who published `selectors==2.0.2` on PyPI
we no longer need a fallback to `selectors34`.

Ref: https://twitter.com/sethmlarson/status/1285706586514751489
  • Loading branch information
webknjaz committed Jul 21, 2020
1 parent e996f20 commit dc2c17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions cheroot/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
try:
import selectors # lgtm [py/unused-import]
except ImportError:
try:
import selectors2 as selectors # noqa: F401 # lgtm [py/unused-import]
except ImportError:
import selectors34 as selectors # noqa: F401 # lgtm [py/unused-import]
import selectors2 as selectors # noqa: F401 # lgtm [py/unused-import]

try:
import ssl
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ setup_requires =
# These are required in actual runtime:
install_requires =
backports.functools_lru_cache; python_version < '3.3'
selectors2; python_version < '3.4' and (sys_platform != "win32" or (sys_platform == "win32" and python_version >= '3.0'))
selectors34; python_version < '3.0' and sys_platform == "win32"
selectors2; python_version< '3.4'
six>=1.11.0
more_itertools>=2.6
jaraco.functools
Expand Down

0 comments on commit dc2c17d

Please sign in to comment.