From 8e52faf7327fb32a6dd0675f0b8058783223efff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 17 Jul 2024 09:37:07 -0600 Subject: [PATCH 01/14] [pre-commit.ci] pre-commit autoupdate (#484) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/psf/black: 23.12.1 → 24.4.2](https://github.com/psf/black/compare/23.12.1...24.4.2) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.0) - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.1.0...v4.0.0-alpha.8) - [github.com/nbQA-dev/nbQA: 1.7.1 → 1.8.5](https://github.com/nbQA-dev/nbQA/compare/1.7.1...1.8.5) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/dependabot.yml | 6 +++--- .github/workflows/nightly-build.yaml | 2 +- .github/workflows/trigger-preview.yaml | 2 +- .pre-commit-config.yaml | 10 +++++----- CITATION.cff | 4 ++-- _config.yml | 8 ++++---- core/xarray.md | 2 +- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b4b3fa44f..a0481954d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,8 +4,8 @@ updates: # directory: "/" # schedule: # interval: daily - - package-ecosystem: 'github-actions' - directory: '/' + - package-ecosystem: "github-actions" + directory: "/" schedule: # Check for updates once a week - interval: 'weekly' + interval: "weekly" diff --git a/.github/workflows/nightly-build.yaml b/.github/workflows/nightly-build.yaml index a294afb17..0ce6b9241 100644 --- a/.github/workflows/nightly-build.yaml +++ b/.github/workflows/nightly-build.yaml @@ -3,7 +3,7 @@ name: nightly-build on: workflow_dispatch: schedule: - - cron: '0 0 * * *' # Daily “At 00:00” + - cron: "0 0 * * *" # Daily “At 00:00” jobs: build: diff --git a/.github/workflows/trigger-preview.yaml b/.github/workflows/trigger-preview.yaml index 76da9637e..ba78c8e79 100644 --- a/.github/workflows/trigger-preview.yaml +++ b/.github/workflows/trigger-preview.yaml @@ -17,7 +17,7 @@ jobs: with: artifact_name: book-zip-${{ needs.find-pull-request.outputs.number }} destination_dir: _preview/${{ needs.find-pull-request.outputs.number }} # deploy to subdirectory labeled with PR number - is_preview: 'true' + is_preview: "true" cname: foundations.projectpythia.org preview-comment: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 57608d0f4..33251ba91 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,7 +10,7 @@ repos: - id: double-quote-string-fixer - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.4.2 hooks: - id: black @@ -20,7 +20,7 @@ repos: - id: blackdoc - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.0 hooks: - id: flake8 @@ -34,12 +34,12 @@ repos: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/nbQA-dev/nbQA - rev: 1.7.1 + rev: 1.8.5 hooks: - id: nbqa-black additional_dependencies: [black] diff --git a/CITATION.cff b/CITATION.cff index b1429e19d..878cd6d0e 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,5 +1,5 @@ cff-version: 1.2.0 -message: 'If you use this resource, please cite it as below.' +message: "If you use this resource, please cite it as below." authors: - family-names: Rose given-names: Brian E. J. @@ -69,6 +69,6 @@ authors: orcid: https://orcid.org/0000-0002-2666-8493 website: https://github.com/anissa111 affiliation: UCAR/NCAR -title: 'Pythia Foundations' +title: "Pythia Foundations" version: v2023.05.01 doi: 10.5281/zenodo.7884571 diff --git a/_config.yml b/_config.yml index fabae92c4..a5c38a794 100644 --- a/_config.yml +++ b/_config.yml @@ -5,7 +5,7 @@ title: Pythia Foundations author: the Project Pythia Community logo: images/logos/pythia_logo-white-rtext.svg email: projectpythia@ucar.edu -copyright: '2024' +copyright: "2024" exclude_patterns: - README.md @@ -91,15 +91,15 @@ sphinx: config: nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder) linkcheck_request_headers: - 'https://docs.github.com/': + "https://docs.github.com/": User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0 html_favicon: images/icons/favicon.ico - html_last_updated_fmt: '%-d %B %Y' + html_last_updated_fmt: "%-d %B %Y" html_theme: sphinx_pythia_theme html_permalinks_icon: '' html_theme_options: analytics: - google_analytics_id: 'G-G57FLM9M46' + google_analytics_id: "G-G57FLM9M46" home_page_in_toc: true repository_url: https://github.com/ProjectPythia/pythia-foundations # Online location of your book repository_branch: main # Which branch of the repository should be used when creating links (optional) diff --git a/core/xarray.md b/core/xarray.md index 77be7c8dd..27e827cc0 100644 --- a/core/xarray.md +++ b/core/xarray.md @@ -1,4 +1,4 @@ -![xarray Logo](https://docs.xarray.dev/en/stable/_static/Xarray_Logo_RGB_Final.svg 'xarray Logo') +![xarray Logo](https://docs.xarray.dev/en/stable/_static/Xarray_Logo_RGB_Final.svg "xarray Logo") # Xarray From ebd804aba9d2bbac926c6b7ec1fddbfd0c880d85 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Mon, 22 Jul 2024 18:26:39 -0400 Subject: [PATCH 02/14] Update local environment installation and instructions (#487) * Update conda command syntax * Pin to Python<3.12 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- environment.yml | 4 ++-- preamble/how-to-use.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/environment.yml b/environment.yml index d84da15af..b0cf4723e 100644 --- a/environment.yml +++ b/environment.yml @@ -13,11 +13,11 @@ dependencies: - dask - pyproj - pythia-datasets - - python + - python<3.12 # Waiting on https://github.com/jupyter/jupyter_events/issues/99 - scipy - ffmpeg - xarray - python-graphviz - graphviz - - setuptools>=69.0.3 + - setuptools - sphinx-pythia-theme diff --git a/preamble/how-to-use.md b/preamble/how-to-use.md index e4e887102..c404989e2 100644 --- a/preamble/how-to-use.md +++ b/preamble/how-to-use.md @@ -96,7 +96,7 @@ can be done with two commands from the terminal, one to create the environment and one to activate it: ``` -conda env create --force -f https://raw.githubusercontent.com/ProjectPythia/pythia-foundations/main/environment.yml +conda env create --yes -f https://raw.githubusercontent.com/ProjectPythia/pythia-foundations/main/environment.yml conda activate pythia-book-dev ``` From 86f0dd4cab315a96948ebd624972481903eb8d55 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 15:37:41 -0400 Subject: [PATCH 03/14] [pre-commit.ci] pre-commit autoupdate (#489) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 24.4.2 → 24.8.0](https://github.com/psf/black/compare/24.4.2...24.8.0) - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.1.0...7.1.1) - [github.com/nbQA-dev/nbQA: 1.8.5 → 1.8.7](https://github.com/nbQA-dev/nbQA/compare/1.8.5...1.8.7) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 33251ba91..abf0fc955 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: double-quote-string-fixer - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.8.0 hooks: - id: black @@ -20,7 +20,7 @@ repos: - id: blackdoc - repo: https://github.com/PyCQA/flake8 - rev: 7.1.0 + rev: 7.1.1 hooks: - id: flake8 @@ -39,7 +39,7 @@ repos: - id: prettier - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 + rev: 1.8.7 hooks: - id: nbqa-black additional_dependencies: [black] From 80a71b8ac7e05db81d60de830503e7154215b91a Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Thu, 15 Aug 2024 12:50:56 -0600 Subject: [PATCH 04/14] Jupyter notebooks vs Python scripts syntax (#490) * add a note on notebooks and printing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- foundations/jupyter.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/foundations/jupyter.md b/foundations/jupyter.md index 9fd45a415..763072c7f 100644 --- a/foundations/jupyter.md +++ b/foundations/jupyter.md @@ -81,6 +81,15 @@ jupyter lab —browser=chrome **Congratulations!** You have just set up your first Python environment and run your first Python code in a Jupyter notebook. +
+

Info

+ There are a few code-syntax differences between running Python in a Jupyter notebook and a script: + +
+ ## Saving your notebook and exiting When you are done with your work, it is time to save and exit. From 173510e0107f001dfe78649f4f89712048b58d2d Mon Sep 17 00:00:00 2001 From: Kevin Tyle Date: Mon, 30 Sep 2024 16:41:41 -0400 Subject: [PATCH 05/14] Update installation instructions to use miniforge/mamba (#491) * Miniforge edits part 1 * Eliminate Anaconda distribution references * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- foundations/conda.md | 7 ++++--- foundations/jupyter.md | 11 ++++------- foundations/terminal.md | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/foundations/conda.md b/foundations/conda.md index 5d4174f68..a936bf579 100644 --- a/foundations/conda.md +++ b/foundations/conda.md @@ -31,16 +31,17 @@ Package management is useful because you may want to update a package for one of ## Installing Conda -We recommend you install Miniconda. You can do that by following the [instructions for your machine](https://docs.conda.io/en/latest/miniconda.html). +We recommend you install Miniforge. You can do that by following the [instructions for your machine](https://github.com/conda-forge/miniforge). -Miniconda only comes with the `conda` package management system; it is a pared-down version of the full Anaconda Python distribution. +Miniforge uses the `conda` package management system and is based on Miniconda, which is a pared-down version of the full Anaconda Python distribution. [Installing Anaconda](https://docs.anaconda.com/anaconda/install/) takes longer and uses up more disk space, but provides you with more functionality, including Spyder (a Python-specific integrated development environment or IDE) and Jupyter, in addition to other immediately installed packages. Also, the interface of Anaconda is great if you are uncomfortable with the terminal. -We recommend Miniconda for two reasons: +We recommend Miniforge for these reasons: 1. It's quicker and takes up less disk space. 2. It encourages you to install only the packages you need in reproducible isolated environments for specific projects. This is generally a more robust way to work with open source tools. +3. It uses `conda-forge` as the default channel for packages. Once you have `conda` via the Miniconda installer, the next step is to create an environment and install packages. diff --git a/foundations/jupyter.md b/foundations/jupyter.md index 763072c7f..8211d6e62 100644 --- a/foundations/jupyter.md +++ b/foundations/jupyter.md @@ -24,7 +24,7 @@ You'd like to learn to run Python in a Jupyter session. Here we will cover: To run a Jupyter session, you will need to install some necessary packages into your Conda environment. -Install `miniconda` by following the [instructions for your machine](https://docs.conda.io/en/latest/miniconda.html). +Install `miniforge` by following the [instructions for your machine](https://github.com/conda-forge/miniforge). [Learn more about Conda here](conda.md) @@ -41,11 +41,7 @@ $ conda activate pythia_foundations_env $ jupyter lab ``` -Or you can install the full [Anaconda](https://www.anaconda.com/products/distribution), and select **LAUNCH** under the Jupyter panel in the GUI. - -![Anaconda Navigator](../images/Anaconda.png) - -In both methods, a new window should open automatically in your default browser. You can change the browser when launching from the terminal with (for example): +A new window should open automatically in your default browser. You can change the browser when launching from the terminal with (for example): ``` jupyter lab —browser=chrome @@ -121,4 +117,5 @@ Jupyter notebooks are a free, open-source, interactive tool running inside a web ## Resources and References -- [Anaconda](https://www.anaconda.com/products/distribution) +- [conda-forge](https://conda-forge.org) +- [Miniforge Releases](https://conda-forge.org/miniforge/) diff --git a/foundations/terminal.md b/foundations/terminal.md index 49568964d..866186ebd 100644 --- a/foundations/terminal.md +++ b/foundations/terminal.md @@ -21,7 +21,7 @@ You'd like to learn to run Python in the terminal. Here we will cover: ## Installing Python in the Terminal -If you are running Python in the terminal, it is best to install Miniconda. You can do that by following the [instructions for your machine](https://docs.conda.io/en/latest/miniconda.html). +If you are running Python in the terminal, it is best to install Miniforge. You can do that by following the [instructions for your machine](https://github.com/conda-forge/miniforge). [Learn more about Conda here](conda.md) From b7aa7ced23fa8faf3b56e7e844ad067aae68f7d8 Mon Sep 17 00:00:00 2001 From: Kevin Tyle Date: Tue, 1 Oct 2024 11:30:08 -0400 Subject: [PATCH 06/14] Additional text to justify use of conda-forge (#492) --- foundations/conda.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundations/conda.md b/foundations/conda.md index a936bf579..6fc98f944 100644 --- a/foundations/conda.md +++ b/foundations/conda.md @@ -41,7 +41,7 @@ We recommend Miniforge for these reasons: 1. It's quicker and takes up less disk space. 2. It encourages you to install only the packages you need in reproducible isolated environments for specific projects. This is generally a more robust way to work with open source tools. -3. It uses `conda-forge` as the default channel for packages. +3. It uses `conda-forge` as the default channel for packages, which is our recommended way to get up-to-date, interoperable packages.. Once you have `conda` via the Miniconda installer, the next step is to create an environment and install packages. From 825cdcd18c6e48402a3f9d65ac6cfa635fd5f6f6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:57:44 -0400 Subject: [PATCH 07/14] [pre-commit.ci] pre-commit autoupdate (#493) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/psf/black: 24.8.0 → 24.10.0](https://github.com/psf/black/compare/24.8.0...24.10.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index abf0fc955..b99e69728 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,7 +10,7 @@ repos: - id: double-quote-string-fixer - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black From 030b86c8e44b3135962258a1b7f4b2df08653ae2 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Thu, 24 Oct 2024 12:01:57 -0400 Subject: [PATCH 08/14] Fix broken link about lunar day, and remove dead link to NASA dataset interoperability (#495) * Fix broken link about lunar day * Remove dead link --- core/data-formats/netcdf-cf.ipynb | 3 +-- core/datetime/datetime.ipynb | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/data-formats/netcdf-cf.ipynb b/core/data-formats/netcdf-cf.ipynb index 2abb46f88..d69d572a2 100644 --- a/core/data-formats/netcdf-cf.ipynb +++ b/core/data-formats/netcdf-cf.ipynb @@ -983,7 +983,6 @@ "\n", "- [CF Conventions doc (1.7)](http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html)\n", "- [Jonathan Gregory's old CF presentation](http://cfconventions.org/Data/cf-documents/overview/viewgraphs.pdf)\n", - "- [NASA ESDS \"Dataset Interoperability Recommendations for Earth Science\"](https://earthdata.nasa.gov/user-resources/standards-and-references/dataset-interoperability-recommendations-for-earth-science)\n", "- [CF Data Model (cfdm) python package tutorial](https://ncas-cms.github.io/cfdm/tutorial.html)\n", "- [Tim Whiteaker's cfgeom python package (GitHub repo)](https://github.com/twhiteaker/CFGeom) and [(tutorial)]( https://twhiteaker.github.io/CFGeom/tutorial.html)\n", "- [netCDF4 Documentation](https://unidata.github.io/netcdf4-python/)" @@ -1013,7 +1012,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.9" + "version": "3.11.9" } }, "nbformat": 4, diff --git a/core/datetime/datetime.ipynb b/core/datetime/datetime.ipynb index 4ce443e78..400f4d153 100644 --- a/core/datetime/datetime.ipynb +++ b/core/datetime/datetime.ipynb @@ -351,7 +351,7 @@ "\n", "In these examples, we will look at current data pertaining to coastal tides during a [tropical cyclone storm surge](http://www.nhc.noaa.gov/surge/).\n", "\n", - "The [lunar day](http://oceanservice.noaa.gov/education/kits/tides/media/supp_tide05.html) is 24 hours and 50 minutes; there are two low tides and two high tides in that time duration. If we know the time of the current high tide, we can easily calculate the occurrence of the next low and high tides by using the [timedelta class](https://docs.python.org/3/library/datetime.html#timedelta-objects). (In reality, the *exact time* of tides is influenced by local coastal effects, in addition to the laws of celestial mechanics, but we will ignore that fact for this exercise.)\n", + "The [lunar day](https://tidesandcurrents.noaa.gov/glossary.html#lunarday) is 24 hours and 50 minutes; there are two low tides and two high tides in that time duration. If we know the time of the current high tide, we can easily calculate the occurrence of the next low and high tides by using the [timedelta class](https://docs.python.org/3/library/datetime.html#timedelta-objects). (In reality, the *exact time* of tides is influenced by local coastal effects, in addition to the laws of celestial mechanics, but we will ignore that fact for this exercise.)\n", "\n", "The `timedelta` class is initialized by supplying time duration, usually supplied with [keyword arguments](https://docs.python.org/3/glossary.html#term-argument), to clearly express the length of time. The `timedelta` class allows you to perform arithmetic with dates and times using standard operators (i.e., `+`, `-`, `*`, `/`). You can use these operators with a `timedelta` object, and either another `timedelta` object, a datetime object, or a numeric literal, to obtain objects representing new dates and times.\n", "\n", @@ -554,7 +554,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.9" + "version": "3.11.9" } }, "nbformat": 4, From e198bcae6737bcb813fe850b3e0b9ffb8d72acdf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:56:53 -0700 Subject: [PATCH 09/14] [pre-commit.ci] pre-commit autoupdate (#497) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/nbQA-dev/nbQA: 1.8.7 → 1.9.1](https://github.com/nbQA-dev/nbQA/compare/1.8.7...1.9.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b99e69728..6df5976e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: - id: prettier - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.7 + rev: 1.9.1 hooks: - id: nbqa-black additional_dependencies: [black] From 0a92f878ba00484d7881f6d9bb29a78426bc2916 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Wed, 13 Nov 2024 22:23:57 -0500 Subject: [PATCH 10/14] Remove cname argument to publish-book action (#496) --- .github/workflows/publish-book.yaml | 2 -- .github/workflows/trigger-preview.yaml | 1 - 2 files changed, 3 deletions(-) diff --git a/.github/workflows/publish-book.yaml b/.github/workflows/publish-book.yaml index 2e8fc19d6..71a5ee208 100644 --- a/.github/workflows/publish-book.yaml +++ b/.github/workflows/publish-book.yaml @@ -16,5 +16,3 @@ jobs: deploy: needs: build uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main - with: - cname: foundations.projectpythia.org diff --git a/.github/workflows/trigger-preview.yaml b/.github/workflows/trigger-preview.yaml index ba78c8e79..049b5d0bd 100644 --- a/.github/workflows/trigger-preview.yaml +++ b/.github/workflows/trigger-preview.yaml @@ -18,7 +18,6 @@ jobs: artifact_name: book-zip-${{ needs.find-pull-request.outputs.number }} destination_dir: _preview/${{ needs.find-pull-request.outputs.number }} # deploy to subdirectory labeled with PR number is_preview: "true" - cname: foundations.projectpythia.org preview-comment: needs: find-pull-request From 0f60fa28a83b90bc24ea6826aa31b4a72d3c68a9 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Tue, 19 Nov 2024 11:46:02 -0700 Subject: [PATCH 11/14] Remove prettier from pre-commit (#498) --- .pre-commit-config.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6df5976e8..9edae1986 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,11 +33,6 @@ repos: hooks: - id: isort - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 - hooks: - - id: prettier - - repo: https://github.com/nbQA-dev/nbQA rev: 1.9.1 hooks: From 314eef91f05ad0d9abae5c1f534d56c4b93ce37c Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Tue, 19 Nov 2024 15:03:00 -0500 Subject: [PATCH 12/14] Fix broken link (#500) --- core/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/overview.md b/core/overview.md index c7b207b76..6e63419f4 100644 --- a/core/overview.md +++ b/core/overview.md @@ -98,8 +98,8 @@ Increasingly, these individuals and groups are formally packaging and releasing their code for use within their community. For instance, Andrew Dawson (an atmospheric scientist at Oxford) does a lot of EOF analysis and manipulation of wind data, -so he has released his [eofs](https://ajdawson.github.io/eofs/latest/) -and [windspharm](https://ajdawson.github.io/windspharm/latest/) libraries +so he has released his [eofs](https://ajdawson.github.io/eofs/) +and [windspharm](https://ajdawson.github.io/windspharm/) libraries (which are able to handle data arrays from NumPy or Xarray). Similarly, a group at the Atmospheric Radiation Measurement (ARM) Climate Research Facility have released their Python ARM Radar Toolkit ([Py-ART](http://arm-doe.github.io/pyart/)) From e4616c16eba177c889b77e3e84685ff41d3ecda1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:31:16 -0500 Subject: [PATCH 13/14] [pre-commit.ci] pre-commit autoupdate (#501) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/PyCQA/isort: 5.13.2 → 6.0.0](https://github.com/PyCQA/isort/compare/5.13.2...6.0.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9edae1986..3b41a242b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: hooks: - id: seed-isort-config - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 6.0.0 hooks: - id: isort From fafea42e948a0fb298a271fe9d9b52441c324fa1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2025 12:12:13 -0500 Subject: [PATCH 14/14] [pre-commit.ci] pre-commit autoupdate (#502) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3b41a242b..43b7ce7bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: double-quote-string-fixer - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black