Skip to content

Commit 6b8bdb0

Browse files
authored
Docs: remove Windows static build quirk (#598)
The docs say that [Windows Static Distributions are Extremely Brittle](https://github.com/astral-sh/python-build-standalone/blob/main/docs/quirks.rst#windows-static-distributions-are-extremely-brittle). However, since #234, Windows static builds no longer exist, making this documentation obsolete. Fixes #597
1 parent 50e3f68 commit 6b8bdb0

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

docs/quirks.rst

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -109,33 +109,6 @@ To use pip, run ``python.exe -m pip``. (It is generally a best practice to
109109
invoke pip via ``python -m pip`` on all platforms so you can be explicit
110110
about the ``python`` executable that pip uses.)
111111

112-
.. _quirk_windows_static_distributions:
113-
114-
Windows Static Distributions are Extremely Brittle
115-
==================================================
116-
117-
This project produces statically linked CPython distributions for Windows.
118-
119-
Building these distributions requires extensive patching of CPython's build
120-
system. There are many aspects of CPython, the standard library, and 3rd party
121-
libraries that make assumptions that things will be built as dynamic libraries
122-
and break in these static builds.
123-
124-
Here is a list of known problems:
125-
126-
* Most Windows extension modules link against ``pythonXY.dll`` (e.g.
127-
``python39.dll``) or ``python3.dll`` and will fail to load on the static
128-
distributions. Extension modules will need to be explicitly recompiled
129-
against the static distribution.
130-
* There is no supported *platform tag* for Windows static distributions and
131-
therefore there is no supported way to distribute binary wheels targeting
132-
the Python static distributions.
133-
* Aspects of OpenSSL (and therefore Python's ``ssl`` module) don't work when
134-
OpenSSL is compiled/linked statically. You will get opaque run-time errors.
135-
136-
It is **highly** recommended to extensively test your application against the
137-
static Windows distributions to ensure it works.
138-
139112
.. _quirk_macos_linking:
140113

141114
Linking Static Library on macOS

0 commit comments

Comments
 (0)