From 9bb723c56005efe76906e9b8b7ff159588dc4969 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 06:45:53 -0600 Subject: [PATCH 01/15] prod: drop python 3.9 per MPL --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8fc3d3307..11185a5fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ maintainers = [ ] description = "A succinct matplotlib wrapper for making beautiful, publication-quality graphics." readme = "README.rst" -requires-python = ">=3.9, <3.12" +requires-python = ">=3.10,<4" license = {text = "MIT"} classifiers = [ "License :: OSI Approved :: MIT License", From 15c3fbde8bed48162d25d8b4f86da72f858b96cb Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 06:52:06 -0600 Subject: [PATCH 02/15] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 11185a5fc..5eb3c87fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ maintainers = [ ] description = "A succinct matplotlib wrapper for making beautiful, publication-quality graphics." readme = "README.rst" -requires-python = ">=3.10,<4" +requires-python = ">=3.10,<3.14" license = {text = "MIT"} classifiers = [ "License :: OSI Approved :: MIT License", From 4da1911e1c938e91d410aaf74ce8ebdc971eb2ae Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 06:57:37 -0600 Subject: [PATCH 03/15] Update environment-dev.yml --- environment-dev.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/environment-dev.yml b/environment-dev.yml index 040f3ec83..1259bd045 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -2,7 +2,7 @@ name: ultraplot-dev channels: - conda-forge dependencies: - - python>=3.9,<3.12 + - python>=3.9,<3.14 - numpy>=2.2 - matplotlib>=3.9.3 - cartopy @@ -13,13 +13,13 @@ dependencies: - pytest-mpl - jupyter - pip + - basemap + - pint + - sphinx + - nbsphinx + - jupytext + - sphinx-copybutton + - sphinx-autoapi + - sphinx-automodapi - pip: - - basemap - - pint - - sphinx - - jupytext - - nbsphinx - - sphinx-copybutton - - sphinx-autoapi - git+https://github.com/ultraplot/UltraTheme.git - - sphinx-automodapi From 798552a2378c1f91422c28ccd691d88c82d0dba0 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 06:59:52 -0600 Subject: [PATCH 04/15] Update environment-dev.yml --- environment-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment-dev.yml b/environment-dev.yml index 1259bd045..8aec4effe 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -3,7 +3,7 @@ channels: - conda-forge dependencies: - python>=3.9,<3.14 - - numpy>=2.2 + - numpy - matplotlib>=3.9.3 - cartopy - xarray From caecbbc94cb172d489c7457ab18c95b99f0172ef Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 07:02:38 -0600 Subject: [PATCH 05/15] Apply suggestions from code review --- environment-dev.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/environment-dev.yml b/environment-dev.yml index 8aec4effe..8601c8c71 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -2,9 +2,9 @@ name: ultraplot-dev channels: - conda-forge dependencies: - - python>=3.9,<3.14 + - python>=3.10,<3.14 - numpy - - matplotlib>=3.9.3 + - matplotlib>=3.9 - cartopy - xarray - seaborn From a99f15e992beb5a3e8e96498f78e1f0b007aa497 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 07:19:06 -0600 Subject: [PATCH 06/15] Apply suggestions from code review --- environment-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment-dev.yml b/environment-dev.yml index 8601c8c71..a913a723d 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -13,7 +13,6 @@ dependencies: - pytest-mpl - jupyter - pip - - basemap - pint - sphinx - nbsphinx @@ -23,3 +22,4 @@ dependencies: - sphinx-automodapi - pip: - git+https://github.com/ultraplot/UltraTheme.git + - basemap From 518e9f3045b793e3a4eeabbe729c06c437ba652b Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 07:54:00 -0600 Subject: [PATCH 07/15] Delete docs/environment.yml --- docs/environment.yml | 49 -------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 docs/environment.yml diff --git a/docs/environment.yml b/docs/environment.yml deleted file mode 100644 index f7c895ecf..000000000 --- a/docs/environment.yml +++ /dev/null @@ -1,49 +0,0 @@ -# Hard requirements for notebook examples and documentation build -# WARNING: Keep this up-to-date with ci/environment.yml -# * basemap is broken as of matplotlib >= 3.3 so for documentation -# use 3.2.1. Probably lots of basemap holdouts for next ~5 years. -# * basemap geography is weird with the geos >= 3.9.0 required by cartopy >= -# 0.19, but important to use 0.19 becuase it fixes padding, so live with it. -# * pyqt5 is needed by pyplot, RTD server *happens* to already have it -# but creating local environment will fail. -# * jinja >= 3.0 and nbsphinx >= 0.8.2 seem to break default ReST roles when -# jupytext notebooks are converted to HTML. Interpreted as italics instead. -# * markupsafe >= 2.1.0 seems to be broken with jinja < 3.0 so also have to -# manually specify that: https://github.com/pallets/markupsafe/issues/284 -# * docutils >= 0.17 breaks bullet points. See the following thread -# for more info: https://github.com/readthedocs/sphinx_rtd_theme/issues/1115 -name: ultraplot-dev -channels: - - conda-forge - - defaults -dependencies: - - cartopy - - docutils - - ipykernel - - jinja2 - - jupytext - - markupsafe - - matplotlib>=3.9.1 - - numpy>=1.26.0,<2 - - pandas - - pandoc - - pint - - pip - - pyqt - - pytest - - python - - seaborn - - setuptools==72.1.0 - - xarray - - pip: - - .. - - basemap - - sphinx-autoapi - - basemap-data-hires - # - git+https://github.com/ultraplot-dev/sphinx-automodapi@ultraplot-mods - - sphinx-automodapi - - nbsphinx - - sphinx>=7,<8 - - sphinx-copybutton - - sphinx-rtd-theme==2.1.0rc2 - - git+https://github.com/ultraplot/UltraTheme.git From 24ce2fc969e3d44ae74b447f7704c54400cfc1ee Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 07:56:27 -0600 Subject: [PATCH 08/15] Update environment-dev.yml --- environment-dev.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment-dev.yml b/environment-dev.yml index a913a723d..35a1fef3e 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -20,6 +20,7 @@ dependencies: - sphinx-copybutton - sphinx-autoapi - sphinx-automodapi + - sphinx-rtd-theme - pip: - git+https://github.com/ultraplot/UltraTheme.git - basemap From d80a25ba781e12288a6a0cb0271a7d01ff5a6450 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 08:02:39 -0600 Subject: [PATCH 09/15] Apply suggestions from code review --- environment-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment-dev.yml b/environment-dev.yml index 35a1fef3e..f12ad17f6 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -21,6 +21,6 @@ dependencies: - sphinx-autoapi - sphinx-automodapi - sphinx-rtd-theme + - base - pip: - git+https://github.com/ultraplot/UltraTheme.git - - basemap From b7ec2439fe57e511189c6cfaf139445ffd5b2b9c Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 08:04:09 -0600 Subject: [PATCH 10/15] Update environment-dev.yml --- environment-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment-dev.yml b/environment-dev.yml index f12ad17f6..7de68a3eb 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -21,6 +21,6 @@ dependencies: - sphinx-autoapi - sphinx-automodapi - sphinx-rtd-theme - - base + - basemap - pip: - git+https://github.com/ultraplot/UltraTheme.git From 2f24770c35ffd991dded0eae6f522e1b8013c2c5 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 08:44:53 -0600 Subject: [PATCH 11/15] Update environment-dev.yml --- environment-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment-dev.yml b/environment-dev.yml index 7de68a3eb..f2e15a0eb 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -21,6 +21,6 @@ dependencies: - sphinx-autoapi - sphinx-automodapi - sphinx-rtd-theme - - basemap + - basemap >=1.4.1 - pip: - git+https://github.com/ultraplot/UltraTheme.git From 48b22f4707bc58608008fa74b67f199f1e2f539c Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 15:57:27 -0600 Subject: [PATCH 12/15] Update environment-dev.yml --- environment-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment-dev.yml b/environment-dev.yml index f2e15a0eb..336ba4aa0 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -2,7 +2,7 @@ name: ultraplot-dev channels: - conda-forge dependencies: - - python>=3.10,<3.14 + - python>=3.10,<3.13 - numpy - matplotlib>=3.9 - cartopy From 2946691a99862fe941f8a1f2c379429d574295d9 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 15:57:33 -0600 Subject: [PATCH 13/15] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5eb3c87fe..42be755e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ maintainers = [ ] description = "A succinct matplotlib wrapper for making beautiful, publication-quality graphics." readme = "README.rst" -requires-python = ">=3.10,<3.14" +requires-python = ">=3.10,<3.13" license = {text = "MIT"} classifiers = [ "License :: OSI Approved :: MIT License", From ae5298dbb63beb93b2e15c5672f85d529a32ddf6 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 15:59:08 -0600 Subject: [PATCH 14/15] Update environment.yml --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 1473c0303..6485e16a1 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge - nodefaults dependencies: - - python >=3.9, <3.12 + - python>=3.9,<3.13 - pytest - pytest-mpl - numpy>=1.20.0 From 5f79ff455a7edaaf0d72fe7e2586ef8a7b948a0a Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 28 Jan 2025 16:01:38 -0600 Subject: [PATCH 15/15] Update .readthedocs.yml --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 92e420fa7..385709145 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -18,7 +18,7 @@ build: conda: - environment: ./docs/environment.yml + environment: ./environment-dev.yml sphinx: configuration: ./docs/conf.py