[ Web Proxy ]
URL:
Viewing: https://github-redirect.dependabot.com/python/devguide/pull/1916/files [Back]  [Original]

Update devguide following Python 3.10 EOL by hugovk Pull Request #1916 python/devguide GitHub
Skip to content

Navigation Menu

Sign in
Search/
Sign up

Repository navigation

More items
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments. Retry
Loading
Jump to
Jump to file
Failed to load files. Retry
Loading
Diff view
[Apply and reload]
Diff view
[Apply and reload]
2 changes: 1 addition & 1 deletion .ruff.toml
Show comments View file Edit file Delete file Open in desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target-version = "py310"
target-version = "py311"
fix = true
output-format = "full"
line-length = 88
Expand Down
2 changes: 1 addition & 1 deletion _tools/generate_release_cycle.py
Show comments View file Edit file Delete file Open in desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __init__(self, *, limit_to_active=False, special_py27=False) -> None:

def write_csv(self) -> None:
"""Output CSV files."""
now_str = str(dt.datetime.now(dt.timezone.utc))
now_str = str(dt.datetime.now(dt.UTC))

versions_by_category = {"branches": {}, "end-of-life": {}}
headers = None
Expand Down
2 changes: 1 addition & 1 deletion developer-workflow/development-cycle.rst
[Go] [Go] Show comments View file Edit file Delete file Open in desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ Current administrators
+--------------------+----------------------------------------------------------+-------------------+
| Thomas Wouters | Python 3.12 and 3.13 Release Manager | Yhg1s |
+--------------------+----------------------------------------------------------+-------------------+
| Pablo Galindo | Python 3.10 and 3.11 Release Manager, | pablogsal |
| Pablo Galindo | Python 3.11 Release Manager, | pablogsal |
| | Maintainer of buildbot.python.org | |
+--------------------+----------------------------------------------------------+-------------------+
| ukasz Langa | | ambv |
Expand Down
48 changes: 13 additions & 35 deletions getting-started/setup-building.rst
[Go] [Go] Show comments View file Edit file Delete file Open in desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ build you ultimately care about (that is, the build Python is not meant for use
by you directly, only the build system).

The easiest way to get a debug build of CPython for WASI is to run the
following command with Python 3.11 or newer:
following command:

.. tab:: Python 3.15+

Expand Down Expand Up @@ -882,48 +882,26 @@ some of CPython's modules (for example, ``zlib``).

$ brew bundle --file=Misc/Brewfile

.. tab:: Python 3.11+
Then configure::

For Python 3.11 and newer::

$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
./configure --config-cache \
--with-pydebug \
--with-openssl="$(brew --prefix openssl@3)"

.. tab:: Python 3.10

For Python 3.10::

$ CPPFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
LDFLAGS="-L$(brew --prefix gdbm)/lib -L$(brew --prefix xz)/lib" \
./configure --config-cache \
--with-pydebug \
--with-openssl="$(brew --prefix openssl@3)" \
--with-tcltk-libs="$(pkg-config --libs tcl tk)" \
--with-tcltk-includes="$(pkg-config --cflags tcl tk)" \
--with-dbmliborder=gdbm:ndbm

(``--with-dbmliborder`` is a workaround for a Homebrew-specific change
to ``gdbm``; see `#89452 <https://github.com/python/cpython/issues/89452>`__
for details.)
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
./configure --config-cache \
--with-pydebug \
--with-openssl="$(brew --prefix openssl@3)"

.. tab:: MacPorts

For **MacPorts**, install dependencies using ``port``::

$ sudo port install pkgconfig openssl xz gdbm tk +quartz mpdecimal zstd

.. tab:: Python 3.11+

For Python 3.11 and newer::

$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
./configure --config-cache \
--with-pydebug
Then configure::

$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
./configure --config-cache \
--with-pydebug

And finally, run ``make``::

Expand Down Expand Up @@ -996,7 +974,7 @@ make sure you also commit the changes in the generated files.
Python's :file:`configure.ac` script requires a specific version of
GNU Autoconf.
For Python 3.12 and newer, GNU Autoconf v2.71 is required.
For Python 3.11 and earlier, GNU Autoconf v2.69 is required.
For Python 3.11, GNU Autoconf v2.69 is required.

The recommended and by far the easiest way to regenerate :file:`configure` is::

Expand Down
Loading
Toggle all file notes Toggle all file annotations

Footer

© 2026 GitHub, Inc.

Web Proxy Viewer  |  New URL  |  Original Page