diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5a49ce..ad9bb9b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,15 +26,14 @@ jobs: python-version: ${{ matrix.python-version }} allow-prereleases: true - - name: Install dependencies + - name: Install test dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel cython numpy "w3lib<2.0" pip install pytest pytest-cov - name: Build and install package run: | - CYTHONIZE=1 pip install -e . --no-build-isolation + pip install -e . - name: Run tests run: | @@ -78,10 +77,9 @@ jobs: with: python-version: '3.12' - - name: Install dependencies + - name: Install build tool run: | - python -m pip install --upgrade pip - pip install build setuptools wheel cython numpy + python -m pip install --upgrade pip build - name: Build sdist run: python -m build --sdist diff --git a/pyproject.toml b/pyproject.toml index 41c37ef..2bef9c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ classifiers = [ ] dependencies = [ "numpy", - "w3lib", + "w3lib<2.0", ] [project.urls] diff --git a/requirements.txt b/requirements.txt index 19b3a6c..9f9dff2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ numpy -w3lib +w3lib<2.0