diff mbox series

[v2] dnf: upgrade 4.22.0 -> 4.23.0

Message ID 20250623095808.2953467-1-Moritz.Haase@bmw.de
State Accepted, archived
Commit c3efca7495889f3682225af8c9e01ceb094b1bb7
Headers show
Series [v2] dnf: upgrade 4.22.0 -> 4.23.0 | expand

Commit Message

Moritz Haase June 23, 2025, 9:58 a.m. UTC
New version includes support to build against CMake 4+, see [0].

Release notes are available at [1].

[0]: https://github.com/rpm-software-management/dnf/pull/2217
[1]: https://github.com/rpm-software-management/dnf/releases/tag/4.23.0

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
---
changes in v2:
- Add missing 'Signed-off-by' footer

---
 meta/recipes-devtools/dnf/{dnf_4.22.0.bb => dnf_4.23.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/dnf/{dnf_4.22.0.bb => dnf_4.23.0.bb} (98%)

Comments

Richard Purdie June 23, 2025, 10:54 p.m. UTC | #1
On Mon, 2025-06-23 at 11:58 +0200, Moritz Haase via lists.openembedded.org wrote:
> New version includes support to build against CMake 4+, see [0].
> 
> Release notes are available at [1].
> 
> [0]: https://github.com/rpm-software-management/dnf/pull/2217
> [1]: https://github.com/rpm-software-management/dnf/releases/tag/4.23.0
> 
> Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
> ---
> changes in v2:
> - Add missing 'Signed-off-by' footer
> 
> ---
>  meta/recipes-devtools/dnf/{dnf_4.22.0.bb => dnf_4.23.0.bb} | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-devtools/dnf/{dnf_4.22.0.bb => dnf_4.23.0.bb} (98%)

This works in many cases but this did show up:

https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/1951

Traceback (most recent call last):
  File "/usr/bin/dnf", line 56, in <module>
    from dnf.cli import main
  File "/usr/lib/python3.13/site-packages/dnf/__init__.py", line 30, in <module>
    import dnf.base
  File "/usr/lib/python3.13/site-packages/dnf/base.py", line 32, in <module>
    from dnf.comps import CompsQuery
  File "/usr/lib/python3.13/site-packages/dnf/comps.py", line 27, in <module>
    from dnf.exceptions import CompsError
  File "/usr/lib/python3.13/site-packages/dnf/exceptions.py", line 22, in <module>
    import dnf.util
  File "/usr/lib/python3.13/site-packages/dnf/util.py", line 28, in <module>
    import ctypes
ModuleNotFoundError: No module named 'ctypes'

As well as:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/1745
https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/1874

Not sure what the pattern is...

Cheers,

Richard
diff mbox series

Patch

diff --git a/meta/recipes-devtools/dnf/dnf_4.22.0.bb b/meta/recipes-devtools/dnf/dnf_4.23.0.bb
similarity index 98%
rename from meta/recipes-devtools/dnf/dnf_4.22.0.bb
rename to meta/recipes-devtools/dnf/dnf_4.23.0.bb
index ae77fda31ce5969a7db0d8d8159c4ce8609363b1..29b895924420fd3e211031e629a010a65d26fa14 100644
--- a/meta/recipes-devtools/dnf/dnf_4.22.0.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.23.0.bb
@@ -20,7 +20,7 @@  SRC_URI = "git://github.com/rpm-software-management/dnf.git;branch=master;protoc
 
 SRC_URI:append:class-native = " file://0001-dnf-write-the-log-lock-to-root.patch"
 
-SRCREV = "da9a7066be8e1628d9453428d33685225cd9c90d"
+SRCREV = "8fa4bb94a99eadaed91ad2ee51f27a4baafcebed"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake gettext bash-completion setuptools3-base systemd