Skip to content

chore(WOF-52): bump the remaining pip pins and fix two deprecation warnings - #124

Merged
lbruton merged 1 commit into
devfrom
chore/wof-52-deps
Nov 25, 2026
Merged

lbruton merged 1 commit into
devfrom
chore/wof-52-deps

Conversation

@lbruton

@lbruton lbruton commented Nov 25, 2026

Copy link
Copy Markdown
Owner

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: imports declarative_base from sqlalchemy.orm. The sqlalchemy.ext.declarative path is deprecated since SQLAlchemy 2.0. The base class is the same, so no migration is needed.
  • pytest.ini: sets asyncio_default_fixture_loop_scope = function, the pytest-asyncio default.

Tests

  • CPython 3.12.13 (the container's minor version), fresh venv: pip check clean, 758 passed, 83% coverage.
  • Importing src.models.database with every warning turned into an error passes.

Not in this PR

These deprecations predate this change and need their own issue:

  • Class-based Pydantic Config in src/api/schemas/team_member.py and other schemas.
  • datetime.utcnow() in src/auth/utils.py (session expiry) and the auth tests. A switch to aware datetimes changes comparisons, so it needs care.
  • Starlette's TestClient warns that httpx is deprecated in favor of httpx2.

Issues (Plane)

  • WOF-52: Bump the remaining pip pins and fix two deprecation warnings

…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.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T17:04:43.249665Z 50f5264 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1

  • coderabbit-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 49a4b375-f536-4b97-b832-2e115ba17f5b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity ✅ 0 (≤ 100 complexity)
Duplication ✅ 0 (≤ 5 duplication)

View in Codacy

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.

@lbruton
lbruton merged commit 6eba7fb into dev Nov 25, 2026
4 checks passed
@lbruton
lbruton deleted the chore/wof-52-deps branch November 25, 2026 17:08
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