mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
2123c94448
fa1b139d17
Bump python minimum supported version to 3.10 (MarcoFalke) Pull request description: All supported operating systems ship with python 3.10 (or later), so bumping the minimum should not cause any issues. A bump will allow new code to use new python features. For reference: * https://packages.debian.org/bookworm/python3 * https://packages.ubuntu.com/jammy/python3 * FreeBSD 13/14 ships with 3.11 * CentOS-like 8/9 ships with 3.11/3.12 (via `appstream`) * OpenSuse Tumbleweed ships with all python versions, e.g. https://software.opensuse.org/package/python312-base This is for Bitcoin Core 29.0 in 2025 (next year), not the soon upcoming 28.0 this fall. ACKs for top commit: achow101: ACKfa1b139d17
AngusP: ACKfa1b139d17
l0rinc: ACKfa1b139d17
stickies-v: ACKfa1b139d17
Tree-SHA512: 910b202ff2374bb21c93e5249a151fd2c8f63759bed5659676b0e467afa6e8e977be797c3fccceca303c82575e11ec236a8d7c5880910e4314b3875b820e7e8a
27 lines
1.1 KiB
Bash
Executable file
27 lines
1.1 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2019-present The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
export CONTAINER_NAME=ci_native_previous_releases
|
|
export CI_IMAGE_NAME_TAG="docker.io/ubuntu:22.04"
|
|
# Use minimum supported python3.10 and gcc-11, see doc/dependencies.md
|
|
export PACKAGES="gcc-11 g++-11 python3-zmq"
|
|
export DEP_OPTS="NO_UPNP=1 DEBUG=1 CC=gcc-11 CXX=g++-11"
|
|
export TEST_RUNNER_EXTRA="--previous-releases --coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
|
|
export RUN_UNIT_TESTS_SEQUENTIAL="true"
|
|
export RUN_UNIT_TESTS="false"
|
|
export GOAL="install"
|
|
export DOWNLOAD_PREVIOUS_RELEASES="true"
|
|
export BITCOIN_CONFIG="\
|
|
-DWITH_ZMQ=ON -DBUILD_GUI=ON -DREDUCE_EXPORTS=ON \
|
|
-DCMAKE_BUILD_TYPE=Debug \
|
|
-DCMAKE_C_FLAGS='-funsigned-char' \
|
|
-DCMAKE_C_FLAGS_DEBUG='-g0 -O2' \
|
|
-DCMAKE_CXX_FLAGS='-funsigned-char' \
|
|
-DCMAKE_CXX_FLAGS_DEBUG='-g0 -O2' \
|
|
-DAPPEND_CPPFLAGS='-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE' \
|
|
"
|