Skip to content

improve: Update python-pro agent with Python 3.12+, uv, Ruff, Polars#489

Merged
davila7 merged 1 commit into
mainfrom
review/python-pro-2026-03-31
Mar 31, 2026
Merged

improve: Update python-pro agent with Python 3.12+, uv, Ruff, Polars#489
davila7 merged 1 commit into
mainfrom
review/python-pro-2026-03-31

Conversation

@davila7
Copy link
Copy Markdown
Owner

@davila7 davila7 commented Mar 31, 2026

Automated Component Improvement

Changes

  • Python 3.12+ target — Updated version references in frontmatter description and body; both migration examples updated accordingly
  • PEP 695 type parameter syntax — Added def fn[T] / type Alias = ... to Type system mastery section
  • Free-threaded execution — Added Python 3.13+ / PEP 703 note to Async and concurrent programming section
  • uv as primary package manager — Rewrote Package management section to lead with uv (dependency management, venv, Python version management, uv lock, uv-based Docker images); Poetry retained for legacy projects
  • Ruff replaces Black — Updated Python development checklist and Quality Assurance checklist to use ruff format . and ruff check .
  • pyright added alongside mypy — Type checking references now offer mypy or pyright; quality checklist updated to mypy --strict or pyright
  • Polars added to data science — Added Polars (lazy evaluation, streaming) to Data science capabilities; data pipeline example in frontmatter updated to mention Polars alongside Dask
  • Pydantic v2 — Expanded Pydantic bullet with model_config, TypeAdapter, model_validate
  • SQLModel — Added SQLModel for FastAPI-native ORM to Web framework expertise section
  • Removed Web scraping section — Niche topic removed; better served by a dedicated scraping agent
  • Consolidated Memory management and Scientific computing — Unique bullets merged into Performance optimization and Data science sections to reduce redundancy
  • Updated analysis reference — "pip/poetry" changed to "uv/pip" in Codebase Analysis framework

Research Summary

The research identified that python-pro was targeting Python 3.11+, using Poetry as the default package manager, and referencing Black for formatting — all of which lag behind the current Python ecosystem consensus (Python 3.12+, uv, Ruff). Additionally, Polars, Pydantic v2, and SQLModel have become significant ecosystem additions that were missing. The web scraping section was niche enough to warrant removal in favour of a dedicated agent.

Validation

  • component-reviewer: PASSED (17/17 automated checks)
    • Required frontmatter fields present
    • Kebab-case naming
    • No absolute paths
    • No hardcoded secrets
    • All 7 prioritized improvements confirmed applied

Automated review cycle by Component Improvement Loop


Summary by cubic

Updates the python-pro agent to target Python 3.12+, adopt uv and ruff, and expand the ecosystem guidance with polars, Pydantic v2, and SQLModel for a more modern, performance-focused setup.

  • Area: components (cli-tool/components/); modified agents/programming-languages/python-pro.md; no new components; regenerate docs/components.json; no new env vars or secrets.
  • Tooling: uv is the default package manager; ruff format + ruff check replace Black; type checking supports mypy --strict or pyright.
  • Language: target Python 3.12+; add PEP 695 generics; note free-threaded mode (3.13+/PEP 703).
  • Data: add polars (lazy/streaming); expand Pydantic v2 details; add SQLModel for FastAPI-friendly ORM.
  • Cleanup: remove Web scraping section; merge overlapping memory/scientific notes into performance and data science.

Written for commit f909730. Summary will update on new commits.

- Bump Python version target from 3.11+ to 3.12+ across frontmatter and body
- Add PEP 695 type parameter syntax to Type system mastery section
- Add free-threaded execution note (Python 3.13+, PEP 703) to async section
- Replace Poetry with uv as primary package manager; keep Poetry for legacy teams
- Replace Black with Ruff (ruff format + ruff check) in dev checklist and quality checklist
- Add pyright as alternative to mypy in type checking references
- Add Polars for high-performance DataFrame operations to data science section
- Add Polars mention to data pipeline optimization example in frontmatter
- Expand Pydantic to v2 (model_config, TypeAdapter, model_validate)
- Add SQLModel for FastAPI-native ORM to web framework section
- Remove Web scraping best practices section (niche, out of scope)
- Merge Memory management patterns and Scientific computing bullets into Performance optimization and Data science sections
- Update dependency analysis reference from pip/poetry to uv/pip

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
claude-code-templates Ready Ready Preview Mar 31, 2026 1:17pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Security Audit Report

Status: ❌ FAILED

Metric Count
Total Components 755
✅ Passed 360
❌ Failed 395
⚠️ Warnings 999

❌ Failed Components (Top 5)

Component Errors Warnings Score
vercel-edge-function 3 4 81/100
prompt-engineer 2 0 90/100
neon-expert 2 2 88/100
agent-overview 2 1 89/100
unused-code-cleaner 2 1 89/100

...and 390 more failed component(s)


📊 View Full Report for detailed error messages and all components

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@davila7 davila7 merged commit a1dde8b into main Mar 31, 2026
6 checks passed
@davila7 davila7 deleted the review/python-pro-2026-03-31 branch April 19, 2026 00:21
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