mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-27 23:20:05 -05:00
Only the Windows and macOS packaging does, those being the two that ship an interpreter; the Linux packages use the distribution's Python.
32 lines
1.6 KiB
Plaintext
32 lines
1.6 KiB
Plaintext
# The Python that pgAdmin builds against and ships.
|
|
#
|
|
# The Windows and macOS packaging read this file. Both ship an interpreter
|
|
# inside the package, because the one on the user's machine may be missing
|
|
# altogether or far too old, so the version has to be decided somewhere; fixing
|
|
# it here means a given commit produces the same interpreter rather than
|
|
# whichever one happened to be installed on the machine that ran the build, and
|
|
# that a change of version arrives as a reviewable commit rather than as a
|
|
# settings change somebody made on a build agent.
|
|
#
|
|
# The Linux packages do not read it and should not: they depend on the
|
|
# distribution's Python, which is the distribution's business rather than ours.
|
|
#
|
|
# The format is deliberately dull: KEY=value, one per line, with # comments. It
|
|
# has to be read by a batch file, a shell script and occasionally a person, and
|
|
# anything richer than this would need a parser in at least one of those.
|
|
#
|
|
# PYTHON_VERSION is the exact CPython release, and is the only value the macOS
|
|
# build needs, since relocatable-python fetches the framework from python.org
|
|
# by version. The Windows build fetches a relocatable distribution from
|
|
# astral-sh/python-build-standalone, whose releases are dated rather than
|
|
# versioned, hence the second value; it then ships the matching embeddable
|
|
# distribution from python.org.
|
|
#
|
|
# The two must be changed together, because the archive names embed both, as
|
|
# cpython-<PYTHON_VERSION>+<PYTHON_BUILD_STANDALONE_TAG>-<platform>.tar.gz, and
|
|
# any given tag only carries the CPython releases that were current when it was
|
|
# cut.
|
|
|
|
PYTHON_VERSION=3.13.15
|
|
PYTHON_BUILD_STANDALONE_TAG=20260901
|