Skip to content

Commit e3f3b8f

Browse files
committed
PEP 739: clarify libpython.dynamic_stableabi key
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 7c206e4 commit e3f3b8f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

peps/pep-0739.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,10 @@ below, which is rendered in an human-readable format here.
551551
defined in the ``base_prefix`` key.
552552

553553
This field MUST be present if the Python installation provides a
554-
dynamic ``libpython`` library, otherwise this entry will be
555-
missing.
554+
dynamic ``libpython`` library targetting the Stable ABI,
555+
otherwise this entry will be missing.
556+
557+
If this key is present ``dynamic`` MUST also be set.
556558
* - Examples
557559
- - ``/usr/lib/libpython3.so``
558560
- ``lib/libpython3.so``

peps/pep-0739/python-build-info-v1.0.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
},
207207
"dynamic_stableabi": {
208208
"type": "string",
209-
"description": "The path to the dynamic ``libpython`` library for the stable ABI. Either an absolute path, or a relative path to the path defined in the ``base_prefix`` key.\n\nThis field MUST be present if the Python installation provides a dynamic ``libpython`` library, otherwise this entry will be missing.",
209+
"description": "The path to the dynamic ``libpython`` library for the stable ABI. Either an absolute path, or a relative path to the path defined in the ``base_prefix`` key.\n\nThis field MUST be present if the Python installation provides a dynamic ``libpython`` library targetting the Stable ABI, otherwise this entry will be missing.\n\nIf this key is present ``dynamic`` MUST also be set.",
210210
"examples": [
211211
"/usr/lib/libpython3.so",
212212
"lib/libpython3.so"

0 commit comments

Comments
 (0)