Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ classifiers = [
]
dependencies = [
"numpy",
"w3lib",
"w3lib<2.0",
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
numpy
w3lib
w3lib<2.0