Skip to content

Add Python 3.15 to the CI - #1379

Merged
fizyk merged 1 commit into
mainfrom
py-315
Jul 24, 2026
Merged

Add Python 3.15 to the CI#1379
fizyk merged 1 commit into
mainfrom
py-315

Conversation

@fizyk

@fizyk fizyk commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Tests
    • Expanded PostgreSQL CI test matrices to include Python 3.15 across Linux, macOS, Windows, and Dockerised environments.
    • Updated reusable PostgreSQL workflow defaults so Python 3.15 is covered consistently.
  • Documentation
    • Added a news fragment noting that Python 3.15 has been included in CI.

@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4485b8b1-f268-4b4f-b8eb-e05fac15a239

📥 Commits

Reviewing files that changed from the base of the PR and between c9e9e32 and 9ba21ea.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (7)
  • .github/workflows/dockerised-postgres.yml
  • .github/workflows/oldest-postgres.yml
  • .github/workflows/single-postgres-windows.yml
  • .github/workflows/single-postgres.yml
  • .github/workflows/tests.yml
  • newsfragments/+8a93a817.misc.rst
  • pyproject.toml
🚧 Files skipped from review as they are similar to previous changes (7)
  • newsfragments/+8a93a817.misc.rst
  • .github/workflows/oldest-postgres.yml
  • pyproject.toml
  • .github/workflows/dockerised-postgres.yml
  • .github/workflows/single-postgres.yml
  • .github/workflows/single-postgres-windows.yml
  • .github/workflows/tests.yml

📝 Walkthrough

Walkthrough

Python 3.15 is added to PostgreSQL CI matrices across reusable workflows and platform-specific jobs. Setup labels change from Pipenv to uv, while setup action wiring remains unchanged. The development psycopg-binary dependency is limited to CPython versions before 3.15, and a news fragment records the expanded CI coverage.

Changes

Python 3.15 CI coverage

Layer / File(s) Summary
Expand PostgreSQL workflow matrices
.github/workflows/single-postgres.yml, .github/workflows/oldest-postgres.yml, .github/workflows/dockerised-postgres.yml, .github/workflows/single-postgres-windows.yml, .github/workflows/tests.yml
Reusable workflow defaults and PostgreSQL job matrices add Python 3.15 across Linux, macOS, Docker, and Windows configurations.
Rename environment setup labels
.github/workflows/single-postgres.yml, .github/workflows/oldest-postgres.yml, .github/workflows/dockerised-postgres.yml, .github/workflows/single-postgres-windows.yml
Python environment setup step labels change from Pipenv to uv while the referenced setup action remains unchanged.
Restrict the psycopg-binary development dependency
pyproject.toml
psycopg-binary==3.3.4 is conditioned on CPython and Python versions earlier than 3.15.
Record Python 3.15 CI coverage
newsfragments/+8a93a817.misc.rst
The news fragment states that Python 3.15 is included in CI.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding Python 3.15 support to CI workflows.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Newsfragment Check ✅ Passed A new newsfragment exists: newsfragments/+8a93a817.misc.rst, and pyproject.toml allows the misc type.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch py-315

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

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/tests.yml:
- Line 151: Update the docker_postgresql_18 job configuration to pass a
python-versions list including Python 3.15, matching the existing PostgreSQL
14–17 Docker jobs, or update the shared Docker workflow default used when
python-versions is omitted. Ensure the PostgreSQL 18 matrix exercises Python
3.15 while preserving the existing versions.
- Line 132: Correct the malformed JSON value assigned to the Windows matrix
input python-versions by removing the extra quote before the 3.15 entry, while
preserving the existing Python version list so fromJSON can parse it
successfully.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: df6249d6-7438-43d9-a486-f4cad6773c06

📥 Commits

Reviewing files that changed from the base of the PR and between 5a2719c and 01838b9.

📒 Files selected for processing (3)
  • .github/workflows/single-postgres.yml
  • .github/workflows/tests.yml
  • newsfragments/+8a93a817.misc.rst

Comment thread .github/workflows/tests.yml Outdated
Comment thread .github/workflows/tests.yml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/single-postgres-windows.yml:
- Line 8: Update the Windows workflow’s Python-version caller input to valid
JSON by removing the extra quote before 3.15, while preserving the existing
3.12–3.15 version list used by fromJSON.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 6b67f2f5-36c6-4573-8df9-59c436639e5e

📥 Commits

Reviewing files that changed from the base of the PR and between 01838b9 and 2f9ceaa.

📒 Files selected for processing (6)
  • .github/workflows/dockerised-postgres.yml
  • .github/workflows/oldest-postgres.yml
  • .github/workflows/single-postgres-windows.yml
  • .github/workflows/single-postgres.yml
  • .github/workflows/tests.yml
  • newsfragments/+8a93a817.misc.rst
🚧 Files skipped from review as they are similar to previous changes (3)
  • .github/workflows/single-postgres.yml
  • newsfragments/+8a93a817.misc.rst
  • .github/workflows/tests.yml

Comment thread .github/workflows/single-postgres-windows.yml
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fizyk
fizyk merged commit 06c3716 into main Jul 24, 2026
72 checks passed
@fizyk
fizyk deleted the py-315 branch July 24, 2026 15:33
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