Skip to content

Commit 2676e04

Browse files
authored
Merge pull request #3901 from bcmyguest/chore/python-311
chore: #3847 Update min python version to 3.11
2 parents 8975392 + 5eb9e9d commit 2676e04

21 files changed

Lines changed: 45 additions & 65 deletions

.github/workflows/docs-conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
include:
25-
- python-version: '3.10'
25+
- python-version: 3.11
2626
os: Windows
2727
- python-version: 3.11
2828
os: macOS

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
python-version: ['3.10', 3.11, 3.12]
27+
python-version: [3.11, 3.12]
2828
check-links: [false]
2929
include:
3030
- python-version: 3.13

.github/workflows/tests-conda.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
python-version: ['3.10', 3.13]
31+
python-version: [3.11, 3.13]
3232
os: [macOS, Windows]
3333
include:
34-
- python-version: 3.11
35-
os: Windows
3634
- python-version: 3.12
3735
os: macOS
3836

.github/workflows/tests-pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
python-version: ['3.10', 3.11, 3.12, 3.13]
28+
python-version: [3.11, 3.12, 3.13]
2929
dep-versions: [Latest]
3030
no-extras: ['']
3131
include:
32-
- python-version: '3.10'
32+
- python-version: '3.11'
3333
dep-versions: Minimum
34-
- python-version: '3.10'
34+
- python-version: '3.11'
3535
dep-versions: Minimum
3636
no-extras: 'No Extras'
3737
- python-version: 3.13

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,9 @@ MetPy documentation via the `gh-pages` branch on GitHub.
232232

233233
Unit tests are the lifeblood of the project, as it ensures that we can continue to add and
234234
change the code and stay confident that things have not broken. Running the tests requires
235-
``pytest``, which is easily available through ``conda`` or ``pip``. It was also installed if
236-
you made our default ``devel`` environment.
235+
``pytest``, which is easily available through ``conda``, ``pip``, or after installing the
236+
`test` extras with `uv`. It was also installed if you made our default ``devel``
237+
environment.
237238

238239
### Running Tests
239240

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on a future ``1.x`` version.
3232
For additional MetPy examples not included in this repository, please see the
3333
[MetPy Cookbook on Project Pythia](https://projectpythia.org/metpy-cookbook/index.html).
3434

35-
We support Python >= 3.10.
35+
We support Python >= 3.11.
3636

3737
Need Help?
3838
----------

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ MetPy
1414
=====
1515

1616
MetPy is a collection of tools in Python for reading, visualizing, and performing calculations
17-
with weather data. MetPy supports Python >= 3.10 and is freely available under a permissive
17+
with weather data. MetPy supports Python >= 3.11 and is freely available under a permissive
1818
`open source license <https://github.com/Unidata/MetPy/blob/main/LICENSE>`_.
1919

2020
If you're new to MetPy, check out our :doc:`Getting Started <userguide/startingguide>` guide.

docs/userguide/installguide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Requirements
77
------------
88
In general, MetPy tries to support minor versions of dependencies released within the last two
99
years. For Python itself, that generally means supporting the last two minor releases; MetPy
10-
currently supports Python >= 3.10.
10+
currently supports Python >= 3.11.
1111

1212
.. literalinclude:: ../../pyproject.toml
1313
:start-at: matplotlib

examples/meteogram_metpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(self, fig, dates, probeid, time=None, axis=0):
4646
axis: number that controls the new axis to be plotted (FOR FUTURE)
4747
"""
4848
if not time:
49-
time = dt.datetime.now(dt.timezone.utc)
49+
time = dt.datetime.now(dt.UTC)
5050
self.start = dates[0]
5151
self.fig = fig
5252
self.end = dates[-1]

0 commit comments

Comments
 (0)