Skip to content

Commit 67e37c6

Browse files
authored
Merge pull request #462 from itamarst/461-python-3.9
Support for Python 3.9
2 parents 4340b24 + 292a292 commit 67e37c6

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
python-version: ["3.6", "3.7", "3.8", "pypy3"]
18+
python-version: ["3.6", "3.7", "3.8", "3.9", "pypy3"]
1919

2020
steps:
2121
- uses: "actions/checkout@v2"

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Eliot supports a range of use cases and 3rd party libraries:
2929

3030
Eliot is only used to generate your logs; you will might need tools like Logstash and ElasticSearch to aggregate and store logs if you are using multiple processes across multiple machines.
3131

32-
Eliot supports Python 3.5, 3.6, 3.7, and 3.8, as well as PyPy3.
32+
Eliot supports Python 3.6, 3.7, 3.8, and 3.9, as well as PyPy3.
3333
It is maintained by Itamar Turner-Trauring, and released under the Apache 2.0 License.
3434

3535
Python 2.7 is in legacy support mode, with the last release supported being 1.7; see `here <https://eliot.readthedocs.io/en/stable/python2.html>`_ for details.

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Eliot is only used to generate your logs; you might still need tools like Logsta
2828
* **Start here:** :doc:`Quickstart documentation <quickstart>`
2929
* Need help or have any questions? `File an issue <https://github.com/itamarst/eliot/issues/new>`_.
3030
* Eliot is licensed under the `Apache 2.0 license <https://github.com/itamarst/eliot/blob/master/LICENSE>`_, and the source code is `available on GitHub <https://github.com/itamarst/eliot>`_.
31-
* Eliot supports Python 3.8, 3.7, 3.6, and 3.5, as well as PyPy3.
31+
* Eliot supports Python 3.9, 3.8, 3.7, 3.6, and PyPy3.
3232
Python 2.7 is in legacy support mode (see :ref:`python2` for details).
3333
* **Commercial support** is available from `Python⇒Speed <https://pythonspeed.com/services/#eliot>`_.
3434
* Read on for the full documentation.

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ def read(path):
1818
"Operating System :: OS Independent",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.5",
2221
"Programming Language :: Python :: 3.6",
2322
"Programming Language :: Python :: 3.7",
2423
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
2525
"Programming Language :: Python :: Implementation :: CPython",
2626
"Programming Language :: Python :: Implementation :: PyPy",
2727
"Topic :: System :: Logging",
@@ -30,7 +30,7 @@ def read(path):
3030
version=versioneer.get_version(),
3131
cmdclass=versioneer.get_cmdclass(),
3232
description="Logging library that tells you why it happened",
33-
python_requires=">=3.5.3",
33+
python_requires=">=3.6.0",
3434
install_requires=[
3535
# Python 3 compatibility:
3636
"six",
@@ -54,6 +54,7 @@ def read(path):
5454
# Tasteful testing for Python:
5555
"testtools",
5656
"pytest",
57+
"pytest-xdist",
5758
],
5859
"dev": [
5960
# Ensure we can do python_requires correctly:

tox.ini

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py38-numpy, py36, py37, pypy3, py38,
2+
envlist = py38-numpy, py36, py37, pypy3, py38, py39,
33
py38-twisted-latest,
44
linters3, sphinx
55

@@ -8,25 +8,25 @@ python =
88
3.6: py36
99
3.7: py37, linters3, sphinx
1010
3.8: py38, py38-numpy, py38-twisted-latest
11+
3.9: py39
1112
pypy3: pypy3
1213

1314
[testenv]
1415
commands =
1516
{envpython} setup.py --version
1617
pip install .[test]
1718
pip list
18-
{envpython} -m unittest {posargs:discover -v eliot.tests}
19+
{envpython} -m pytest -n 2
1920

2021
## No Twisted ##
2122
[testenv:py38-numpy]
2223
basepython = python3.8
2324
deps = numpy
24-
dask[bag]==1.2.1
25+
dask[bag]
2526

2627
[testenv:py36]
2728
basepython = python3.6
28-
deps = cffi
29-
pyinstaller
29+
deps =
3030

3131
[testenv:py37]
3232
basepython = python3.7
@@ -38,6 +38,11 @@ deps = cffi
3838

3939
[testenv:py38]
4040
basepython = python3.8
41+
deps = cffi
42+
pyinstaller
43+
44+
[testenv:py39]
45+
basepython = python3.9
4146
deps =
4247

4348
[testenv:py38-twisted-latest]
@@ -56,7 +61,7 @@ deps = pyflakes
5661
basepython = python3.7
5762
commands =
5863
pyflakes eliot
59-
black --check --target-version=py35 eliot
64+
black --check --target-version=py36 eliot
6065

6166
[testenv:sphinx]
6267
deps = sphinx

0 commit comments

Comments
 (0)