From ee6d55a68989fcab597919d33e68482aa2c1f642 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Mon, 18 Sep 2023 13:07:47 -0700 Subject: [PATCH] .github/workflows/ci-sage.yml: Use updated requirements.txt instead of repeating package list --- .github/workflows/ci-sage.yml | 6 +++--- requirements.txt | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-sage.yml b/.github/workflows/ci-sage.yml index 99814a1b..fa33db7a 100644 --- a/.github/workflows/ci-sage.yml +++ b/.github/workflows/ci-sage.yml @@ -112,7 +112,7 @@ jobs: choco install make autoconf gcc-core gcc-g++ python3${{ matrix.python-version }}-devel --source cygwin - name: install dependencies run: | - C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && python3.${{ matrix.python-version }} -m pip install -U --no-build-isolation setuptools wheel cysignals "Cython<3" Sphinx flake8' + C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && python3.${{ matrix.python-version }} -m pip install -U --no-build-isolation -r requirements.txt' - name: install run: | C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && python3.${{ matrix.python-version }} setup.py build_ext -i' @@ -226,7 +226,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -U --no-build-isolation setuptools wheel 'Cython<3' Sphinx flake8 + pip install -U --no-build-isolation -r requirements.txt - name: Freeze pip run: | pip freeze @@ -272,7 +272,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -U --no-build-isolation setuptools wheel 'Cython<3' Sphinx flake8 + pip install -U --no-build-isolation -r requirements.txt - name: Freeze pip run: | pip freeze diff --git a/requirements.txt b/requirements.txt index 497a0b16..c425e81e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ setuptools -Cython>=0.28 -Sphinx>=1.6 +wheel +Cython>=0.28, <3 +Sphinx +flake8