From 2ff6b70098f957fb5385e8bb745355e813ff31b7 Mon Sep 17 00:00:00 2001 From: Lehman Garrison Date: Wed, 8 May 2024 17:38:46 -0400 Subject: [PATCH] ci: classy no longer requires old cython? --- .github/workflows/tests.yml | 10 ++-------- .pre-commit-config.yaml | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 78789f0..865cc50 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -76,17 +76,11 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install -U pip - pip install numpy - pip install 'setuptools' 'wheel' 'numpy>=1.19.0' 'Cython>=0.29.21,<3' # for classy - pip install --no-build-isolation classy - - name: Install package from source if: ${{ env.PUBLISH != 'true' }} run: | - pip install -U .[test] + pip install -U pip + pip install -vU .[test] make -C pipe_asdf - name: Fetch wheel diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d617710..81b1630 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: - id: ruff # TODO: turning off line length check # When ruff formatting is available, use that to auto-fix - args: [--fix, --exit-non-zero-on-fix, --ignore=E501] + args: [--fix, --ignore=E501] - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0