Skip to content

Commit

Permalink
Moving up to Python 3.8 and 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsaxe committed Oct 13, 2021
1 parent 2e12027 commit 9a96838
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/BranchCI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
light-ci:
name: Lint ubuntu-latest Py3.8
name: Lint ubuntu-latest Py3.9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -20,7 +20,7 @@ jobs:
# More info on options: https://github.com/conda-incubator/setup-miniconda
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
python-version: 3.9
environment-file: devtools/conda-envs/test_env.yaml
activate-environment: test
auto-update-conda: false
Expand All @@ -46,5 +46,5 @@ jobs:
with:
file: ./coverage.xml
flags: unittests
name: codecov-ubuntu-latest-py3.8
name: codecov-ubuntu-latest-py3.9

6 changes: 3 additions & 3 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
lint:
name: Lint ubuntu-latest Py3.8
name: Lint ubuntu-latest Py3.9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -31,7 +31,7 @@ jobs:
# More info on options: https://github.com/conda-incubator/setup-miniconda
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
python-version: 3.9
environment-file: devtools/conda-envs/test_env.yaml
activate-environment: test
auto-update-conda: false
Expand All @@ -56,7 +56,7 @@ jobs:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
python-version: [3.7, 3.8]
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v1
- name: Additional info about the build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push

jobs:
docs:
name: Docs ubuntu-latest Py3.8
name: Docs ubuntu-latest Py3.9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -20,7 +20,7 @@ jobs:
# More info on options: https://github.com/conda-incubator/setup-miniconda
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
python-version: 3.9
environment-file: devtools/conda-envs/test_env.yaml
activate-environment: test
auto-update-conda: false
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/Release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
lint:
name: Lint ubuntu-latest Py3.8
name: Lint ubuntu-latest Py3.9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -21,7 +21,7 @@ jobs:
# More info on options: https://github.com/conda-incubator/setup-miniconda
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
python-version: 3.9
environment-file: devtools/conda-envs/test_env.yaml
activate-environment: test
auto-update-conda: false
Expand All @@ -46,7 +46,7 @@ jobs:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
python-version: [3.7, 3.8]
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v1
- name: Additional info about the build
Expand Down Expand Up @@ -80,18 +80,18 @@ jobs:
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}

deploy:
name: PyPi ubuntu-latest Py3.8
name: PyPi ubuntu-latest Py3.9
# Run only for tagged releases publishing development or release candidates
# only to test.pypi, otherwise to both it and the main pypi.
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9
- name: Install package
shell: bash -l {0}
run: |
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 9a96838

Please sign in to comment.