Skip to content

docs: note Python 3.12+ requirement on pip install page#1236

Merged
Jammy2211 merged 1 commit intomainfrom
feature/drop-py311-install-docs
Apr 29, 2026
Merged

docs: note Python 3.12+ requirement on pip install page#1236
Jammy2211 merged 1 commit intomainfrom
feature/drop-py311-install-docs

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Adds a Python 3.12+ requirement note to the top of the pip install page,
plus a "Legacy Python versions" section at the bottom explaining how to
install pre-2026.4.5.3 releases of autofit via explicit version pin.

Context: users on Python 3.9/3.10/3.11 currently see pip install autofit
silently roll back to a pre-2026.4.5.3 release (which doesn't carry the
requires-python>=3.12 pin). They then download the latest workspace,
which is paired with the current PyAutoFit version, and hit unrelated-looking
import errors.

This PR is paired with a follow-up PyPI yank of all releases of autofit
prior to 2026.4.5.3. Yanked releases remain installable via explicit
== pin (so existing lockfiles keep working), but pip will no longer
fall back to them. Users on unsupported Python will instead get a clear
"no matching distribution" error pointing them at the version requirement.

API Changes

None — docs-only change.

Test Plan

  • make html builds the modified docs/installation/pip.rst without
    warnings.
  • Rendered page shows the top-of-page admonition and the bottom
    "Legacy Python versions" section.

🤖 Generated with Claude Code

pip install was silently rolling back to old releases on Python 3.9/3.10/3.11.
Pre-2026.4.5.3 releases will be yanked from PyPI; this updates the install
docs with a top-of-page Python 3.12+ note and a bottom "Legacy Python
versions" section explaining how to install pre-2026.4.5.3 versions
explicitly via `pip install autofit==<version>` if needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Apr 29, 2026
@Jammy2211 Jammy2211 merged commit 8540252 into main Apr 29, 2026
3 checks passed
@Jammy2211 Jammy2211 deleted the feature/drop-py311-install-docs branch April 29, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant