Skip to content

Commit 211be0a

Browse files
authored
Merge pull request #3618 from flatcar/krnowak/python-bump
Bump python to 3.12
2 parents 6d03cc9 + f23661e commit 211be0a

File tree

19 files changed

+374
-34
lines changed

19 files changed

+374
-34
lines changed

build_library/catalyst.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ export ac_cv_posix_semaphores_enabled=yes
8080
EOF
8181
}
8282

83-
# Common values for all stage spec files
83+
# Common values for all stage spec files. Takes a stage number and,
84+
# optionally, a profile name as parameters.
8485
catalyst_stage_default() {
8586
cat <<EOF
8687
target: stage$1
@@ -89,7 +90,7 @@ rel_type: $TYPE
8990
portage_confdir: $TEMPDIR/portage
9091
repos: $FLAGS_coreos_overlay
9192
keep_repos: portage-stable coreos-overlay
92-
profile: $FLAGS_profile
93+
profile: ${2:-$FLAGS_profile}
9394
snapshot_treeish: $FLAGS_version
9495
version_stamp: $FLAGS_version
9596
cflags: -O2 -pipe
@@ -107,7 +108,7 @@ pkgcache_path: ${TEMPDIR}/stage1-${ARCH}-packages
107108
update_seed: yes
108109
update_seed_command: --exclude cross-*-cros-linux-gnu/* --exclude dev-lang/rust --exclude dev-lang/rust-bin --ignore-world y --ignore-built-slot-operator-deps y @changed-subslot
109110
EOF
110-
catalyst_stage_default 1
111+
catalyst_stage_default 1 "${FLAGS_profile}/transition"
111112
}
112113

113114
catalyst_stage3() {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- python ([3.12.12](https://www.python.org/downloads/release/python-31212/) (includes [3.12.0](https://www.python.org/downloads/release/python-3120/)))

sdk_container/src/third_party/coreos-overlay/app-emulation/google-compute-engine/google-compute-engine-20190124-r2.ebuild renamed to sdk_container/src/third_party/coreos-overlay/app-emulation/google-compute-engine/google-compute-engine-20190124-r3.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
EAPI=8
55

6-
PYTHON_COMPAT=( python3_11 )
6+
PYTHON_COMPAT=( python3_{11..14} )
77
DISTUTILS_USE_PEP517=setuptools
88

99
inherit distutils-r1

sdk_container/src/third_party/coreos-overlay/app-emulation/xenstore/xenstore-4.14.2-r2.ebuild renamed to sdk_container/src/third_party/coreos-overlay/app-emulation/xenstore/xenstore-4.14.2-r3.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
EAPI=7
66

7-
PYTHON_COMPAT=( python3_{6..11} )
7+
PYTHON_COMPAT=( python3_{11..14} )
88

99
inherit multilib python-any-r1 systemd toolchain-funcs
1010

sdk_container/src/third_party/coreos-overlay/app-misc/ca-certificates/ca-certificates-3.120.ebuild renamed to sdk_container/src/third_party/coreos-overlay/app-misc/ca-certificates/ca-certificates-3.120-r1.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
5-
PYTHON_COMPAT=( python3_{6..11} )
5+
PYTHON_COMPAT=( python3_{11..14} )
66
TMPFILES_OPTIONAL=1
77
inherit python-any-r1 systemd tmpfiles
88

sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-init/coreos-init-0.0.1-r201.ebuild renamed to sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-init/coreos-init-0.0.1-r202.ebuild

File renamed without changes.

sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-init/coreos-init-9999.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
EAPI=8
66

7-
PYTHON_COMPAT=( python3_{9..11} )
7+
PYTHON_COMPAT=( python3_{11..14} )
88
inherit systemd python-any-r1
99

1010
DESCRIPTION="Init scripts for Flatcar"

sdk_container/src/third_party/coreos-overlay/coreos-base/emerge-gitclone/emerge-gitclone-0.0.1-r592.ebuild renamed to sdk_container/src/third_party/coreos-overlay/coreos-base/emerge-gitclone/emerge-gitclone-0.0.1-r593.ebuild

File renamed without changes.

sdk_container/src/third_party/coreos-overlay/coreos-base/emerge-gitclone/emerge-gitclone-9999.ebuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
EAPI=8
55

6-
PYTHON_COMPAT=( python3_{6..11} )
6+
PYTHON_COMPAT=( python3_{11..14} )
77
inherit python-single-r1
88

99
DESCRIPTION="emerge utilities for Flatcar developer images"

sdk_container/src/third_party/coreos-overlay/dev-python/boto/boto-2.49.0-r7.ebuild renamed to sdk_container/src/third_party/coreos-overlay/dev-python/boto/boto-2.49.0-r8.ebuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
EAPI=8
55

6-
PYTHON_COMPAT=( python3_{10..11} )
6+
PYTHON_COMPAT=( python3_{11..14} )
77
DISTUTILS_USE_PEP517=setuptools
88

99
inherit distutils-r1 pypi
@@ -25,6 +25,7 @@ PATCHES=(
2525
"${FILESDIR}"/${P}-unbundle-six.patch
2626
"${FILESDIR}"/${P}-py310.patch
2727
"${FILESDIR}"/${P}-mock-spec.patch
28+
"${FILESDIR}"/${P}-py312.patch
2829
)
2930

3031
RDEPEND="

0 commit comments

Comments
 (0)