Skip to content

Commit

Permalink
CI: Work around problems with generating maps on 3.12
Browse files Browse the repository at this point in the history
For now just continue using Python 3.11 for our release docs and avoid
running the generation on 3.12. I'm assuming right now that this problem
will go away when we cease building Cartopy ourselves.
  • Loading branch information
dopplershift committed Nov 1, 2023
1 parent 0c59722 commit 1256b14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Download doc build
uses: actions/download-artifact@v3
with:
name: Linux-3.12-docs
name: Linux-3.11-docs
path: ./docs/build/html

# This overrides the version "dev" with the proper version if we're building off a
Expand Down
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
}

# By default, only generate all the areas when running on a release CI job
metpy_generate_all_areas = not os.environ.get('GITHUB_REF', '').startswith('refs/pull')
metpy_generate_all_areas = (not os.environ.get('GITHUB_REF', '').startswith('refs/pull')
and sys.version_info < (3, 12))

# Turn off code and image links for embedded mpl plots
plot_html_show_source_link = False
Expand Down

0 comments on commit 1256b14

Please sign in to comment.