Skip to content

Commit

Permalink
Merge pull request #140 from openscm/cftime-wheel-handling
Browse files Browse the repository at this point in the history
Workaround lack of wheel for cftime on windows with Python 3.6
  • Loading branch information
znicholls committed Jan 20, 2021
2 parents ff374ee + 729f78e commit 6012b2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-pypi-install.yml
Expand Up @@ -18,6 +18,13 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
# no windows wheel for Python 3.6 cftime 1.3.1
# https://github.com/Unidata/cftime/issues/224
- name: Install cftime 1.3.0 (${{ runner.os }})
if: startsWith(runner.os, 'Windows') && endsWith(matrix.python-version, '3.6')
run: |
pip install --upgrade --user pip wheel
pip install cftime==1.3.0
- name: Install package
# avoid installing pre-releases of non-scmdata packages
run: |
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rst
Expand Up @@ -4,6 +4,7 @@ Changelog
master
------

- (`#140 <https://github.com/openscm/scmdata/pull/140>`_) Add workaround for installing scmdata with Python 3.6 on windows to handle lack of cftime 1.3.1 wheel
- (`#138 <https://github.com/openscm/scmdata/pull/138>`_) Add :meth:`ScmRun.quantiles_over`
- (`#137 <https://github.com/openscm/scmdata/pull/137>`_) Fix :meth:`scmdata.ScmRun.to_csv` so that writing and reading is circular (i.e. you end up where you started if you write a file and then read it straight back into a new :obj:`scmdata.ScmRun` instance)

Expand Down

0 comments on commit 6012b2b

Please sign in to comment.