From 7cbf954bf42f02ab81a7dc0f81db39449f9e4382 Mon Sep 17 00:00:00 2001 From: Daniel King Date: Sat, 14 Sep 2024 18:37:29 -0700 Subject: [PATCH 1/6] old scipy workflow --- .github/workflows/old_scipy.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/old_scipy.yaml diff --git a/.github/workflows/old_scipy.yaml b/.github/workflows/old_scipy.yaml new file mode 100644 index 0000000..040afed --- /dev/null +++ b/.github/workflows/old_scipy.yaml @@ -0,0 +1,18 @@ +name: CI (old scipy) + +on: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Build and test with Docker using an older version of scipy + run: | + docker build --tag scispacy . + docker run --rm scispacy pip install 'scipy<1.11' \ + && pytest tests/ \ No newline at end of file From 68f00392d6271d985992b2508ef8ec695cabc8f3 Mon Sep 17 00:00:00 2001 From: Daniel King Date: Sat, 14 Sep 2024 18:44:08 -0700 Subject: [PATCH 2/6] try again --- .github/workflows/old_scipy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/old_scipy.yaml b/.github/workflows/old_scipy.yaml index 040afed..fa04b71 100644 --- a/.github/workflows/old_scipy.yaml +++ b/.github/workflows/old_scipy.yaml @@ -14,5 +14,5 @@ jobs: - name: Build and test with Docker using an older version of scipy run: | docker build --tag scispacy . - docker run --rm scispacy pip install 'scipy<1.11' \ - && pytest tests/ \ No newline at end of file + docker run --rm scispacy pip install 'scipy<1.11' pytest \ + && pytest -vv tests/ \ No newline at end of file From 5339ecb78f6c350309a848e9cc2c9c12a5b7a804 Mon Sep 17 00:00:00 2001 From: Daniel King Date: Sat, 14 Sep 2024 18:54:32 -0700 Subject: [PATCH 3/6] debug --- .github/workflows/old_scipy.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/old_scipy.yaml b/.github/workflows/old_scipy.yaml index fa04b71..0b17d8b 100644 --- a/.github/workflows/old_scipy.yaml +++ b/.github/workflows/old_scipy.yaml @@ -14,5 +14,11 @@ jobs: - name: Build and test with Docker using an older version of scipy run: | docker build --tag scispacy . - docker run --rm scispacy pip install 'scipy<1.11' pytest \ - && pytest -vv tests/ \ No newline at end of file + docker run --rm scispacy pip show pytest \ + && which pytest \ + && which scipy \ + && which pip \ + && pip install 'scipy<1.11' \ + && pip show pytest \ + && which pytest \ + && pytest -vv tests/ \ No newline at end of file From 4e3c8fb5a6c85eead52483a9ef9726ee17da8d29 Mon Sep 17 00:00:00 2001 From: Daniel King Date: Sat, 14 Sep 2024 18:59:37 -0700 Subject: [PATCH 4/6] debug --- .github/workflows/old_scipy.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/old_scipy.yaml b/.github/workflows/old_scipy.yaml index 0b17d8b..612d3d8 100644 --- a/.github/workflows/old_scipy.yaml +++ b/.github/workflows/old_scipy.yaml @@ -14,11 +14,4 @@ jobs: - name: Build and test with Docker using an older version of scipy run: | docker build --tag scispacy . - docker run --rm scispacy pip show pytest \ - && which pytest \ - && which scipy \ - && which pip \ - && pip install 'scipy<1.11' \ - && pip show pytest \ - && which pytest \ - && pytest -vv tests/ \ No newline at end of file + docker run --rm scispacy pytest tests/ \ No newline at end of file From 58535ad3cb0571372ad74179d3d5f962cad55dae Mon Sep 17 00:00:00 2001 From: Daniel King Date: Sat, 14 Sep 2024 19:05:41 -0700 Subject: [PATCH 5/6] debug --- .github/workflows/old_scipy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/old_scipy.yaml b/.github/workflows/old_scipy.yaml index 612d3d8..f4c963e 100644 --- a/.github/workflows/old_scipy.yaml +++ b/.github/workflows/old_scipy.yaml @@ -14,4 +14,4 @@ jobs: - name: Build and test with Docker using an older version of scipy run: | docker build --tag scispacy . - docker run --rm scispacy pytest tests/ \ No newline at end of file + docker run --rm scispacy bash -c "pip install 'scipy<1.11' && pytest tests/" \ No newline at end of file From dc1563035c637164cd9a61b58af62283f342e673 Mon Sep 17 00:00:00 2001 From: Daniel King Date: Sat, 14 Sep 2024 19:10:43 -0700 Subject: [PATCH 6/6] debug --- .github/workflows/main.yml | 2 +- .github/workflows/old_scipy.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d510388..7fc699f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: Build and test with Docker run: | docker build --tag scispacy . - docker run --rm scispacy pytest tests/ + docker run --rm scispacy pytest -vv tests/ docker run --rm scispacy flake8 scispacy docker run --rm scispacy black scispacy --check --line-length 88 docker run --rm scispacy bash scripts/mypy.sh diff --git a/.github/workflows/old_scipy.yaml b/.github/workflows/old_scipy.yaml index f4c963e..f904b6d 100644 --- a/.github/workflows/old_scipy.yaml +++ b/.github/workflows/old_scipy.yaml @@ -14,4 +14,4 @@ jobs: - name: Build and test with Docker using an older version of scipy run: | docker build --tag scispacy . - docker run --rm scispacy bash -c "pip install 'scipy<1.11' && pytest tests/" \ No newline at end of file + docker run --rm scispacy bash -c "pip install 'scipy<1.11' && pytest -vv tests/" \ No newline at end of file