Skip to content

Commit 3e5401b

Browse files
authored
Update pip install commands with --no-deps flag in the GitHub Actions (#4196)
1 parent de49712 commit 3e5401b

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/create-condalock-file.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
which python
6262
pip --version
6363
- name: Install ESMValTool
64-
run: pip install -e .[develop]
64+
run: pip install --no-deps -e .[develop]
6565
- name: Check ESMValTool version
6666
run: esmvaltool --help
6767
- name: Check ESMValTool help

.github/workflows/install-from-condalock-file.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- run: conda create --name esmvaltool-fromlock --file conda-linux-64.lock
5252
- run: which python
5353
- run: pip --version
54-
- run: pip install -e .[develop]
54+
- run: pip install --no-deps -e .[develop]
5555
- run: esmvaltool --help
5656
- run: esmvaltool version 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/version.txt
5757
- run: pre-commit run -a

.github/workflows/install-from-source.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
mamba --version 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/conda_version.txt
4242
python -V 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/python_version.txt
4343
- name: Install
44-
run: pip install -e .[develop] 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/install.txt
44+
run: pip install --no-deps -e .[develop] 2>&1 | tee source_install_linux_artifacts_python_${{ matrix.python-version }}/install.txt
4545
- name: Verify installation
4646
run: |
4747
esmvaltool --help
@@ -76,7 +76,7 @@ jobs:
7676
# - run: mkdir -p source_install_osx_artifacts_python_${{ matrix.python-version }}
7777
# - run: conda --version 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/conda_version.txt
7878
# - run: python -V 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/python_version.txt
79-
# - run: pip install -e .[develop] 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/install.txt
79+
# - run: pip install --no-deps -e .[develop] 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/install.txt
8080
# - run: esmvaltool --help
8181
# - run: esmvaltool version 2>&1 | tee source_install_osx_artifacts_python_${{ matrix.python-version }}/version.txt
8282
# - name: Upload artifacts

.github/workflows/run-tests-monitor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
- name: Inspect environment
4747
run: conda list
4848
- name: Install pytest-monitor
49-
run: pip install pytest-monitor
49+
run: pip install --no-deps pytest-monitor
5050
- name: Install ESMValTool
51-
run: pip install -e .[develop] 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/install.txt
51+
run: pip install --no-deps -e .[develop] 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/install.txt
5252
- name: Run tests
5353
run: >
5454
pytest -n 2 -m "not installation" --db ../.pymon 2>&1
@@ -95,10 +95,10 @@ jobs:
9595
- name: Install git
9696
run: mamba install -c conda-forge git
9797
- name: Install pytest-monitor
98-
run: pip install pytest-monitor
98+
run: pip install --no-deps pytest-monitor
9999
- name: Install ESMValTool
100100
run: >
101-
pip install -e .[develop] 2>&1
101+
pip install --no-deps -e .[develop] 2>&1
102102
| tee test_osx_artifacts_python_${{ matrix.python-version }}/install.txt
103103
- name: Run tests
104104
run: >

.github/workflows/test-development.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ jobs:
4747
mamba --version 2>&1 | tee develop_test_linux_artifacts_python_${{ matrix.python-version }}/conda_version.txt
4848
python -V 2>&1 | tee develop_test_linux_artifacts_python_${{ matrix.python-version }}/python_version.txt
4949
- name: Install ESMValTool
50-
run: pip install -e .[develop] 2>&1 | tee develop_test_linux_artifacts_python_${{ matrix.python-version }}/install.txt
50+
run: pip install --no-deps -e .[develop] 2>&1 | tee develop_test_linux_artifacts_python_${{ matrix.python-version }}/install.txt
5151
- name: Install development version of ESMValCore
5252
run: |
5353
cd ..
5454
git clone https://github.com/ESMValGroup/ESMValCore.git
5555
cd ESMValCore
56-
pip install -e .[develop]
56+
pip install --no-deps -e .[develop]
5757
- name: Check code quality
5858
run: pre-commit run -a
5959
- name: Run tests

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Inspect environment
4646
run: conda list
4747
- name: Install ESMValTool
48-
run: pip install -e .[develop] 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/install.txt
48+
run: pip install --no-deps -e .[develop] 2>&1 | tee test_linux_artifacts_python_${{ matrix.python-version }}/install.txt
4949
- name: Inspect environment
5050
run: conda list
5151
- name: Inspect environment
@@ -101,7 +101,7 @@ jobs:
101101
- name: Install git
102102
run: mamba install -c conda-forge git
103103
- name: Install ESMValTool
104-
run: pip install -e .[develop] 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/install.txt
104+
run: pip install --no-deps -e .[develop] 2>&1 | tee test_osx_artifacts_python_${{ matrix.python-version }}/install.txt
105105
- name: Inspect environment
106106
run: conda list
107107
- name: Check code quality

0 commit comments

Comments
 (0)