Skip to content

Commit

Permalink
Merge pull request #5009 from neutrinoceros/mnt/forbid_auto_updates_f…
Browse files Browse the repository at this point in the history
…or_minimal_env

MNT: prevent dependabot from upgrading minimal requirements
  • Loading branch information
neutrinoceros authored Oct 4, 2024
2 parents fcec2c5 + 29e7d57 commit 82ad0a8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updates:
groups:
actions:
patterns:
- 'typecheck.txt'
- '*'

- package-ecosystem: github-actions
directory: /.github/workflows
Expand Down
2 changes: 1 addition & 1 deletion doc/source/developing/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -484,4 +484,4 @@ during the minimal dependency tests (see
``yt/frontends/amrvac/tests/test_read_amrvac_namelist.py`` for a good example).
If for some reason you need to update the listing of packages that are installed
for the "minimal" dependency tests, you will need to update
``requirements/minimal_env.txt``.
``minimal_requirements.txt``.
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ keywords = [
]
requires-python = ">=3.9.2"

# keep in sync with requirements/minimal_env.txt
# keep in sync with minimal_requirements.txt
dependencies = [
"cmyt>=1.1.2",
"ewah-bool-utils>=1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/ci_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi
# but the primary intention is to embed this script in CI jobs
if [[ ${dependencies} == "minimal" ]]; then
# test with minimal versions of runtime dependencies
python -m pip install -e ".[test]" -r requirements/minimal_env.txt
python -m pip install -e ".[test]" -r minimal_requirements.txt
elif [[ ${dependencies} == "cartopy" ]]; then
python -m pip install 'cartopy>=0.22'
# scipy is an optional dependency to cartopy
Expand Down

0 comments on commit 82ad0a8

Please sign in to comment.