Skip to content

Commit 0701cd2

Browse files
committed
Merge branch 'main' into 14b1
2 parents 639c659 + 6b8bdb0 commit 0701cd2

File tree

3 files changed

+5
-32
lines changed

3 files changed

+5
-32
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ env:
2121
permissions:
2222
contents: write
2323
packages: write
24+
releases: wrte
2425
# Permissions used for actions/attest-build-provenance
2526
id-token: write
2627
attestations: write

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

src/release.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,12 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
274274
}],
275275
},
276276
);
277-
// TODO: Python 3.14 support on musl
278277
h.insert(
279278
"x86_64-unknown-linux-musl",
280279
TripleRelease {
281280
suffixes: linux_suffixes_musl.clone(),
282281
install_only_suffix: "lto",
283-
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
282+
python_version_requirement: None,
284283
conditional_suffixes: vec![],
285284
},
286285
);
@@ -289,7 +288,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
289288
TripleRelease {
290289
suffixes: linux_suffixes_musl.clone(),
291290
install_only_suffix: "lto",
292-
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
291+
python_version_requirement: None,
293292
conditional_suffixes: vec![],
294293
},
295294
);
@@ -298,7 +297,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
298297
TripleRelease {
299298
suffixes: linux_suffixes_musl.clone(),
300299
install_only_suffix: "lto",
301-
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
300+
python_version_requirement: None,
302301
conditional_suffixes: vec![],
303302
},
304303
);
@@ -307,7 +306,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::
307306
TripleRelease {
308307
suffixes: linux_suffixes_musl.clone(),
309308
install_only_suffix: "lto",
310-
python_version_requirement: Some(VersionSpecifier::from_str("<3.14").unwrap()),
309+
python_version_requirement: None,
311310
conditional_suffixes: vec![],
312311
},
313312
);

0 commit comments

Comments
 (0)