Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add a section about how to regenerate the ABI file#903

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
pablogsal merged 2 commits intopython:mainfrompablogsal:regen
Jun 22, 2022

Conversation

@pablogsal
Copy link
Member

No description provided.

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Some typos :)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@pablogsalpablogsal merged commit3f73e7d intopython:mainJun 22, 2022
@pablogsalpablogsal deleted the regen branchJune 22, 2022 15:38
@pablogsal
Copy link
MemberAuthor

Thanks for the review@AlexWaygood :)

AlexWaygood reacted with heart emoji

Comment on lines +505 to +518
..code-block::bash
# In the CPython root:
$ docker run -v`pwd`:/src -it ubuntu:20.04 bash
$cd /src
# Install dependencies to compile CPython
$ .github/workflows/posix-deps-apt.sh
# Install dependencies to run the ABI regeneration
$ apt-get install -yq abigail-tools python3
# Ensure CPython is built with all the debugging information
$export CFLAGS="-g3 -O0"
# Build Python
$ ./configure --enable-shared&& make
# Regenerate the ABI file
$ make regen-abidump
Copy link
Member

@encukouencukouJun 22, 2022
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

That's a long script. Would you object to adding it to the source, and reducing the instructions to just e.g.docker run -v$(pwd):/src -w/src --rm ubuntu:20.04 bash /src/.github/workflows/regen-abidump.sh?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

No, I think is a good idea. Will prepare a PR

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

with native extensions and other tools that interact with the Python interpreter.
See the documentation about the:ref:`release candidate<rc>` phase.

You can regenerate the ABI file by yourself by invoking the ``regen abidump``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

regen-abidump, right?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yup

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Will fix this when I update the code block after we mergepython/cpython#94135

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@encukouencukouencukou left review comments

@AlexWaygoodAlexWaygoodAlexWaygood left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@pablogsal@encukou@AlexWaygood

[8]ページ先頭

©2009-2025 Movatter.jp