#49 During the build, assert the Python modules are importable
Merged 10 days ago by churchyard. Opened 9 months ago by churchyard.
rpms/ churchyard/rpm py3_check_import  into  rawhide

file modified
+9 -1
@@ -27,7 +27,7 @@ 

  

  %global rpmver 4.19.1.1

  #global snapver rc1

- %global baserelease 1

+ %global baserelease 2

  %global sover 10

  

  %global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -372,6 +372,11 @@ 

  

  %make_build

  

+ %check

+ # We can't run the actual test-suite from %%check,

+ # at least check the Python module is importable:

+ LD_LIBRARY_PATH=%{buildroot}%{_libdir} %py3_check_import rpm rpm.transaction

+ 

  %install

  cd _build

  %make_install
@@ -614,6 +619,9 @@ 

  %doc %{_defaultdocdir}/rpm/API/

  

  %changelog

+ * Mon May 06 2024 Miro Hrončok <mhroncok@redhat.com> - 4.19.1.1-2

+ - During the build, assert the Python modules are importable

+ 

  * Wed Feb 07 2024 Michal Domonkos <mdomonko@redhat.com> - 4.19.1.1-1

  - Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1)

  

no initial comment

Hello. Should I rebase this or are you not interested?

Sorry, this seems to have fallen through cracks, I don't even recall seeing this before.

i do find it a bit peculiar as the sole %check for rpm. But then, we can't run the actual test-suite from %check anymore as the new container based version requires network access for the image creation...

rebased onto a1049d7

6 months ago

Rebased and added a comment above the test to explain what it does and why.

Should I rebase this again?

Metadata Update from @mdomonko:
- Request assigned

a month ago

How can I make this happen?

Sorry, fell through the cracks once more. Yes, feel free to rebase and merge.

We agreed on this in a recent team meeting, I just forgot to update this MR.

rebased onto 1bee3a5

10 days ago

Pull-Request has been merged by churchyard

10 days ago
Metadata