Skip to content

Build mpdecimal from source to workaround unreliable launchpad.net - #149248

Merged
hugovk merged 1 commit into
python:mainfrom
hugovk:3.15-mpdecimal-src
May 1, 2026
Merged

Build mpdecimal from source to workaround unreliable launchpad.net#149248
hugovk merged 1 commit into
python:mainfrom
hugovk:3.15-mpdecimal-src

Conversation

@hugovk

Copy link
Copy Markdown
Member

Canonical infra is unreliable right now:

This is causing the libmpdec-dev install to fail from ppa:ondrej/php and launchpad.net.

Instead, until things stabilise, we can temporarily build from source.

@hugovkhugovk added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes infra CI, GitHub Actions, buildbots, Dependabot, etc. labels May 1, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32501975 | 📁 Comparing 5be4b5f against main (d96ffc1)

🔍 Preview build

24 files changed · ± 24 modified

±Modified

@hugovk
hugovk enabled auto-merge (squash) May 1, 2026 18:37
@hugovk
hugovk merged commit 60b751c into python:mainMay 1, 2026
68 checks passed
@hugovk
hugovk deleted the 3.15-mpdecimal-src branch May 1, 2026 18:39
@miss-islington-app

Copy link
Copy Markdown

Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @hugovk, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 60b751c0181ec4f646666fb02bf4b44e3969e44c 3.14

@miss-islington-app

Copy link
Copy Markdown

Sorry, @hugovk, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 60b751c0181ec4f646666fb02bf4b44e3969e44c 3.13

@hugovk

Copy link
Copy Markdown
MemberAuthor

We don't actually need this for 3.14 (and likely 3.13) because it falls back to bundled libmpdec.

Both are still passing:

Comment on lines +34 to +35
MPDECIMAL_VERSION=4.0.1
curl -fsSL "https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-${MPDECIMAL_VERSION}.tar.gz" \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(late to the party) this should probably checksum the downloaded archive before extracting

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

Labels

infraCI, GitHub Actions, buildbots, Dependabot, etc.skip issueskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@hugovk@asottile@zware