Repository navigation
chore(WOF-52): bump the remaining pip pins and fix two deprecation warnings - #124
Conversation
…rnings Dependabot #117 left pydantic, coverage, faker, ipython and mkdocs-material one release behind. declarative_base moves to sqlalchemy.orm, its home since SQLAlchemy 2.0. pytest.ini sets asyncio_default_fixture_loop_scope to the pytest-asyncio default, which silences its deprecation warning. Tested on CPython 3.12.13 with a fresh venv: pip check clean, 758 passed, 83% coverage.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one): 1
Please check the settings in the CodeRabbit UI or the
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | ✅ 0 (≤ 100 complexity) |
| Duplication | ✅ 0 (≤ 5 duplication) |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Changes
requirements.txt: pydantic 2.14.3 to 2.14.4.requirements-dev.txt: coverage 7.17.5, faker 40.63.0, ipython 9.19.1, mkdocs-material 9.8.2.src/models/database.py: importsdeclarative_basefromsqlalchemy.orm. Thesqlalchemy.ext.declarativepath is deprecated since SQLAlchemy 2.0. The base class is the same, so no migration is needed.pytest.ini: setsasyncio_default_fixture_loop_scope = function, the pytest-asyncio default.Tests
pip checkclean, 758 passed, 83% coverage.src.models.databasewith every warning turned into an error passes.Not in this PR
These deprecations predate this change and need their own issue:
Configinsrc/api/schemas/team_member.pyand other schemas.datetime.utcnow()insrc/auth/utils.py(session expiry) and the auth tests. A switch to aware datetimes changes comparisons, so it needs care.httpxis deprecated in favor ofhttpx2.Issues (Plane)