Skip to content

Commit 4bbdfe3

Browse files
authored
drop support for python 3.7 (#153)
* drop support for python 3.7 * remove python 3.7 from CI * remove the importlib-metadata requirement * changelog * specify the desired python version in the docs * rename the rtd configuration file to the new official name
1 parent bd1a7cf commit 4bbdfe3

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
fail-fast: false
4242
matrix:
43-
python-version: [3.7, 3.8, 3.9]
43+
python-version: [3.8, 3.9]
4444

4545
steps:
4646
- name: cancel previous runs
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
version: 2
22

33
build:
4-
image: latest
4+
os: ubuntu-20.04
5+
tools:
6+
python: "3.9"
57

68
python:
79
install:
@@ -10,4 +12,5 @@ python:
1012
path: .
1113

1214
sphinx:
15+
configuration: docs/conf.py
1316
fail_on_warning: true

docs/whats-new.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
What's new
44
==========
5+
0.3 (*unreleased*)
6+
------------------
7+
- drop support for python 3.7 (:pull:`153`)
8+
By `Justus Magin <https://github.com/keewis>`_.
59

610
0.2.1 (26 Jul 2021)
711
-------------------

setup.cfg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,17 @@ classifiers =
1515
License :: OSI Approved :: Apache Software License
1616
Operating System :: OS Independent
1717
Programming Language :: Python
18-
Programming Language :: Python :: 3.7
1918
Programming Language :: Python :: 3.8
2019
Programming Language :: Python :: 3.9
2120
Topic :: Scientific/Engineering
2221

2322
[options]
2423
packages = find:
25-
python_requires = >=3.7
24+
python_requires = >=3.8
2625
install_requires =
2726
numpy >= 1.17
2827
xarray >= 0.16.1
2928
pint >= 0.16
30-
importlib-metadata; python_version < "3.8"
3129

3230
[flake8]
3331
ignore =

0 commit comments

Comments
 (0)