From 2f59323e81da3a77a4ccda51d542602f87eea8be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Jun 2025 10:52:05 +0000 Subject: [PATCH 1/2] Bump requests from 2.32.3 to 2.32.4 Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4) --- updated-dependencies: - dependency-name: requests dependency-version: 2.32.4 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8b8bff38..c23d1bd1 100644 --- a/setup.py +++ b/setup.py @@ -110,7 +110,7 @@ def _write_version_file(): "pyproj==3.6.1", "python==3.12.0", "pypdf==4.2.0", - "requests==2.32.3", + "requests==2.32.4", "scipy==1.13.1", "sparselt==0.1.3", "tabulate==0.9.0", From 54dbdd4a6fb59a94961417c7dca591c87d78eddb Mon Sep 17 00:00:00 2001 From: Bob Yantosca Date: Tue, 10 Jun 2025 11:05:13 -0400 Subject: [PATCH 2/2] Bump requests from 2.32.3 to 2.32.4 (Dependabot security fix) docs/environment_files/gcpy_environment_py312.yml docs/environment_files/gcpy_environment_py313.yml - Specify "requests" version 2.32.4, to fix a security issue CHANGELOG.md - Updated accordingly Signed-off-by: Bob Yantosca --- CHANGELOG.md | 26 +++++++++++++++++++ .../gcpy_environment_py312.yml | 2 +- .../gcpy_environment_py313.yml | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e35da5b4..cea4a19f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,32 @@ All notable changes to GCPy will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] - TBD +### Changed +- Bumped `requests` from 2.32.3 to 2.32.4 in environment files to fix a security issue flagged by Dependabot + +### Fixed +- Fix the logic of ravel_1D that creates orbit file for 1D GCHP diagnostic + +## [Unreleased] - TBD +### Added +- Added `create_benchmark_sanity_check_table` routine to `gcpy/benchmark/benchmark_funcs.py` to test if variables are all zero or NaN +- Added a chapter on using code profiling tools in the ReadTheDocs documentatio +n +- Added code profiling scripts (in `gcpy/gcpy/profile`) to read and display output from gprofng and Intel VTune profilers +- Added `check_gchp_emission_diags.py` example script and documentation +- Added new benchmark functions `make_benchmark_collection_2d_var_plots` and `make_benchmark_collection_3d_var_plots` which can be used with any GEOS-Chem output collection +- Added 1-month benchmark comparison plot options for `Budget`, `UVFlux`, and `StateMet` collections (2D and 3D vars separately) which are off by default +- Added `export MPLBACKEND=agg` to `gcpy/benchmark/modules/benchmark_slurm.sh` to request a non-interactive MatPlotLib backend +- Added `method` keyword argument to `make_regridder_*` routines in `regrid.py`, with default value `conservative` + +### Changed +- Updated `gcpy_environment_py313.yml` to use `esmf==8.8.1` and `esmpy==8.8.1` to fix package inconsistency issues + +### Fixed +- Fixed logic error in `compare_varnames` that caused 2D data variables to be flagged as 3D (esp. for GCHP vs GCC comparisons) +- Replaced incorrect collection name `AOD` with `Aerosols` in the GCC vs. GCC 1-month AOD plots + ## [1.6.1] - 2025-03-24 ### Added - Added GCPy environment file `docs/environment_files/gcpy_environment_py313.yml`, which is based on Python 3.13 diff --git a/docs/environment_files/gcpy_environment_py312.yml b/docs/environment_files/gcpy_environment_py312.yml index 66800d57..e271a1c9 100644 --- a/docs/environment_files/gcpy_environment_py312.yml +++ b/docs/environment_files/gcpy_environment_py312.yml @@ -31,7 +31,7 @@ dependencies: - pyproj ==3.6.1 # Python map projections library - python ==3.12.0 # Python language - pypdf ==4.2.0 # PDF utilities (bookmarks, etc.) - - requests ==2.32.3 # HTTP library + - requests ==2.32.4 # HTTP library - scipy ==1.13.1 # Scientific python package - sparselt ==0.1.3 # Regridding earth system model data - tabulate ==0.9.0 # Pretty-printing for column data diff --git a/docs/environment_files/gcpy_environment_py313.yml b/docs/environment_files/gcpy_environment_py313.yml index f2c46d9c..b12c2cfc 100644 --- a/docs/environment_files/gcpy_environment_py313.yml +++ b/docs/environment_files/gcpy_environment_py313.yml @@ -39,7 +39,7 @@ dependencies: - pyproj ==3.7.1 # Python map projections library - python ==3.13 # Python language - pypdf ==5.3.1 # PDF utilities (bookmarks, etc.) - - requests ==2.32.3 # HTTP library + - requests ==2.32.4 # HTTP library - scipy ==1.15.2 # Scientific python package - sparselt ==0.1.3 # Regridding earth system model data - tabulate ==0.9.0 # Pretty-printing for column data