-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-40747: Make py_version_nodot 3_10 not 310 #20333
Changes from 7 commits
fd5a12d
76a596c
5eb6a84
9759ea9
b9fe6c2
7149e08
4f9b869
48ec1e9
11be5f5
079e5e3
5e3760b
411c150
d201030
b549f09
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The PEP 425 python tag, taken from ``py_version_nodot``, adds a ``_`` so ``cp310`` is now ``cp3_10``. | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4737,14 +4737,14 @@ AC_SUBST(SOABI) | |
AC_MSG_CHECKING(ABIFLAGS) | ||
AC_MSG_RESULT($ABIFLAGS) | ||
AC_MSG_CHECKING(SOABI) | ||
SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET} | ||
SOABI='cpython-'`echo $VERSION | tr -d "." "_"`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET} | ||
AC_MSG_RESULT($SOABI) | ||
|
||
# Release and debug (Py_DEBUG) ABI are compatible, but not Py_TRACE_REFS ABI | ||
if test "$Py_DEBUG" = 'true' -a "$with_trace_refs" != "yes"; then | ||
# Similar to SOABI but remove "d" flag from ABIFLAGS | ||
AC_SUBST(ALT_SOABI) | ||
ALT_SOABI='cpython-'`echo $VERSION | tr -d .``echo $ABIFLAGS | tr -d d`${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET} | ||
ALT_SOABI='cpython-'`echo $VERSION | tr -d "." "_"``echo $ABIFLAGS | tr -d d`${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On macOS, at least,
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Huh. Strange it passes CI. Is the change on line 4740 also problematic? I cannot reproduce, could you try removing the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
(You don't see it in the log for the most recent Travis CI run because it appears that the build environment for the PR is cached and it didn't rerun configure.) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed by removing the -d from the tr command. Checked it by rerunning There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (FWIW the error makes sense: tr is either |
||
AC_DEFINE_UNQUOTED(ALT_SOABI, "${ALT_SOABI}", | ||
[Alternative SOABI used in debug build to load C extensions built in release mode]) | ||
fi | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None of the other blurbs in that directory have a contributor name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That doesn't mean the other news entries are wrong. 😉 (And this is coming from the person who created this workflow, so I can say with certainty you can put your name in the news entry.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer not to, but won't stop you from commiting the change.