Side tags for Python 3.15 (Fedora 45) #13345

Open
opened 2026-05-06 11:55:33 +00:00 by ksurma · 13 comments

Describe the issue

Hi, I need side tags for Python 3.15 rebuild, ideally like that:

  • f45-python - the "main" side tag, a target for ~4000 packages that we will attempt to build in June
  • f45-python-bootstrap - a tag inherited from f45-python, set with _with_bootstrap=1 which would tag builds directly into f45-python

The idea behind: we've got quite a few packages that require a two-step build, first as bootstrap, then as a final build. We used to do this by submitting patches switching bconds in specfiles, but this arrangement could save us dozens of commits.

Also, please enable signing the packages so that merging the side tag is faster -- we have been bitten by the long signing queue in the past, it would save all of us some trouble.

When do you need this? (2026-05-20 - arbitrary date)

We plan to start rebuild at the beginning of June. It would be nice to be able to test the bootstrap sequence beforehand, hence I set the deadline a few days earlier.

When is this no longer needed or useful?

After the side tag merge (I'll ask for it in a separate issue).

If we cannot complete this, what is the impact? [Dependencies/Blocker]

We would have to defer the Python 3.15 change to a later Fedora release, which hasn't happened so far. We will strive to ship it on time. https://fedoraproject.org/wiki/Changes/Python3.15


Checklist

  • I have checked existing issues for duplicates
  • I have filled out all the fields above
  • I have provided relevant links or references (if applicable)
## Describe the issue Hi, I need side tags for Python 3.15 rebuild, ideally like that: - f45-python - the "main" side tag, a target for ~4000 packages that we will attempt to build in June - f45-python-bootstrap - a tag inherited from f45-python, set with `_with_bootstrap=1` which would tag builds directly into f45-python The idea behind: we've got quite a few packages that require a two-step build, first as bootstrap, then as a final build. We used to do this by submitting patches switching bconds in specfiles, but this arrangement could save us dozens of commits. Also, please enable signing the packages so that merging the side tag is faster -- we have been bitten by the long signing queue in the past, it would save all of us some trouble. ## When do you need this? (2026-05-20 - arbitrary date) We plan to start rebuild at the beginning of June. It would be nice to be able to test the bootstrap sequence beforehand, hence I set the deadline a few days earlier. ## When is this no longer needed or useful? After the side tag merge (I'll ask for it in a separate issue). ## If we cannot complete this, what is the impact? [Dependencies/Blocker] We would have to defer the Python 3.15 change to a later Fedora release, which hasn't happened so far. We will strive to ship it on time. https://fedoraproject.org/wiki/Changes/Python3.15 --- ## Checklist - [x] I have checked existing issues for duplicates - [x] I have filled out all the fields above - [x] I have provided relevant links or references (if applicable)
Owner

Hello!

Thanks for opening this request. I have created these tags, please check the info below, in case you need anything more please let me know.

➜ jnsamyak@fedora  ~  koji taginfo f45-python
Tag: f45-python [137131]
Arches: x86_64 aarch64 ppc64le s390x
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Tag options:
  mock.new_chroot : 1          [f45]
  mock.package_manager : 'dnf5' [f45]
  noarch_arches : 'aarch64 ppc64le x86_64' [f45-build]
  sidetag_rpm_macros_allowed : '_with_bootstrap' [f45-build]
Targets that build into this tag:
  f45-python (f45-python, no active repo)
This tag is a buildroot for one or more targets
Current repo: no active repo
Targets that build from this tag:
  f45-python
Inheritance:
  0    .... f45-build [128157]
➜ jnsamyak@fedora  ~  koji taginfo f45-python-bootstrap
Tag: f45-python-bootstrap [137132]
Arches: 
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Tag options:
  mock.new_chroot : 1          [f45]
  mock.package_manager : 'dnf5' [f45]
  noarch_arches : 'aarch64 ppc64le x86_64' [f45-build]
  sidetag_rpm_macros_allowed : '_with_bootstrap=1'
Current repo: no active repo
Inheritance:
  0    .... f45-python [137131]
Hello! Thanks for opening this request. I have created these tags, please check the info below, in case you need anything more please let me know. ``` ➜ jnsamyak@fedora ~ koji taginfo f45-python Tag: f45-python [137131] Arches: x86_64 aarch64 ppc64le s390x Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build Tag options: mock.new_chroot : 1 [f45] mock.package_manager : 'dnf5' [f45] noarch_arches : 'aarch64 ppc64le x86_64' [f45-build] sidetag_rpm_macros_allowed : '_with_bootstrap' [f45-build] Targets that build into this tag: f45-python (f45-python, no active repo) This tag is a buildroot for one or more targets Current repo: no active repo Targets that build from this tag: f45-python Inheritance: 0 .... f45-build [128157] ➜ jnsamyak@fedora ~ koji taginfo f45-python-bootstrap Tag: f45-python-bootstrap [137132] Arches: Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build Tag options: mock.new_chroot : 1 [f45] mock.package_manager : 'dnf5' [f45] noarch_arches : 'aarch64 ppc64le x86_64' [f45-build] sidetag_rpm_macros_allowed : '_with_bootstrap=1' Current repo: no active repo Inheritance: 0 .... f45-python [137131] ```
Contributor

Is i686 missing from arches expected?

Is i686 missing from arches expected?
ksurma reopened this issue 2026-05-19 11:25:18 +00:00
Contributor

Also, is there a way to configure the f45-python-bootstrap target to tag builds automatically to f45-python?

Also, is there a way to configure the f45-python-bootstrap target to tag builds automatically to f45-python?
Author

@jnsamyak, hello, could you take a look at Miro's questions? Thank you.

@jnsamyak, hello, could you take a look at Miro's questions? Thank you.
Contributor

To clarify:

  • Missing i686 is a blocker we absolutely need to build on i686. We plan to start in ~1 week.
  • Autotagging as described is very nice to have, but we can workaround it by manually tagging the builds.
To clarify: - Missing i686 is a **blocker** we absolutely need to build on i686. We plan to start in ~1 week. - Autotagging as described is *very nice to have*, but we can workaround it by manually tagging the builds.
Contributor

I think I was able to fix this myself:

$ koji edit-tag --arches="i686 x86_64 aarch64 ppc64le s390x" f45-python
$ koji taginfo f45-python
...
Arches: i686 x86_64 aarch64 ppc64le s390x
I think I was able to fix this myself: ``` $ koji edit-tag --arches="i686 x86_64 aarch64 ppc64le s390x" f45-python $ koji taginfo f45-python ... Arches: i686 x86_64 aarch64 ppc64le s390x ```
Contributor

The second tag exists but has no associated target :/

Could not execute build: Unknown build target: f45-python-bootstrap

The second tag exists but has no associated target :/ Could not execute build: Unknown build target: f45-python-bootstrap
Contributor
$ koji add-target f45-python-bootstrap f45-python-bootstrap f45-python
Build tag has no arches: f45-python-bootstrap
$ koji edit-tag --arches="i686 x86_64 aarch64 ppc64le s390x" f45-python-bootstrap
$ koji add-target f45-python-bootstrap f45-python-bootstrap f45-python
$ koji taginfo f45-python-bootstrap
Tag: f45-python-bootstrap [137132]
Arches: i686 x86_64 aarch64 ppc64le s390x
Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build
Tag options:
  mock.new_chroot : 1          [f45]
  mock.package_manager : 'dnf5' [f45]
  noarch_arches : 'aarch64 ppc64le x86_64' [f45-build]
  sidetag_rpm_macros_allowed : '_with_bootstrap=1'
This tag is a buildroot for one or more targets
Current repo: no active repo
Targets that build from this tag:
  f45-python-bootstrap
Inheritance:
  0    .... f45-python [137131]
``` $ koji add-target f45-python-bootstrap f45-python-bootstrap f45-python Build tag has no arches: f45-python-bootstrap $ koji edit-tag --arches="i686 x86_64 aarch64 ppc64le s390x" f45-python-bootstrap $ koji add-target f45-python-bootstrap f45-python-bootstrap f45-python $ koji taginfo f45-python-bootstrap Tag: f45-python-bootstrap [137132] Arches: i686 x86_64 aarch64 ppc64le s390x Groups: appliance-build, build, kiwi-build, livecd-build, livemedia-build, srpm-build Tag options: mock.new_chroot : 1 [f45] mock.package_manager : 'dnf5' [f45] noarch_arches : 'aarch64 ppc64le x86_64' [f45-build] sidetag_rpm_macros_allowed : '_with_bootstrap=1' This tag is a buildroot for one or more targets Current repo: no active repo Targets that build from this tag: f45-python-bootstrap Inheritance: 0 .... f45-python [137131] ```
Contributor

Testing some scratchbuilds (which will not verify the tagging but at least the arches).

Testing some scratchbuilds (which will not verify the tagging but at least the arches).
Contributor

Apparently, I also needed to run koji edit-tag -x rpm.macro._with_bootstrap=1 f45-python-bootstrap or else the bootstrap tag had sidetag_rpm_macros_allowed '_with_bootstrap=1' only.

Apparently, I also needed to run `koji edit-tag -x rpm.macro._with_bootstrap=1 f45-python-bootstrap` or else the bootstrap tag had `sidetag_rpm_macros_allowed '_with_bootstrap=1'` only.
Contributor

Everything wrt the build targets seems to be in order now.

Except I don't know if autosign was enabled.

Everything wrt the build targets seems to be in order now. Except I don't know if autosign was enabled.
Contributor
https://forge.fedoraproject.org/infra/ansible/pulls/3367
Owner

Apoligies, I was on PTO last week, I'll look at it today.

Apoligies, I was on PTO last week, I'll look at it today.
Sign in to join this conversation.
No milestone
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
releng/tickets#13345
No description provided.