Skip to content

Commit 6012b2b

Browse files
authored
Merge pull request #140 from openscm/cftime-wheel-handling
Workaround lack of wheel for cftime on windows with Python 3.6
2 parents ff374ee + 729f78e commit 6012b2b

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test-pypi-install.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ jobs:
1818
uses: actions/setup-python@v1
1919
with:
2020
python-version: ${{ matrix.python-version }}
21+
# no windows wheel for Python 3.6 cftime 1.3.1
22+
# https://github.com/Unidata/cftime/issues/224
23+
- name: Install cftime 1.3.0 (${{ runner.os }})
24+
if: startsWith(runner.os, 'Windows') && endsWith(matrix.python-version, '3.6')
25+
run: |
26+
pip install --upgrade --user pip wheel
27+
pip install cftime==1.3.0
2128
- name: Install package
2229
# avoid installing pre-releases of non-scmdata packages
2330
run: |

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Changelog
44
master
55
------
66

7+
- (`#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
78
- (`#138 <https://github.com/openscm/scmdata/pull/138>`_) Add :meth:`ScmRun.quantiles_over`
89
- (`#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)
910

0 commit comments

Comments
 (0)