Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Add support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
astrojuanlu committed Jan 4, 2020
1 parent be6e9e7 commit cedca5f
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Expand Up @@ -58,6 +58,16 @@ jobs:
PIP_PROGRESS_BAR: "off"
TOXENV: "py37,images"

test_py38:
<<: *test-template
docker:
- image: python:3.8

environment:
PIP_PREFER_BINARY: true
PIP_PROGRESS_BAR: "off"
TOXENV: "py38,images"

coverage:
docker:
- image: python:3.6
Expand Down Expand Up @@ -132,6 +142,9 @@ workflows:
- test_py37:
requires:
- quality
- test_py38:
requires:
- quality
- coverage:
requires:
- quality
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -107,7 +107,7 @@ poliastro requires the following Python packages:
* SciPy, for root finding and numerical propagation

poliastro is usually tested on Linux and Windows on Python
3.6 and 3.7 against latest NumPy.
3.6, 3.7 and 3.8 against latest NumPy.
It should work on OS X without problems.

============== ============ ===================
Expand Down
5 changes: 2 additions & 3 deletions appveyor.yml
Expand Up @@ -21,12 +21,11 @@ branches:

environment:
matrix:
- TOXENV: 'py36'
PYTHON: C:\Python36-x64\python.exe

- TOXENV: 'py37'
PYTHON: C:\Python37-x64\python.exe

- TOXENV: 'py38'
PYTHON: C:\Python38-x64\python.exe
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting_started.rst
Expand Up @@ -15,7 +15,7 @@ poliastro requires a number of Python packages, notably:
* SciPy, for root finding and numerical propagation

poliastro is usually tested on Linux and Windows on Python
3.6 and 3.7 against latest NumPy.
3.6, 3.7 and 3.8 against latest NumPy.
It should work on OS X without problems.

Installation
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Expand Up @@ -24,12 +24,13 @@ classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Astronomy",
]
requires-python = ">=3.6,<3.8"
requires-python = ">=3.6,<3.9"
requires = [
"astropy >=3.2,<5",
"astroquery >=0.3.9",
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Expand Up @@ -7,6 +7,7 @@ envlist =
py35,
py36
py37
py38
pypy,
pypy3,
coverage
Expand All @@ -19,6 +20,7 @@ basepython =
py35: {env:PYTHON:python3.5}
{py36,docs}: {env:PYTHON:python3.6}
py37: {env:PYTHON:python3.7}
py38: {env:PYTHON:python3.8}
{clean,check,reformat,images,coverage}: {env:PYTHON:python3}
setenv =
PYTHONUNBUFFERED=yes
Expand Down

0 comments on commit cedca5f

Please sign in to comment.