mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 04:29:27 +08:00
The dev extra still pinned safety<3.0.0, but Safety was already dropped
from .pre-commit-config.yaml ("Replaced Safety with pip-audit due to
version 3.x breakdown") and nothing else runs it. safety 2.3.5 requires
packaging<22, while DeepTutor requires packaging>=24.2.
scripts/install_extras.py passes only the missing extras to pip, so pip
does not weigh DeepTutor's own requirements. The documented setup step
`python scripts/install_extras.py dev` therefore downgraded packaging
from 26.3 to 21.3, broke deeptutor's and litellm's requirements
(pip check), and held pytest at 8.4.2, because pytest 9 needs
packaging>=24.
Drop the unused pin from pyproject.toml and requirements/dev.txt, which
must stay in sync.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
814 B
Plaintext
26 lines
814 B
Plaintext
# ============================================
|
|
# DeepTutor Development Dependencies
|
|
# ============================================
|
|
# Mirrors pyproject.toml `[project.optional-dependencies].dev`.
|
|
# Keep in sync with pyproject.toml when adding/updating dependencies.
|
|
#
|
|
# Preferred install (from a source clone): pip install -e ".[dev]"
|
|
# Use this file for Docker/CI when pyproject.toml/source code aren't yet available.
|
|
|
|
-r server.txt
|
|
|
|
pytest>=7.0.0
|
|
pytest-asyncio>=0.23.0
|
|
pre-commit>=3.0.0
|
|
bandit>=1.8.0
|
|
import-linter>=2.1.0,<3.0.0
|
|
|
|
# --- Test fixture builders for document-loader tests ---
|
|
# These are also pulled by cli.txt at runtime; keep explicit here so dev/test
|
|
# installs have the imports needed during pytest collection.
|
|
python-docx>=1.1.0
|
|
openpyxl>=3.1.0
|
|
python-pptx>=1.0.0
|
|
pypdf>=4.0.0
|
|
defusedxml>=0.7.1
|