Sync mga8's python-flit with cauldron's python-flit 3.7.1 [1] to allow to build local packages using for example PEP 621 [2]. Some newer packages already have 'requires = ["flit_core >=3.2,<4" in the [build-system] table in pyproject.toml file and thus the build fails using pyproject RPM macros. See also bug 30734, which is slightly related. [1] https://flit.pypa.io/en/latest/history.html#version-3-7-1 [2] https://peps.python.org/pep-0621/
Depends on: (none) => 30734
Summary: Update python-flit to allow building local python packages followin PEP621 => Update python-flit to allow building local python packages following PEP621
SRPMS / RPM: python-tomli-2.0.1-1.mga8 python-tomli-w-0.4.0-1.mga8 python-flit-3.7.1-1.mga8
python-flit itself depends directly or indirectly on python-tomli and python-tomli-w and they needs python-flit when building, so it's already kind of proofed that python-flit is working. A couple of build rounds was needed to bootstrap pkgs. From python-tomli build.log: + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/iurt/rpmbuild/BUILD/tomli-2.0.1/pyproject-wheeldir -r Handling flit_core>=3.2.0,<4 from build-system.requires Requirement satisfied: flit_core>=3.2.0,<4 (installed: flit_core 3.7.1) And from python-tomli-w build.log: + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/iurt/rpmbuild/BUILD/tomli-w-0.4.0/pyproject-wheeldir Handling flit_core>=3.2.0,<4 from build-system.requires Requirement satisfied: flit_core>=3.2.0,<4 (installed: flit_core 3.7.1)
SRPMS: python-tomli-2.0.1-1.mga8 python-tomli-w-0.4.0-1.mga8 python-flit-3.7.1-1.mga8 RPMS: python3-tomli-2.0.1-1.mga8 python3-tomli-w-0.4.0-1.mga8 python3-flit-3.7.1-1.mga8 python3-flit-core-3.7.1-1.mga8
Assignee: jani.valimaa => qa-bugs
mga8, x64 Installed python3-flit* packages before updating but could not find python3-tomli*. Fed the whole list to qarepo then tried MageiaUpdate. No problem - all four packages listed for update. $ rpm -qa | egrep "tomli|flit" python3-flit-3.7.1-1.mga8 python3-tomli-w-0.4.0-1.mga8 python3-flit-core-3.7.1-1.mga8 python3-tomli-2.0.1-1.mga8 So, all installed OK. No idea how to test this generally but it looks like it works fine according to Jani's comment 2.
CC: (none) => tarazed25Whiteboard: (none) => MGA8-64-OK
Validating.
Keywords: (none) => validated_updateCC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => advisoryCC: (none) => davidwhodgins
Bug 30734 still blocks this update.
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2022-0116.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED