diff --git a/ci/azure/conda_linux.yml b/ci/azure/conda_linux.yml index 4fef14754b..583ac71226 100644 --- a/ci/azure/conda_linux.yml +++ b/ci/azure/conda_linux.yml @@ -18,6 +18,8 @@ jobs: python.version: '37' Python38: python.version: '38' + Python39: + python.version: '39' steps: - bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin" diff --git a/ci/azure/conda_windows.yml b/ci/azure/conda_windows.yml index 3c27f385e0..4b8cf61911 100644 --- a/ci/azure/conda_windows.yml +++ b/ci/azure/conda_windows.yml @@ -14,6 +14,8 @@ jobs: python.version: '37' Python38-windows: python.version: '38' + Python39-windows: + python.version: '39' steps: - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts" diff --git a/ci/azure/posix.yml b/ci/azure/posix.yml index 806cd27e77..cbcdf5694d 100644 --- a/ci/azure/posix.yml +++ b/ci/azure/posix.yml @@ -14,6 +14,8 @@ jobs: python.version: '3.7' Python38: python.version: '3.8' + Python39: + python.version: '3.9' steps: - task: UsePythonVersion@0 diff --git a/ci/requirements-py39.yml b/ci/requirements-py39.yml new file mode 100644 index 0000000000..35a3fa1952 --- /dev/null +++ b/ci/requirements-py39.yml @@ -0,0 +1,31 @@ +name: test_env +channels: + - defaults + - conda-forge +dependencies: + - coveralls + - cython + - ephem + # - netcdf4 # pulls in a different version of numpy with ImportError + - nose + # - numba # python 3.9 compat in early 2021 + - numpy >= 1.12.0 + - pandas >= 0.22.0 + - pip + - pytables # tables when using pip+PyPI + - pytest + - pytest-cov + - pytest-mock + - pytest-timeout + - pytest-rerunfailures + - pytest-remotedata + - python=3.9 + - pytz + - requests + - scipy >= 1.2.0 + - shapely # pvfactors dependency + # - siphon # conda-forge + - statsmodels + - pip: + # - nrel-pysam>=2.0 # install error on windows + - pvfactors==1.4.1 diff --git a/docs/sphinx/source/whatsnew/v0.8.1.rst b/docs/sphinx/source/whatsnew/v0.8.1.rst index c5fd0540fe..0c1b588276 100644 --- a/docs/sphinx/source/whatsnew/v0.8.1.rst +++ b/docs/sphinx/source/whatsnew/v0.8.1.rst @@ -41,6 +41,7 @@ Testing ~~~~~~~ * Add airspeed velocity performance testing configuration and a few benchmarks. (:issue:`419`, :pull:`1049`, :pull:`1059`) +* Add Python 3.9 CI configurations. (:issue:`1102`, :pull:`1112`) Documentation ~~~~~~~~~~~~~