Skip to content

chore(deps): bump aiohttp to 3.12.14; harden HTTP client#56

Open
DivInstance wants to merge 1 commit intohemantapkh:mainfrom
DivInstance:chore/bump-aiohttp-3.12.14
Open

chore(deps): bump aiohttp to 3.12.14; harden HTTP client#56
DivInstance wants to merge 1 commit intohemantapkh:mainfrom
DivInstance:chore/bump-aiohttp-3.12.14

Conversation

@DivInstance
Copy link

Summary

  • Bump aiohttp to 3.12.14.
  • Replace deprecated verify_ssl with ssl flag.
  • Add default timeout and env configuration (HTTP_TIMEOUT, HTTP_SSL_VERIFY).
  • Add raise_for_status and basic retry logic for robustness.

Motivation

Ensures compatibility with aiohttp 3.12.x, improves reliability under transient network conditions, and makes HTTP client behavior configurable via environment.

Changes

  • pyproject.toml: aiohttp==3.12.14
  • app/apis/requests.py: timeout, SSL toggle, retries, raise_for_status
  • sample.env: HTTP_TIMEOUT, HTTP_SSL_VERIFY

Testing

  • Verified linting via pre-commit.
  • Sanity-checked request path under both SSL modes and different timeouts.

Notes

No breaking API change in project surface; behavior is more robust by default.

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