-
Notifications
You must be signed in to change notification settings - Fork 8
Dependency audit #615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Dependency audit #615
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
e0efce9
Add top boundaries to dependencies (based on mayor version) and add a…
vergauwenthomas 45055cb
add pytz and upgrade version constraint of geemap and ee (testing).
vergauwenthomas be570e1
Fix licence metadata and located and fixed the geemap version issue
vergauwenthomas 087fac5
Add version check wrt master branch
vergauwenthomas 2859c63
move the relative version test in the version test block
vergauwenthomas 0ce8a58
version bump
vergauwenthomas 59ab1f1
Update .github/workflows/dependency-audit.yml
vergauwenthomas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| name: Dependency compatibility and audit | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| - main | ||
| - develop | ||
| - bugfix_* | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| compatibility-and-audit: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| python-version: ["3.10", "3.11", "3.12", "3.13"] | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
|
|
||
| - name: Install Poetry | ||
| uses: snok/install-poetry@v1 | ||
| with: | ||
| virtualenvs-create: true | ||
| virtualenvs-in-project: true | ||
|
|
||
| - name: Install project and dev dependencies | ||
| run: poetry install --with dev | ||
|
|
||
| - name: Metadata and dependency compatibility checks | ||
| run: | | ||
| poetry check | ||
| poetry run pip check | ||
|
|
||
| - name: Upgrade pip in venv | ||
| run: poetry run python -m pip install --upgrade pip | ||
|
|
||
| - name: Install vulnerability scanner | ||
| run: poetry run python -m pip install pip-audit | ||
|
|
||
| - name: Vulnerability audit | ||
| run: poetry run pip-audit | ||
|
|
||
| - name: Geemap folium import guard | ||
| run: | | ||
| poetry run python -c "import geemap.foliumap as geemap; print('geemap folium import successful')" | ||
|
|
||
| - name: Import smoke test | ||
| run: poetry run python -c "import metobs_toolkit; print('Import successful')" | ||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| __version__ = "1.0.1" | ||
| __version__ = "1.0.2" |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.