Added --disable-pip-version-check. Closes #50.

This commit is contained in:
Patrick Lehmann
2022-11-03 07:13:44 +01:00
parent a64e575bdd
commit 5f6d1b5254
6 changed files with 13 additions and 23 deletions

View File

@@ -76,14 +76,14 @@ jobs:
- name: 🗂 Install dependencies
run: |
python -m pip install -U pip
python -m pip install tomli
python -m pip install ${{ inputs.requirements }}
python -m pip install --disable-pip-version-check tomli
python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
- name: 🔁 Extract configurations from pyproject.toml
id: getVariables
shell: python
run: |
from os import getenv
from pathlib import Path
from tomli import load as tomli_load

View File

@@ -55,14 +55,11 @@ jobs:
with:
python-version: ${{ inputs.python_version }}
- name: 🐍 Update pip
run: python -m pip install -U pip
# build
- name: 🔧 [build] Install dependencies for packaging and release
if: inputs.requirements == ''
run: python -m pip install build
run: python -m pip install --disable-pip-version-check build
- name: 🔨 [build] Build Python package (source distribution)
if: inputs.requirements == ''
@@ -76,7 +73,7 @@ jobs:
- name: 🔧 [build] Install dependencies for packaging and release
if: inputs.requirements == 'no-isolation'
run: python -m pip install build
run: python -m pip install --disable-pip-version-check build
- name: 🔨 [build] Build Python package (source distribution)
if: inputs.requirements == 'no-isolation'
@@ -90,7 +87,7 @@ jobs:
- name: 🔧 [setuptools] Install dependencies for packaging and release
if: inputs.requirements != '' && inputs.requirements != 'no-isolation'
run: python -m pip install ${{ inputs.requirements }}
run: python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
- name: 🔨 [setuptools] Build Python package (source distribution)
if: inputs.requirements != '' && inputs.requirements != 'no-isolation'

View File

@@ -63,9 +63,7 @@ jobs:
python-version: ${{ inputs.python_version }}
- name: ⚙ Install dependencies for packaging and release
run: |
python -m pip install -U pip
python -m pip install ${{ inputs.requirements }}
run: python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
- name: ⤴ Release Python source package to PyPI
env:

View File

@@ -65,9 +65,7 @@ jobs:
python-version: ${{ inputs.python_version }}
- name: 🗂 Install dependencies
run: |
python -m pip install -U pip
python -m pip install ${{ inputs.requirements }}
run: python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
- name: Check Static Typing
continue-on-error: true

View File

@@ -97,22 +97,19 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: ⚙️ Update pip
run: python -m pip install -U pip
- name: 🔧 Install wheel and pip dependencies
if: matrix.system != 'msys2'
run: |
python -m pip install -U wheel
python -m pip install ${{ inputs.requirements }}
python -m pip install --disable-pip-version-check -U wheel
python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
- name: 🔧 Install pip dependencies
if: matrix.system == 'msys2'
run: |
if [ 'x${{ inputs.mingw_requirements }}' != 'x' ]; then
python -m pip install ${{ inputs.mingw_requirements }}
python -m pip install --disable-pip-version-check ${{ inputs.mingw_requirements }}
else
python -m pip install ${{ inputs.requirements }}
python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
fi
- name: ☑ Run unit tests