diff --git a/.github/workflows/requirements.txt b/.github/workflows/requirements.txt index 915b278..4b0ef84 100644 --- a/.github/workflows/requirements.txt +++ b/.github/workflows/requirements.txt @@ -1,4 +1,2 @@ cython ~=3.0 -wheel -auditwheel <5.2 -setuptools >=46.4.0 +scikit-build-core diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 19fbcd9..47e9734 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,7 +65,7 @@ jobs: - name: Install Python requirements run: python -m pip install -r .github/workflows/requirements.txt - name: Install test requirements - run: python -m pip install -r pyrodigal/tests/requirements.txt + run: python -m pip install -r src/pyrodigal/tests/requirements.txt - name: Build C extension in debug mode run: python setup.py build_ext --inplace --debug - name: Test without coverage @@ -128,7 +128,7 @@ jobs: - name: Install Python requirements run: python -m pip install -r .github/workflows/requirements.txt - name: Install test requirements - run: python -m pip install -r pyrodigal/tests/requirements.txt + run: python -m pip install -r src/pyrodigal/tests/requirements.txt - name: Build C extension in debug mode run: python setup.py build_ext --inplace --debug --plat-name macos-x86_64 - name: Test without coverage @@ -191,7 +191,7 @@ jobs: - name: Install Python requirements run: python -m pip install -r .github/workflows/requirements.txt - name: Install test requirements - run: python -m pip install -r pyrodigal/tests/requirements.txt + run: python -m pip install -r src/pyrodigal/tests/requirements.txt - name: Build C extension run: python setup.py build_ext --inplace - name: Test without coverage @@ -224,7 +224,7 @@ jobs: - name: Install Python requirements run: python -m pip install -r .github/workflows/requirements.txt - name: Install test requirements - run: python -m pip install -r pyrodigal/tests/requirements.txt + run: python -m pip install -r src/pyrodigal/tests/requirements.txt - name: Install coverage package run: python -m pip install -U coverage - name: Build Prodigal with optimizations diff --git a/pyproject.toml b/pyproject.toml index 6cc13ca..4c707e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ dependencies = [ "PyPI" = "https://pypi.org/project/pyrodigal" [project.optional-dependencies] -test = ["importlib-resources ; python_version < '3.7'"] +test = ["importlib-resources ; python_version < '3.9'"] isal = ["isal ~=1.1"] lz4 = ["lz4 ~=4.0"] zst = ["zstandard ~=0.22"]