Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: zanieb/python-build-standalone

Tags

20240224

Toggle 20240224's commit message
pythonbuild: update default time in tar archives to 2024-01-01

Let's emit somewhat modern timestamps instead of times from 2021.

The new date is midnight in UTC not midnight in US/Pacific.

20240107

Toggle 20240107's commit message
unix: normalize build configuration to aid portability

This commit implements a long desired feature to normalize the build
configuration in various distribution files post build but pre
packaging.

The goal of this general feature is to make distributions highly
portable. Before, configurations (which were used to e.g. compile
extension modules) referenced build environment paths, like `/tools`.
This is not desirable and can confuse downstream users when unexpected
settings are used.

The impetus for this work is astral-sh#194. As part of this change we strip the
`-fdebug-default-version` argument from `CFLAGS` to restore CFLAGS
compatibility with GCC.

There's no doubt additional settings that could be normalized. Those
can be implemented as follow-ups.

20231002

Toggle 20231002's commit message
downloads: CPython 3.12.0rc3 -> 3.12.0

20230826

Toggle 20230826's commit message
downloads: CPython 3.11.4 -> 3.11.5

We remove a patch for limits.h handling because upstream incorporated a
fix (from a bug report I filed).

And it looks like upstream backported build system changes to build with
OpenSSL 3.0 on Windows. We need to update our code accordingly.

We really should be building against OpenSSL 3.0. But that's scope
bloat. We'll get there.

20230726

Toggle 20230726's commit message
requirements: update to latest

20230507

Toggle 20230507's commit message
downloads: upgrade LLVM toolchains 16.0.2 -> 16.0.3

20230116

Toggle 20230116's commit message
just: refactor macOS build script

Builds still intermittently fail a lot for me. So let's retry the
build once before giving up.

To avoid repetition we use a shell for loop.

20221220

Toggle 20221220's commit message
unix: always disable mkfifoat and mknodat on 3.8

Newer Apple SDKs say that these are introduced in macOS 13.0. So we need
to ban them unconditionally on 3.8 since 3.8 doesn't support weak
linking.

20221106

Toggle 20221106's commit message
ci: upgrade Linux runners to Ubuntu 22.04

The important part of the build is performed inside deterministic
containers. So this shouldn't materially impact the build.

20221002

Toggle 20221002's commit message
unix: patch configure.ac instead of configure

Python 3.11 introduces a configure based mechanism for configuring
extension modules. It is looking like we'll need to bulk modify
behavior to get it to work with our opinionated way of statically
linking extension modules.

In preparation for that, this commit changes all our configure patches
to patch `configure.ac` instead of `configure` so we can make changes at
the source without bloating patch size. As part of this, I also moved
the patches to standalone files, as having to copy inline patches with
tabs was historically annoying. This approach is much easier.