Building ISO : Must change 4.2 to 4.1 or anaconda dependency hell (nothing provides python3-simpleline)

Steps.
Clean AppVM based on Fedora 36 template.

git clone https://github.com/QubesOS/qubes-builder.git qubes-builder
cd qubes-builder

Created a builder.conf

make get-sources 
make install-deps
make remount 
make iso

Build fails with an apparent circular dependency issue with anaconda:

/home/user/qubes-src/installer-qubes-os/work/1337/x86_64/os /home/user/qubes-src/installer-qubes-os
2023-02-09 22:49:08,488: selinux is Disabled
2023-02-09 22:49:08,492: Using platform:f32 for module_platform_id
2023-02-09 22:49:39,438: selinux is Disabled
selinux is Disabled
2023-02-09 22:49:39,438: checking for root privileges
checking for root privileges
2023-02-09 22:49:39,438: checking dnf base object
checking dnf base object
2023-02-09 22:49:41,852: setting up build architecture
setting up build architecture
2023-02-09 22:49:41,853: setting up build parameters
setting up build parameters
2023-02-09 22:49:41,853: Using templatedir /usr/share/lorax-qubes
Using templatedir /usr/share/lorax-qubes
2023-02-09 22:49:41,853: installing runtime packages
installing runtime packages
2023-02-09 22:49:41,865: running runtime-install.tmpl
running runtime-install.tmpl
2023-02-09 22:49:42,028: installpkg: lohit-gu*-fonts expands to lohit-gujarati-fonts-2.92.4-9.fc32,lohit-gurmukhi-fonts-2.91.2-10.fc32
installpkg: lohit-gu*-fonts expands to lohit-gujarati-fonts-2.92.4-9.fc32,lohit-gurmukhi-fonts-2.91.2-10.fc32
2023-02-09 22:49:42,098: Checking dependencies
Checking dependencies
2023-02-09 22:50:22,445: Dependency check failed: 
 Problem 1: package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
 Problem 2: package kdump-anaconda-addon-005-8.20200220git80aab11.fc32.noarch requires anaconda >= 21.33, but none of the providers can be installed
  - package anaconda-32.24.7-1.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-1.fc32, but none of the providers can be installed
  - package anaconda-32.24.7-2.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-2.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-6.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-6.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-7.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-7.fc32, but none of the providers can be installed
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-1.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-2.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-6.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-7.fc32.x86_64
  - package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
Dependency check failed: 
 Problem 1: package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
 Problem 2: package kdump-anaconda-addon-005-8.20200220git80aab11.fc32.noarch requires anaconda >= 21.33, but none of the providers can be installed
  - package anaconda-32.24.7-1.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-1.fc32, but none of the providers can be installed
  - package anaconda-32.24.7-2.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-2.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-6.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-6.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-7.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-7.fc32, but none of the providers can be installed
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-1.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-2.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-6.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-7.fc32.x86_64
  - package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
2023-02-09 22:50:22,445: template command error in runtime-install.tmpl:
template command error in runtime-install.tmpl:
2023-02-09 22:50:22,445:   run_pkg_transaction
  run_pkg_transaction
2023-02-09 22:50:22,446:   dnf.exceptions.DepsolveError: 
 Problem 1: package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
 Problem 2: package kdump-anaconda-addon-005-8.20200220git80aab11.fc32.noarch requires anaconda >= 21.33, but none of the providers can be installed
  - package anaconda-32.24.7-1.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-1.fc32, but none of the providers can be installed
  - package anaconda-32.24.7-2.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-2.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-6.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-6.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-7.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-7.fc32, but none of the providers can be installed
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-1.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-2.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-6.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-7.fc32.x86_64
  - package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
  dnf.exceptions.DepsolveError: 
 Problem 1: package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
 Problem 2: package kdump-anaconda-addon-005-8.20200220git80aab11.fc32.noarch requires anaconda >= 21.33, but none of the providers can be installed
  - package anaconda-32.24.7-1.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-1.fc32, but none of the providers can be installed
  - package anaconda-32.24.7-2.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-2.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-6.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-6.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-7.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-7.fc32, but none of the providers can be installed
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-1.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-2.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-6.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-7.fc32.x86_64
  - package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
Traceback (most recent call last):
  File "/usr/sbin/lorax", line 223, in <module>
    main()
  File "/usr/sbin/lorax", line 204, in main
    lorax.run(dnfbase, opts.product, opts.version, opts.release,
  File "/usr/lib/python3.8/site-packages/pylorax/__init__.py", line 264, in run
    rb.install()
  File "/usr/lib/python3.8/site-packages/pylorax/treebuilder.py", line 136, in install
    self._runner.run("runtime-install.tmpl")
  File "/usr/lib/python3.8/site-packages/pylorax/ltmpl.py", line 149, in run
    self._run(commands)
  File "/usr/lib/python3.8/site-packages/pylorax/ltmpl.py", line 168, in _run
    f(*args)
  File "/usr/lib/python3.8/site-packages/pylorax/ltmpl.py", line 631, in run_pkg_transaction
    self.dbo.resolve()
  File "/usr/lib/python3.8/site-packages/dnf/base.py", line 848, in resolve
    raise exc
dnf.exceptions.DepsolveError: 
 Problem 1: package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
 Problem 2: package kdump-anaconda-addon-005-8.20200220git80aab11.fc32.noarch requires anaconda >= 21.33, but none of the providers can be installed
  - package anaconda-32.24.7-1.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-1.fc32, but none of the providers can be installed
  - package anaconda-32.24.7-2.fc32.x86_64 requires anaconda-install-env-deps = 32.24.7-2.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-6.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-6.fc32, but none of the providers can be installed
  - package anaconda-1000:32.24.5-7.fc32.x86_64 requires anaconda-install-env-deps = 1000:32.24.5-7.fc32, but none of the providers can be installed
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-1.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-32.24.7-2.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-6.fc32.x86_64
  - cannot install both anaconda-install-env-deps-1000:37.12.6-2.fc32.x86_64 and anaconda-install-env-deps-1000:32.24.5-7.fc32.x86_64
  - package anaconda-1000:37.12.6-2.fc32.x86_64 requires anaconda-tui = 1000:37.12.6-2.fc32, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3-simpleline >= 1.9.0-1 needed by anaconda-tui-1000:37.12.6-2.fc32.x86_64
make[1]: *** [Makefile:132: iso-installer-lorax] Error 1
--> build failed!
make: *** [Makefile:575: iso] Error 1

Something is wrong as although version 4.1 is specified in the builder.conf, 4.2 deps are being pulled in:

cat builder.conf


VERBOSE ?= 2

BACKEND_VMM ?= xen

GIT_BASEURL ?= https://github.com
GIT_PREFIX ?= QubesOS/qubes-

RELEASE ?= 4.1

DIST_DOM0 ?= fc32
DISTS_VM ?= 

COMPONENTS =     installer-qubes-os     linux-yum     builder-rpm     linux-template-builder 

BUILDER_PLUGINS ?= builder-rpm 

USE_QUBES_REPO_VERSION = 4.1
ISO_VERSION = 5111341

INSTALLER_KICKSTART=/home/user/qubes-src/installer-qubes-os/conf/iso-full-online.ks

VERBOSE ?= 2

BACKEND_VMM ?= xen

GIT_BASEURL ?= https://github.com
GIT_PREFIX ?= QubesOS/qubes-

RELEASE ?= 4.1

DIST_DOM0 ?= fc32
DISTS_VM ?= 

COMPONENTS =     installer-qubes-os     linux-yum     builder-rpm     linux-template-builder 

BUILDER_PLUGINS ?= builder-rpm 

USE_QUBES_REPO_VERSION = 4.1
ISO_VERSION = 5111341


qubes-core-dom0-linux-4.2.4-1.fc32.x86_64.rpm                                                                                                                                                    482 kB/s |  95 kB     00:00    
(1214/1266): qubes-core-dom0-linux-kernel-install-4.2.4-1.fc32.x86_64.rpm                                                                                                                                      72 kB/s |  14 kB     00:00    
(1215/1266): qubes-core-qrexec-4.2.3-1.fc32.x86_64.rpm                                                                                                                                                        852 kB/s | 176 kB     00:00    
(1216/1266): qubes-core-qrexec-dom0-4.2.3-1.fc32.x86_64.rpm                                                                                                                                                   197 kB/s |  40 kB     00:00    
(1217/1266): qubes-core-qrexec-libs-4.2.3-1.fc32.x86_64.rpm                                                                                                                                                   142 kB/s |  28 kB     00:00    
(1218/1266): qubes-db-4.2.1-1.fc32.x86_64.rpm                                                                                                                                                                 155 kB/s |  31 kB     00:00    
(1219/1266): qubes-db-dom0-4.2.1-1.fc32.x86_64.rpm                                                                                                                                                             61 kB/s |  12 kB     00:00    
(1220/1266): qubes-db-libs-4.2.1-1.fc32.x86_64.rpm                                                                                                                                                             95 kB/s |  18 kB     00:00    
(1221/1266): qubes-desktop-linux-common-4.1.14-1.fc32.noarch.rpm                                                                                                                                              734 kB/s | 145 kB     00:00    
(1222/1266): qubes-desktop-linux-manager-4.2.2-1.fc32.noarch.rpm                                                                                                                                              2.5 MB/s | 515 kB     00:00    
(1223/1266): qubes-dom0-meta-packages-4.2.0-1.fc32.noarch.rpm                                                                                                                                                 168 kB/s |  34 kB     00:00    
(1224/1266): qubes-gpg-split-dom0-2.0.66-1.fc32.x86_64.rpm                                                                                                                                                    134 kB/s |  26 kB     00:00    
(1225/1266): qubes-gui-daemon-4.2.2-1.fc32.x86_64.rpm                                                                                                                                                         387 kB/s |  77 kB     00:00    
(1226/1266): qubes-gui-dom0-4.2.2-1.fc32.x86_64.rpm                                                                                                                                                            65 kB/s |  12 kB     00:00    
(1227/1266): qubes-img-converter-dom0-1.2.15-1.fc32.x86_64.rpm                                                                                                                                                 50 kB/s | 9.8 kB     00:00    
(1228/1266): qubes-input-proxy-1.0.31-1.fc32.x86_64.rpm                                                                                                                                                       125 kB/s |  24 kB     00:00    
(1229/1266): qubes-input-proxy-receiver-1.0.31-1.fc32.x86_64.rpm                                                                                                                                               99 kB/s |  19 kB     00:00    
(1230/1266): qubes-input-proxy-sender-1.0.31-1.fc32.x86_64.rpm                                                                                                                                                101 kB/s |  20 kB     00:00    
(1231/1266): qubes-kernel-vm-support-4.2.5-1.fc32.x86_64.rpm                                                                                                                                                  137 kB/s |  26 kB     00:00    
(1232/1266): qubes-libvchan-xen-4.2.0-1.fc32.x86_64.rpm                                                                                                                                                        92 kB/s |  18 kB     00:00    
(1233/1266): qubes-manager-4.2.0-1.fc32.noarch.rpm                                                                                                                                                            3.0 MB/s | 1.8 MB     00:00    
(1234/1266): qubes-menus-4.1.14-1.fc32.noarch.rpm                                                                                                                                                             252 kB/s |  50 kB     00:00    
(1235/1266): qubes-mgmt-salt-4.1.16-1.fc32.noarch.rpm                                                                                                                                                          58 kB/s |  11 kB     00:00    
(1236/1266): qubes-mgmt-salt-admin-tools-4.1.16-1.fc32.noarch.rpm                                                                                                                                             115 kB/s |  23 kB     00:00    
(1237/1266): qubes-mgmt-salt-base-4.1.5-1.fc32.noarch.rpm                                                                                                                                                     102 kB/s |  20 kB     00:00    
(1238/1266): qubes-mgmt-salt-base-config-4.1.2-1.fc32.noarch.rpm                                                                                                                                               59 kB/s |  11 kB     00:00    
(1239/1266): qubes-mgmt-salt-base-topd-4.2.0-1.fc32.noarch.rpm                                                                                                                                                121 kB/s |  25 kB     00:00    
(1240/1266): qubes-mgmt-salt-config-4.1.16-1.fc32.noarch.rpm                                                                                                                                                  131 kB/s |  25 kB     00:00    
(1241/1266): qubes-mgmt-salt-dom0-4.1.16-1.fc32.noarch.rpm                                                                                                                                                     54 kB/s |  11 kB     00:00    
(1242/1266): qubes-mgmt-salt-dom0-qvm-4.2.0-1.fc32.noarch.rpm                                                                                                                                                 147 kB/s |  30 kB     00:00    
(1243/1266): qubes-mgmt-salt-dom0-update-4.1.11-1.fc32.noarch.rpm                                                                                                                                             186 kB/s |  37 kB     00:00    
(1244/1266): qubes-mgmt-salt-dom0-virtual-machines-4.2.2-1.fc32.noarch.rpm

If anyone runs into the same issue:

sed -i 's/4.2/4.1/g' qubes-src/installer-qubes-os/conf/iso-full-online.ks