Repository navigation
chore(deps): actualiza dependencias y cierra las 7 alertas de Dependabot - #9
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resuelve las 7 alertas de Dependabot abiertas (todas en
starlette 0.41.3) y sincroniza las herramientas de desarrollo.Cambios
Runtime
typing-extensionssube a 4.16.0 porquepydantic 2.14.1lo exige.Desarrollo
black 26.10.1,flake8 7.4.1,mypy 2.4.0,pytest 9.1.1,pytest-asyncio 1.4.0,pytest-cov 7.1.0,pytest-mock 3.17.0,pre-commit 4.7.0,types-requests 2.33.0.20261006,types-redis 4.6.0.20241004..pre-commit-config.yamlSincronizado con
pyproject.toml(antes usaba versiones muy antiguas, inclusofastapi==0.109.0ypydantic==2.5.3en lasadditional_dependenciesdel hook de mypy).Alertas de seguridad cerradas
starlette 1.9.0cubre todas (la más exigente pedía>= 1.3.1):StaticFiles(high)RangeenFileResponse(high)request.form()ignoramax_fields/max_part_sizeen bodies urlencoded (high)Host(medium)getattrenHTTPEndpoint(medium)request.url.hostname(low)Validación
pytest: 61 passed (antes y después), cobertura idéntica 76.83%black --check/flake8/mypy api/: limpiospre-commit run --all-files: black, flake8 y mypy PassedGET /health200,GET /metrics200,POST /chatsin auth 401, body inválido 422POST /chat→ 200 con respuesta generada yprovider_meta.tokens_total;POST /stream→ 200 con frames SSE503 ALL_PROVIDERS_FAILEDestructuradoapi/infra/redis_client.pyRiesgo / notas
StarletteDeprecationWarning: Using httpx with starlette.testclient is deprecated; install httpx2 instead(solo afecta aTestClienten tests).redis_client.py:36usaclose(), deprecado desde redis 5.0.1 (ya lo era antes de este PR); conviene migrarlo aaclose()en un PR aparte.mixed-line-ending --fix=lfreescribe finales de línea en archivos no tocados porcore.autocrlf=truey la ausencia de.gitattributes. Ese churn fue revertido en este PR.