From python-production-versions-plugin
Authoritative reference for current Python production library versions, deprecated packages, and compatibility issues. Use when creating Python projects, adding dependencies to pyproject.toml or requirements.txt, updating library versions, scaffolding projects, or discussing Python library versions. Provides version floors to prevent outdated, unmaintained, or incompatible packages. Supports project-local overrides via .claude/python-versions.md.
How this skill is triggered — by the user, by Claude, or both
Slash command
/python-production-versions-plugin:python-production-versionsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides the authoritative reference for Python library versions used in production. It prevents the use of outdated, deprecated, or incompatible packages by maintaining current version information, deprecation notices, and compatibility notes.
This skill provides the authoritative reference for Python library versions used in production. It prevents the use of outdated, deprecated, or incompatible packages by maintaining current version information, deprecation notices, and compatibility notes.
The versions in this skill are lower bounds — they represent the minimum acceptable versions. Projects may use newer versions. Teams can override or supplement these defaults with a project-local file.
Before using the bundled references, always check for a project-local override file:
.claude/python-versions.md in the project rootThis allows teams to:
The local file (.claude/python-versions.md) should follow the same format as the bundled reference files:
# Project Python Version Overrides
## Version Pins
| Package | Version | Notes |
|---------|---------|-------|
| fastapi | >=0.116.0 | Pinned higher — we need the new middleware API |
| sqlalchemy | >=2.0.36 | Security fix in 2.0.36 |
## Additional Deprecated Packages
| Deprecated | Replacement | Reason |
|------------|-------------|--------|
| requests | httpx>=0.27.0 | Team standard: async-first |
## Additional Compatibility Notes
- `our-internal-lib>=2.0` requires `pydantic>=2.10.0`
Always use this skill when:
pyproject.toml or requirements.txtThis skill prevents:
Use for: Python library versions, version constraints, common stacks
Contains current recommended versions for FastAPI, Pydantic, SQLAlchemy, aio-pika, Click, Rich, and other common Python libraries. Includes version constraint strategies and breaking change notes.
Read when: Creating any Python project, adding Python dependencies, or updating libraries.
Use for: Checking if a Python library should be avoided
Contains deprecated, unmaintained, or forked libraries with recommended replacements and migration examples.
Read when: A library seems outdated, wondering if there's a better alternative, or encountering unmaintained packages.
Use for: Debugging version conflicts and known issues
Contains known version conflicts, platform-specific issues (macOS ARM, Linux), common error messages and fixes, and database driver version matrices.
Read when: Encountering dependency resolution errors, platform-specific build failures, or integration issues between libraries.
Use for: Docker base images for Python services
Contains recommended Docker base images for Python applications and common companion services (PostgreSQL, Redis, RabbitMQ). Includes multi-architecture build guidance and security best practices.
Read when: Creating Dockerfiles for Python services, selecting base images, or setting up docker-compose files.
1. Check for .claude/python-versions.md (local overrides)
2. Read references/python.md (bundled versions)
3. Merge: local overrides win, bundled provides the floor
4. Use merged versions in pyproject.toml
1. Check .claude/python-versions.md for a local pin
2. Check references/deprecated.md — is the package deprecated?
3. Check references/python.md for the recommended version
4. Check references/compatibility.md for known conflicts
1. Read references/containers.md for Python base images
2. Read references/containers.md for companion service images
3. Check .claude/python-versions.md for team-specific image preferences
For Applications:
>= for flexibility: fastapi>=0.115.0uv.lockFor Libraries/SDKs:
>= with minimum versionFor Production Deployment:
Highlighted in references/deprecated.md:
python-jose → Use jwcrypto>=1.5.0pycrypto → Use cryptography>=42.0.0bitnami/* images → Use official Docker images or managed servicescelery (for new projects) → Use aio-pika>=9.4.0 + custom workerspydantic v1 → Use pydantic>=2.9.0This skill works with the Python scaffold plugins:
references/python.mdreferences/deprecated.mdreferences/compatibility.mdreferences/containers.mdnpx claudepluginhub darkflib/skill-marketplace --plugin python-production-versions-pluginManages Python virtual environments using venv, Poetry, Pipenv, pyenv; handles dependencies, resolves conflicts, automates project setup, and troubleshoots issues.
Opinionated production Python standards with automatic version detection (3.10-3.13). Guides modern type syntax, explicit condition checks, pathlib operations, and pragmatic patterns.
Enforces Python 3.13+ by rejecting projects or dependencies needing older versions, suggesting forks, containers, or replacements instead of downgrading.