Skip to content

Commit 03497d2

Browse files
authored
bump dependencies (#132)
* bump dependencies * changelog
1 parent 024d02e commit 03497d2

File tree

6 files changed

+28
-24
lines changed

6 files changed

+28
-24
lines changed

CHANGELOG.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@
55
### Breaking changes
66

77
- Removed support for python 3.9 ([#130](https://github.com/mathause/mplotutils/pull/130)).
8-
- The minimum versions of some dependencies were changed ([#117](https://github.com/mathause/mplotutils/pull/117) and [#118](https://github.com/mathause/mplotutils/pull/118)).
9-
10-
| Package | Old | New |
11-
| ----------- | ---- | ------- |
12-
| matplotlib* | 3.6 | 3.7 |
8+
- The minimum versions of some dependencies were changed ([#132](https://github.com/mathause/mplotutils/pull/132)).
9+
10+
| Package | Old | New |
11+
| ----------- | ------ | ------- |
12+
| cartopy | 0.21 | 0.22 |
13+
| matplotlib | 3.6 | 3.8 |
14+
| numpy | 1.22 | 1.24 |
15+
| seaborn | 0.12 | 0.13 |
16+
| xarray | 2022.12| 2023.9 |
1317

1418
### Enhancements
1519

ci/requirements/min-all-deps.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ channels:
44
- nodefaults
55
dependencies:
66
- python=3.10
7-
- cartopy=0.21
8-
- matplotlib-base=3.7
9-
- numpy=1.22
10-
- seaborn=0.12
11-
- xarray=2022.12
7+
- cartopy=0.22
8+
- matplotlib-base=3.8
9+
- numpy=1.24
10+
- seaborn=0.13
11+
- xarray=2023.9
1212
# for testing
1313
- pytest
1414
- pytest-cov

docs/installation.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
## Required dependencies
44

55
- Python (3.10 or later)
6-
- [cartopy](http://scitools.org.uk/cartopy/) (0.21 or later)
7-
- [matplotlib](http://matplotlib.org/) (3.7 or later)
8-
- [numpy](http://www.numpy.org/) (1.22 or later)
6+
- [cartopy](http://scitools.org.uk/cartopy/) (0.22 or later)
7+
- [matplotlib](http://matplotlib.org/) (3.8 or later)
8+
- [numpy](http://www.numpy.org/) (1.24 or later)
99

1010
## Optional dependencies
1111

12-
- [seaborn](https://seaborn.pydata.org/) (0.12 or later)
13-
- [xarray](http://xarray.pydata.org/) (2022.12 or later)
12+
- [seaborn](https://seaborn.pydata.org/) (0.13 or later)
13+
- [xarray](http://xarray.pydata.org/) (2023.9 or later)
1414

1515
## Instructions
1616

mplotutils/xrcompat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
def infer_interval_breaks(x, y, clip=False):
1010
"""find edges of gridcells, given their centers"""
1111

12-
# TODO: require cartopy >= 0.21 when removing this function
12+
# TODO: require cartopy >= 0.21 before removing this function
1313
warnings.warn(
1414
"It's no longer necessary to compute the edges of the array. This is now done "
1515
"in matplotlib. This function will be removed from mplotutils in a future "

requirements.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# it exists to let GitHub build the repository dependency graph
33
# https://help.github.com/en/github/visualizing-repository-data-with-graphs/listing-the-packages-that-a-repository-depends-on
44

5-
cartopy >= 0.21
6-
matplotlib >= 3.7
7-
numpy >= 1.22
8-
xarray >= 2022.12
5+
cartopy >= 0.22
6+
matplotlib >= 3.8
7+
numpy >= 1.24
8+
xarray >= 2023.9

setup.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.htm
2424
include_package_data = True
2525
python_requires = >=3.10
2626
install_requires =
27-
cartopy >=0.21
28-
matplotlib >=3.7
29-
numpy >=1.22
30-
xarray >=2022.12
27+
cartopy >=0.22
28+
matplotlib >=3.8
29+
numpy >=1.24
30+
xarray >=2023.9
3131

3232
[flake8]
3333
ignore=

0 commit comments

Comments
 (0)