Merged
Conversation
… pip-audit ci pipeline
Contributor
There was a problem hiding this comment.
Pull request overview
Adds automated dependency compatibility/vulnerability auditing in CI and tightens dependency version ranges to reduce breakage from upstream releases.
Changes:
- Constrained several runtime dependency versions in
pyproject.toml(added upper bounds). - Restricted
sphinxto<9for documentation builds. - Added a new GitHub Actions workflow to run
poetry check,pip check,pip-audit, and an import smoke test across Python 3.10–3.13.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
pyproject.toml |
Adds upper bounds to key dependencies and constrains Sphinx for more predictable installs/builds. |
.github/workflows/dependency-audit.yml |
Introduces a CI job matrix to validate dependency consistency and run vulnerability scans. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request focuses on improving dependency management, versioning, and compatibility for the project. The main changes include updates to dependency constraints in
pyproject.toml, the addition of a new GitHub Actions workflow for dependency auditing, and enhancements to CI checks to enforce version bumps and compatibility.Dependency and compatibility updates:
pyproject.tomlto specify upper bounds for core dependencies such ascartopy,earthengine-api,geemap,geopandas,matplotlib,numpy,pandas,pint,shapely,xarray,pyarrow,netcdf4, and addedpytz, improving reproducibility and avoiding future incompatibilities. Also tightened thesphinxversion range for documentation builds. [1] [2]pyproject.tomlto bump the version to1.0.2, set the license toMIT, and specify license files.src/metobs_toolkit/settings_collection/version.pyto1.0.2to match the new release.CI/CD improvements:
.github/workflows/dependency-audit.ymlto perform dependency compatibility checks and vulnerability audits across multiple Python versions, and to run import smoke tests forgeemap.foliumapandmetobs_toolkit.pyproject.tomldiffers from the version on themasterbranch, enforcing version bumps for non-master changes.Other minor improvements: