Skip to content

Commit 6e936f5

Browse files
authored
add python 3.9 CI configurations (#1112)
* add python 3.9 to build matrix * dependency hell * whatsnew * no nrel-pysam. a few comments
1 parent b9fe754 commit 6e936f5

File tree

5 files changed

+38
-0
lines changed

5 files changed

+38
-0
lines changed

ci/azure/conda_linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
python.version: '37'
1919
Python38:
2020
python.version: '38'
21+
Python39:
22+
python.version: '39'
2123

2224
steps:
2325
- bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin"

ci/azure/conda_windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
python.version: '37'
1515
Python38-windows:
1616
python.version: '38'
17+
Python39-windows:
18+
python.version: '39'
1719

1820
steps:
1921
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"

ci/azure/posix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
python.version: '3.7'
1515
Python38:
1616
python.version: '3.8'
17+
Python39:
18+
python.version: '3.9'
1719

1820
steps:
1921
- task: UsePythonVersion@0

ci/requirements-py39.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: test_env
2+
channels:
3+
- defaults
4+
- conda-forge
5+
dependencies:
6+
- coveralls
7+
- cython
8+
- ephem
9+
# - netcdf4 # pulls in a different version of numpy with ImportError
10+
- nose
11+
# - numba # python 3.9 compat in early 2021
12+
- numpy >= 1.12.0
13+
- pandas >= 0.22.0
14+
- pip
15+
- pytables # tables when using pip+PyPI
16+
- pytest
17+
- pytest-cov
18+
- pytest-mock
19+
- pytest-timeout
20+
- pytest-rerunfailures
21+
- pytest-remotedata
22+
- python=3.9
23+
- pytz
24+
- requests
25+
- scipy >= 1.2.0
26+
- shapely # pvfactors dependency
27+
# - siphon # conda-forge
28+
- statsmodels
29+
- pip:
30+
# - nrel-pysam>=2.0 # install error on windows
31+
- pvfactors==1.4.1

docs/sphinx/source/whatsnew/v0.8.1.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Testing
4141
~~~~~~~
4242
* Add airspeed velocity performance testing configuration and a few benchmarks.
4343
(:issue:`419`, :pull:`1049`, :pull:`1059`)
44+
* Add Python 3.9 CI configurations. (:issue:`1102`, :pull:`1112`)
4445

4546
Documentation
4647
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)