diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c2aac81a6..99f76bb63 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,30 +30,16 @@ jobs: python --version pip --version + # see #546 for context on why this is necessary - name: Create venv run: | python -m venv lint_py_imports - - name: Echo environment details - run: | - which python - which pip - python --version - pip --version - - - name: Echo environment details - run: | - source lint_py_imports/bin/activate - which python - which pip - python --version - pip --version - - name: Install job dependencies run: | source ./lint_py_imports/bin/activate pip install jupyterlab~=4.0 - pip install `import-linter` + pip install import-linter~=1.12.1 - name: Install Jupyter AI packages from source run: | @@ -64,4 +50,4 @@ jobs: - name: Lint Python imports run: | source ./lint_py_imports/bin/activate - jlpm lint-imports + lint-imports