Datasets:
Add requirements-dev.txt for the test suite (#52)
Browse files- Add requirements-dev.txt for the test suite (1b063fa618b01c027d8e0b26909a54ceb943ad4c)
- AGENTS.md +2 -1
- requirements-dev.txt +12 -0
AGENTS.md
CHANGED
|
@@ -81,7 +81,8 @@ in five more shipped sources. Rules:
|
|
| 81 |
cut. Nothing is counted just because it has a `stats.json`.
|
| 82 |
4. Add a contract test: `src/test_<key>_contract.py` (canonical schema, non-empty
|
| 83 |
text, positive token counts, uniform source/license, stats-file consistency).
|
| 84 |
-
Run `python3 -m pytest src/` before committing
|
|
|
|
| 85 |
|
| 86 |
### Keep the PR to your source
|
| 87 |
|
|
|
|
| 81 |
cut. Nothing is counted just because it has a `stats.json`.
|
| 82 |
4. Add a contract test: `src/test_<key>_contract.py` (canonical schema, non-empty
|
| 83 |
text, positive token counts, uniform source/license, stats-file consistency).
|
| 84 |
+
Run `python3 -m pytest src/` before committing; install the test dependencies
|
| 85 |
+
once with `pip install -r requirements-dev.txt`.
|
| 86 |
|
| 87 |
### Keep the PR to your source
|
| 88 |
|
requirements-dev.txt
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# What `python3 -m pytest src/` needs. Derived in a fresh venv by running pytest
|
| 2 |
+
# until it collected and passed; pins follow the per-source src/*_requirements.txt.
|
| 3 |
+
# Fetch/build scripts may need more: see their own src/<key>_requirements.txt.
|
| 4 |
+
pytest>=8,<10
|
| 5 |
+
pyarrow==23.0.1
|
| 6 |
+
requests==2.32.5
|
| 7 |
+
tiktoken==0.12.0
|
| 8 |
+
beautifulsoup4==4.14.3
|
| 9 |
+
langid==1.1.6
|
| 10 |
+
mwparserfromhell==0.7.2
|
| 11 |
+
zstandard==0.23.0
|
| 12 |
+
datasketch==1.6.5
|