Skip to content

Commit

Permalink
Detect the correct ABI tag for the debug free-threaded build of Python
Browse files Browse the repository at this point in the history
Swap the `t` and `d` flags to ensure that `t` comes first. This is due
to https://github.com/pypa/packaging/blob/28e7da78f6f73b4856260e24051b35a4517c0149/src/packaging/tags.py#L180.
  • Loading branch information
adang1345 committed Oct 9, 2024
1 parent d8093a8 commit 07fa5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion delvewheel/_dll_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def platform_tag_to_type(cls, tag: str) -> typing.Optional['MachineType']:
# current and future Python versions through 3.99
'cp3(9|1[0-2]|(1[3-9]|[2-9][0-9])t?)-win_a(md|rm)64': {'vcruntime140.dll', 'vcruntime140_1.dll'},
'cp3(9|1[0-2]|(1[3-9]|[2-9][0-9])t?)-win32': {'vcruntime140.dll'},
'cp3((9|1[0-2])d|(1[3-9]|[2-9][0-9])dt?)-win(32|_a(md|rm)64)': {'vcruntime140d.dll', 'ucrtbased.dll'},
'cp3((9|1[0-2])d|(1[3-9]|[2-9][0-9])t?d)-win(32|_a(md|rm)64)': {'vcruntime140d.dll', 'ucrtbased.dll'},
'pypy3([7-9]|1[0-9]|[2-9][0-9])_pp73-win_amd64': {'vcruntime140.dll'},

# older versions of Python
Expand Down

0 comments on commit 07fa5bc

Please sign in to comment.