mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-27 20:09:05 +01:00
Python tests CI was red: requirements-test.txt lacked hypothesis (phone_lease tests) and jeepney (game_rec, loaded by linux_configuration/tests). requirements-test-sync skipped tests/ and never looked at linux_configuration. Its new --testpaths mode walks the import closure of pyproject's testpaths, tests included, and skips TYPE_CHECKING imports. Pin both packages. Bug-class-check: pre-commit hook requirements-test-sync (check_requirements_sync.py --testpaths) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
# ==============================================================================
|
|
# testsAndMisc — the dependencies needed to RUN THE TEST SUITE, and no others.
|
|
#
|
|
# python-tests.yml runs pytest and nothing else, but installed the full
|
|
# meta/requirements.txt: ~79 packages, of which ~62 are linters, formatters and
|
|
# type checkers that job never invokes. That install was the workflow's slowest
|
|
# step (49s, against 35s actually running pytest).
|
|
#
|
|
# Derived by static import analysis over python_pkg/ and
|
|
# linux_configuration/tests/, then VERIFIED by running the whole suite against
|
|
# only this list: 2174 passed, 100.00% coverage, 0 missing lines or branches.
|
|
#
|
|
# The pytest-* entries are here because they are plugins that change behaviour,
|
|
# not because anything imports them: randomly reorders tests, timeout enforces
|
|
# a limit, sugar changes reporting, xdist provides -n. Dropping one silently
|
|
# changes how the suite runs.
|
|
#
|
|
# The linting job (pre-commit.yml) still installs the full requirements.txt --
|
|
# it needs every formatter. Keep this file in sync when python_pkg gains a new
|
|
# runtime import; check_requirements_sync.py gates the full list, and the
|
|
# suite itself fails loudly here on a missing import.
|
|
# ==============================================================================
|
|
|
|
anthropic==2.14.0
|
|
beautifulsoup4==4.15.0
|
|
coverage==7.17.5
|
|
defusedxml==0.7.1
|
|
fastmcp==4.2.6
|
|
genanki==0.13.1
|
|
hypothesis==6.170.17
|
|
jeepney==0.9.0
|
|
kuhy-credit @ git+https://github.com/kuhyx/utils@kuhy-credit-v0.3.2#subdirectory=kuhy_credit
|
|
markdownify==1.2.4
|
|
numpy==2.5.5
|
|
pillow==13.0.0
|
|
pytest==9.2.0
|
|
pytest-cov==7.1.0
|
|
pytest-randomly==5.1.0
|
|
pytest-sugar==1.1.1
|
|
pytest-timeout==2.4.0
|
|
pytest-xdist==3.8.0
|
|
requests==2.34.2
|
|
rich==15.0.0
|
|
sql_drills @ git+https://github.com/kuhyx/utils@sql-drills-v0.2.2#subdirectory=sql_drills
|
|
typer==0.29.3
|
|
typing_extensions==4.16.0
|