Skip to content

test: add no-network and install profile gates#137

Merged
sidmohan0 merged 5 commits intodevfrom
sidmohan0/dfpy-19-20-no-network-extras
Apr 27, 2026
Merged

test: add no-network and install profile gates#137
sidmohan0 merged 5 commits intodevfrom
sidmohan0/dfpy-19-20-no-network-extras

Conversation

@sidmohan0
Copy link
Copy Markdown
Contributor

Summary

  • add no-network core import/scan/redact tests for DFPY-19
  • add install-profile smoke coverage for core, cli, nlp, nlp-advanced, ocr, distributed, and web for DFPY-20
  • remove the phantom rich dependency from the spaCy helper and declare certifi/numpy where image/web paths use them
  • add docs/v5-model-requirements.md as the model-selection requirements sheet

Validation

  • .venv313/bin/pre-commit run --all-files --show-diff-on-failure
  • .venv313/bin/python -m pytest tests/test_no_network_core.py tests/test_runtime_dependency_safety.py tests/test_install_profiles.py -q
  • DATAFOG_INSTALL_PROFILE=core .venv313/bin/python -m pytest tests/test_install_profiles.py -q
  • DATAFOG_INSTALL_PROFILE=cli .venv313/bin/python -m pytest tests/test_install_profiles.py -q
  • .venv313/bin/python -m pytest tests/ -m "not slow" --ignore=tests/test_image_service.py --ignore=tests/test_ocr_integration.py --ignore=tests/test_spark_integration.py --ignore=tests/test_text_service_integration.py -q
  • .venv313/bin/python setup.py egg_info
  • dry-run installs for .[ocr], .[web], and .[distributed]

@sidmohan0 sidmohan0 marked this pull request as ready for review April 27, 2026 02:52
@sidmohan0 sidmohan0 merged commit 7a8572d into dev Apr 27, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant