From 053f90f68be97673d373a42009bde169208874fd Mon Sep 17 00:00:00 2001 From: Panic Stevenson Date: Thu, 9 Jul 2020 20:57:49 -0700 Subject: [PATCH] ci: Unpin Unexecuted Dependencies (#1548) PyYAML and requests dependencies aren't ever directly executed and are only pulled within CI systems to avoid import errors in pylint. Keeping pinned dependencies for Python packages executed directly to avoid randomly picking up breaking changes. --- .github/workflows/python-lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-lint.yml b/.github/workflows/python-lint.yml index 94ab5e70f4..307c69777e 100644 --- a/.github/workflows/python-lint.yml +++ b/.github/workflows/python-lint.yml @@ -24,7 +24,7 @@ jobs: python-version: '3.7' - name: Install Dependencies run: | - pip install black==19.10b0 PyYAML==5.1.2 requests==2.22.0 + pip install black==19.10b0 - name: black **/*.py --line-length 100 --check --diff run: | black **/*.py --line-length 100 --check --diff @@ -42,7 +42,7 @@ jobs: echo "::add-matcher::.github/matchers/${{ github.job }}.json" - name: Install Dependencies run: | # TODO: Update pylint version to one that natively caps isort dependency - pip install pylint==2.2.3 isort==4.3.21 PyYAML==5.1.2 requests==2.22.0 + pip install pylint==2.2.3 isort==4.3.21 PyYAML requests - name: pylint **/*.py --errors-only run: | pylint **/*.py --errors-only