Skip to content

Commit

Permalink
Remove 3.5 support. (#23)
Browse files Browse the repository at this point in the history
Aiohttp dropped support for 4.0+, and so did frozenlist 1.0.0.
  • Loading branch information
mjpieters committed Nov 11, 2019
1 parent 2cf3a76 commit 8aa1ded
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Installation

$ pip install aiosignal

The library requires Python 3.5.3 or newer.
The library requires Python 3.6 or newer.


Documentation
Expand All @@ -73,8 +73,8 @@ Feel free to post your questions and ideas here.
Requirements
============

- Python >= 3.5.3
- frozenlist >= 1.0.0a0
- Python >= 3.6
- frozenlist >= 1.0.0

License
=======
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import io
import os
import re
import sys


_docs_path = os.path.dirname(__file__)
_version_path = os.path.abspath(os.path.join(_docs_path,
Expand Down
5 changes: 3 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Installation
$ pip install aiosignal
The library requires Python 3.5.3 or newer.
The library requires Python 3.6 or newer.

Dependencies
------------
Expand All @@ -71,7 +71,8 @@ Feel free to post your questions and ideas here.
Requirements
============

- Python >= 3.5.3
- Python >= 3.6
- frozenlist >= 1.0.0

License
=======
Expand Down
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

from setuptools import setup

if sys.version_info < (3, 5, 3):
raise RuntimeError("aiosignal 1.x requires Python 3.5.3+")
if sys.version_info < (3, 6):
raise RuntimeError("aiosignal 1.x requires Python 3.6+")


here = pathlib.Path(__file__).parent
Expand All @@ -19,7 +19,7 @@
raise RuntimeError('Unable to determine version.')

install_requires = [
'frozenlist>=1.0.0a0',
'frozenlist>=1.0.0',
]


Expand All @@ -38,7 +38,6 @@ def read(f):
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Development Status :: 5 - Production/Stable',
Expand All @@ -63,7 +62,7 @@ def read(f):
},
license='Apache 2',
packages=['aiosignal'],
python_requires='>=3.5.3',
python_requires='>=3.6',
install_requires=install_requires,
include_package_data=True,
)
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]

envlist = check, clean, {py35,py36,py37}-{debug,release}, report
envlist = check, clean, {py36,py37,py38}-{debug,release}, report

[testenv]

Expand All @@ -20,9 +20,9 @@ setenv =
debug: PYTHONASYNCIODEBUG = 1

basepython:
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8

[testenv:check]

Expand All @@ -37,7 +37,7 @@ commands =
python setup.py check -rms

basepython:
python3.6
python3.7

[testenv:clean]

Expand All @@ -48,7 +48,7 @@ commands =
coverage erase

basepython:
python3.6
python3.7

[testenv:report]

Expand All @@ -64,4 +64,4 @@ whitelist_externals =
echo

basepython:
python3.6
python3.7

0 comments on commit 8aa1ded

Please sign in to comment.