Merge pull request #5 from brunobord/add-python38-compatibility

Add Python 3.8 compatibility
This commit is contained in:
Bruno Bord 2020-05-05 16:36:22 +02:00 committed by GitHub
commit b8a2911403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 30 deletions

View File

@ -1,25 +1,13 @@
sudo: false
dist: xenial
dist: bionic
language: python
install:
- pip install tox
script:
- tox -e $TOXENV
cache: pip
install: pip install tox tox-travis
script: tox -v
python:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
matrix:
fast_finish: true
include:
# Python version is just for the look on travis.
- python: 2.7
env: TOXENV=py27
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
sudo: true

View File

@ -2,7 +2,10 @@
## master (unreleased)
Nothing here yet.
* Revamped/Simplified Travis configuration.
* Removed tox.ini reference to Python 3.3 builds.
* Warn users that this project is not compatible with Python 2.6.
* Add Python 3.8 compatibility (#1).
## 1.0.0 (2020-05-05)

View File

@ -95,7 +95,9 @@ In order to be able to run the `download.py` script, we recommend to run it **fr
make install-dev
```
*Note:* This project is, and should be compatible with Python 2.6/2.7 and Python 3.5+, to be kept the same Python compatiblity that `skyfield` has.
*Note:* This project is, and should be compatible with Python 2.7 and Python 3.5+ up to 3.8, to keep the same Python compatiblity that `skyfield` has.
**WARNING!**: This project is not compatible with Python 2.6.
## Copyright

View File

@ -21,6 +21,7 @@ classifiers =
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
[options]
zip_safe = false

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,py35,py36,py37
envlist = py27,py35,py36,py37,py38
[testenv]
@ -7,8 +7,3 @@ commands =
pytest -s {posargs}
deps =
.[tests]
[testenv:py33]
deps = .
commands = pip freeze -l