Skip to content

Commit 5a00929

Browse files
authored
Merge pull request Unidata#3839 from dopplershift/fix-dependabot-again
Fix dependabot again
2 parents 0b76c84 + b550980 commit 5a00929

File tree

11 files changed

+21
-19
lines changed

11 files changed

+21
-19
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM mcr.microsoft.com/vscode/devcontainers/miniconda:latest
22

3-
COPY ci/*.txt ci/dev/*.txt /tmp/conda-tmp/
3+
COPY ci/*.txt ci-dev/*.txt /tmp/conda-tmp/
44
RUN sed -i -e "s/scipy==.*/scipy==1.5.3/" /tmp/conda-tmp/requirements.txt
55
RUN /opt/conda/bin/conda config --add channels conda-forge
66
RUN /opt/conda/bin/conda config --set channel_priority strict

.github/actions/install-conda/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131

3232
- name: Install dependencies
3333
shell: bash -l {0}
34-
run: micromamba install --yes --file ci/dev/${{ inputs.type }}_requirements.txt --file ci/extra_requirements.txt --file ci/requirements.txt
34+
run: micromamba install --yes --file ci-dev/${{ inputs.type }}_requirements.txt --file ci/extra_requirements.txt --file ci/requirements.txt
3535

3636
- name: Download Cartopy Maps
3737
if: ${{ inputs.need-cartopy == 'true' }}

.github/actions/install-pypi/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runs:
3333
python-version: ${{ inputs.python-version }}
3434
cache: 'pip'
3535
cache-dependency-path: |
36-
ci/dev/${{ inputs.type }}_requirements.txt
36+
ci-dev/${{ inputs.type }}_requirements.txt
3737
ci/${{ inputs.version-file }}
3838
ci/extra_requirements.txt
3939
@@ -68,14 +68,14 @@ runs:
6868
shell: bash
6969
run: >
7070
python -m pip install .[${{ env.DEP_GROUPS }}]
71-
-c ci/${{ inputs.version-file }} -c ci/dev/${{ inputs.type }}_requirements.txt -c ci/extra_requirements.txt
71+
-c ci/${{ inputs.version-file }} -c ci-dev/${{ inputs.type }}_requirements.txt -c ci/extra_requirements.txt
7272
7373
- name: Install additional test tools
7474
if: ${{ inputs.type == 'test' }}
7575
shell: bash
7676
run: >
7777
python -m pip install coverage
78-
-c ci/${{ inputs.version-file }} -c ci/dev/${{ inputs.type }}_requirements.txt -c ci/extra_requirements.txt
78+
-c ci/${{ inputs.version-file }} -c ci-dev/${{ inputs.type }}_requirements.txt -c ci/extra_requirements.txt
7979
8080
- name: Download Cartopy Maps
8181
if: ${{ inputs.need-cartopy == 'true' }}

.github/dependabot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ updates:
1010
ignore:
1111
- dependency-name: "boto3"
1212
update-types: ["version-update:semver-patch"]
13+
- dependency-name: "cartopy"
14+
versions: ["0.24.1"]
1315
open-pull-requests-limit: 10
1416
pull-request-branch-name:
1517
separator: "-"
@@ -27,7 +29,7 @@ updates:
2729

2830
# PyPI updates for dev tools
2931
- package-ecosystem: pip
30-
directory: "/ci/dev"
32+
directory: "/ci-dev"
3133
schedule:
3234
interval: weekly
3335
# We don't need to worry about updating to every patch release of dev tools

.github/workflows/linting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
with:
2424
python-version: 3.x
2525
cache: 'pip'
26-
cache-dependency-path: 'ci/dev/linting_requirements.txt'
26+
cache-dependency-path: 'ci-dev/linting_requirements.txt'
2727

2828
- name: Install linting tools
29-
run: python -m pip install -r ci/dev/linting_requirements.txt
29+
run: python -m pip install -r ci-dev/linting_requirements.txt
3030

3131
- name: Set up reviewdog
3232
uses: reviewdog/action-setup@v1

.github/workflows/tests-pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ jobs:
5959
opt_deps = config['optional-dependencies']
6060
6161
# Generate a Minimum dependency file
62-
for src, fname in [(config['dependencies'], 'requirements.txt'),
63-
(opt_deps['test'], 'dev/test_requirements.txt'),
64-
(opt_deps['extras'], 'extra_requirements.txt')]:
65-
with (Path('ci') / fname).open('wt') as out:
62+
for src, fname in [(config['dependencies'], 'ci/requirements.txt'),
63+
(opt_deps['test'], 'ci-dev/test_requirements.txt'),
64+
(opt_deps['extras'], 'ci/extra_requirements.txt')]:
65+
with Path(fname).open('wt') as out:
6666
for dep in src:
6767
dep = dep.split(';')[0]
6868
out.write(dep.replace('>=', '==') + '\n')

.github/workflows/unstable-builds.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525

2626
- name: Assemble test requirements
2727
run: |
28-
echo git+https://github.com/hgrecco/pint@master#egg=pint >> ci/dev/test_requirements.txt
29-
echo git+https://github.com/pydata/xarray@main#egg=xarray >> ci/dev/test_requirements.txt
28+
echo git+https://github.com/hgrecco/pint@master#egg=pint >> ci-dev/test_requirements.txt
29+
echo git+https://github.com/pydata/xarray@main#egg=xarray >> ci-dev/test_requirements.txt
3030
3131
- name: Install using PyPI
3232
uses: ./.github/actions/install-pypi
@@ -67,8 +67,8 @@ jobs:
6767

6868
- name: Assemble doc requirements
6969
run: |
70-
echo git+https://github.com/hgrecco/pint@master#egg=pint >> ci/dev/doc_requirements.txt
71-
echo git+https://github.com/pydata/xarray@main#egg=xarray >> ci/dev/doc_requirements.txt
70+
echo git+https://github.com/hgrecco/pint@master#egg=pint >> ci-dev/doc_requirements.txt
71+
echo git+https://github.com/pydata/xarray@main#egg=xarray >> ci-dev/doc_requirements.txt
7272
7373
- name: Install using PyPI
7474
uses: ./.github/actions/install-pypi

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Install the necessary dependency packages from conda-forge.
130130
Remember that these must be executed within the ``metpy`` directory.
131131

132132
```sh
133-
conda install --file ci/requirements.txt --file ci/extra_requirements.txt --file ci/dev/test_requirements.txt
133+
conda install --file ci/requirements.txt --file ci/extra_requirements.txt --file ci-dev/test_requirements.txt
134134
```
135135

136136
Finally, create an editable install of MetPy that will update with your development!
@@ -204,7 +204,7 @@ your feature is more complex, consider adding to the examples or tutorials for M
204204
You can build the documentation locally to see how your changes will look.
205205
After setting up your [development environment](#setting-up-your-development-environment) above,
206206
from within the ``metpy`` directory with your ``devel`` environment active,
207-
use ``conda install --file ci/dev/doc_requirements.txt``
207+
use ``conda install --file ci-dev/doc_requirements.txt``
208208
to install required packages to build our documentation.
209209
Then, still from within your ``devel`` environment,
210210

@@ -343,7 +343,7 @@ locally within the source directory you can use the [ruff](https://docs.astral.s
343343
After setting up your [development environment](#setting-up-your-development-environment) above,
344344
from within the ``metpy`` directory with your ``devel`` environment active,
345345
install the code style tools we use with
346-
``conda install --file ci/dev/linting_requirements.txt``. Checking your code style is then as
346+
``conda install --file ci-dev/linting_requirements.txt``. Checking your code style is then as
347347
easy as running ``ruff check . ; flake8 .`` in the base of the repository.
348348

349349
You can also just submit your PR and the kind robots will comment on all style violations as

0 commit comments

Comments
 (0)