Skip to content

Commit 365a96f

Browse files
committed
docs: update Python 3.11 references to 3.12
- docs/quickstart.rst: bump prerequisite from 3.11 to 3.12 - CONTRIBUTING.md: bump prerequisite from 3.11 to 3.12 - docs/example/Containerfile: update comment from python-311 to python-312 Made-with: Cursor Signed-off-by: Shanmukh Pawan <smoparth@redhat.com>
1 parent 5ce3ec4 commit 365a96f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Fromager thrives on practical, well-tested contributions. This guide summarizes
2222

2323
### Prerequisites
2424

25-
- Python 3.11 or newer
25+
- Python 3.12 or newer
2626
- `hatch` for environment and task management
2727

2828
```bash
@@ -99,7 +99,7 @@ The pre-commit hook prevents commits that would fail some CI quality checks, sav
9999
### Type Annotations
100100

101101
- Every function (including tests) must annotate all parameters and return values.
102-
- Use modern `X | None` syntax instead of `Optional[X]` (requires Python 3.11+).
102+
- Use modern `X | None` syntax instead of `Optional[X]` (PEP 604).
103103
- Prefer precise collection types (`list[str]`, `dict[str, int]`, etc.).
104104

105105
```python

docs/example/Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN dnf install -y --nodocs \
1212
patch rust cargo \
1313
&& dnf clean all
1414

15-
# /opt/app-root structure (same as s2i-core and ubi9/python-311)
15+
# /opt/app-root structure (same as s2i-core and ubi9/python-312)
1616
ENV APP_ROOT=/opt/app-root \
1717
HOME=/opt/app-root/src \
1818
PATH=/opt/app-root/src/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide gets you from zero to your first wheel build in under 5 minutes.
66
Prerequisites
77
-------------
88

9-
You'll need Python 3.11 or later and network access to download packages from PyPI.
9+
You'll need Python 3.12 or later and network access to download packages from PyPI.
1010

1111
Installation
1212
------------

0 commit comments

Comments
 (0)