Skip to content

Commit

Permalink
DOC/CI: Prepare for v0.24 release
Browse files Browse the repository at this point in the history
- Release notes
- Add Python 3.13 tests and builds
  • Loading branch information
greglucas committed Oct 7, 2024
1 parent c054cdf commit c679046
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13-dev']
use-network: [true]
include:
- os: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
)
echo "include=$MATRIX" >> $GITHUB_OUTPUT
env:
CIBW_BUILD: "cp310-* cp311-* cp312-*"
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
# Skip 32 bit builds and musllinux due to lack of numpy wheels
CIBW_SKIP: "*-win32 *_i686 *-musllinux*"
CIBW_ARCHS_MACOS: x86_64 arm64
Expand Down
5 changes: 3 additions & 2 deletions docs/make_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def utm_plot():

COASTLINE_RESOLUTION = {ccrs.OSNI: '10m',
ccrs.OSGB: '50m',
ccrs.EuroPP: '50m'}
ccrs.EuroPP: '50m',
ccrs.LambertZoneII: '10m'}


PRJ_SORT_ORDER = {'PlateCarree': 1,
Expand All @@ -91,7 +92,7 @@ def utm_plot():
'Orthographic': 2, 'UTM': 2, 'AlbersEqualArea': 2,
'AzimuthalEquidistant': 2, 'Sinusoidal': 2,
'InterruptedGoodeHomolosine': 3, 'RotatedPole': 3,
'OSGB': 4, 'EuroPP': 5,
'OSGB': 4, 'LambertZoneII': 4.1, 'EuroPP': 5,
'Geostationary': 6, 'NearsidePerspective': 7,
'EckertI': 8.1, 'EckertII': 8.2, 'EckertIII': 8.3,
'EckertIV': 8.4, 'EckertV': 8.5, 'EckertVI': 8.6}
Expand Down
16 changes: 16 additions & 0 deletions docs/source/reference/projections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,22 @@ OSGB
ax.gridlines()


LambertZoneII
-------------

.. autoclass:: cartopy.crs.LambertZoneII

.. plot::

import matplotlib.pyplot as plt
import cartopy.crs as ccrs

plt.figure(figsize=(3.2687, 3))
ax = plt.axes(projection=ccrs.LambertZoneII())
ax.coastlines(resolution='10m')
ax.gridlines()


EuroPP
------

Expand Down
1 change: 1 addition & 0 deletions docs/source/whatsnew/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Versions
.. toctree::
:maxdepth: 2

v0.24
v0.23
v0.22
v0.21
Expand Down
30 changes: 30 additions & 0 deletions docs/source/whatsnew/v0.24.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Version 0.24 (October 7, 2024)
==============================

Python 3.13 and Numpy 2 are supported and the new minimum supported versions
of dependencies that have been updated are:

* Python 3.10
* Matplotlib 3.6

Features
--------

* Ryan May fixed some internal usages of PlateCarree coordinates to use geodetic lat/lon
coordinates of the proper ellipse, improving boundary handling for some projections. (:pull:`2378`)

* Ruth Comer added more improvements to gridlines, including title adjustments to avoid overlaps. (:pull:`2393`)

* Eric Matti fixed an issue with gouraud shading when using wrapped coordinates in a pcolormesh. (:pull:`2401`)

* Raphael Quast added the ability to use multi-path geometries as boundaries of the maps.
This means that an Axes doesn't have to be fully connected anymore and can be separate
land masses and avoid the oceans if a user wants. (:pull:`2362`)

* Thibault Hallouin added the Lambert Zone II (epsg:27572) projection, which is widely
used for maps of mainland France. (:pull:`2427`)

Deprecations and Removals
-------------------------

There are no new deprecations or removals in this release.

0 comments on commit c679046

Please sign in to comment.