Skip to content

Conversation

@filipchristiansen
Copy link
Contributor

@filipchristiansen filipchristiansen commented Mar 13, 2025

This PR removes dependencies that are no longer needed (chardet, fastapi-analytics) and updates various Python packages to versions that address known security vulnerabilities. Specifically, fastapi, starlette, and uvicorn have been pinned to ensure patches for identified issues are applied. The changes also include a small tweak to the ingestion schema to align with the latest pydantic configuration pattern.

What Changed?

  • Removed references to chardet and fastapi-analytics in .pre-commit-config.yaml and requirements.txt.
  • Pinned fastapi[standard], starlette, and uvicorn to versions fixing their respective security issues.
  • Added pydantic explicitly to requirements.txt and pyproject.toml.
  • Updated IngestionQuery model to use the new model_config property from pydantic.

…bilities

- Remove chardet and fastapi-analytics references from .pre-commit-config.yaml and requirements
- Pin fastapi, starlette, and uvicorn to versions fixing known vulnerabilities
- Add pydantic to requirements
- Update ingestion_schema to use pydantic's new ConfigDict
@filipchristiansen filipchristiansen changed the title chore: remove unused dependencies and pin versions to address vulnera… chore: remove unused dependencies and pin fastapi/starlette/uvicorn to fix vulnerabilities Mar 13, 2025
@filipchristiansen filipchristiansen merged commit e5bdbce into main Mar 21, 2025
18 checks passed
@filipchristiansen filipchristiansen deleted the chore/update-dependencies-and-precommit-hooks branch March 21, 2025 12:03
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.

3 participants