Re: Need help with "cannot open display" error when %pyproject_check_import is run

2025-02-23 Thread Ben Beasley
On 2/23/25 7:14 PM, Alexander Ploumistos wrote: That is what I ended up doing and it is indeed unfortunate, we don't have that many packages with so thorough testing. I will get in touch with upstream about a couple of regressions and I will bring up the issues with the tests when I do. Do you w

Re: Need help with "cannot open display" error when %pyproject_check_import is run

2025-02-23 Thread Alexander Ploumistos
Thank you very much for taking the time to look into this Ben. On Tue, Feb 18, 2025 at 1:08 PM Ben Beasley wrote: > > I gather that you have already found that this will work for the > import-only "smoke test": > > # Make sure everything is at least importable. Skip > # inputremapper.bi

Re: Need help with "cannot open display" error when %pyproject_check_import is run

2025-02-18 Thread Ben Beasley
I gather that you have already found that this will work for the import-only "smoke test":     # Make sure everything is at least importable. Skip     # inputremapper.bin.input_remapper_gtk because it requires a display.     %pyproject_check_import -e inputremapper.bin.input_remapper_gtk I spen

Re: Need help with "cannot open display" error when %pyproject_check_import is run

2025-02-18 Thread Richard W.M. Jones
On Mon, Feb 17, 2025 at 02:17:49AM +0100, Alexander Ploumistos wrote: > Hello, > > I am trying to build the latest version of input-remapper[1] and I > guess some change to the test units has led to this error: > > […] > + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f > /build

Re: Need help with "cannot open display" error when %pyproject_check_import is run

2025-02-17 Thread Alexander Ploumistos
Thank you all very much for your input. A long time ago I had needed to run some graphical tests in %check and I vaguely remember using some dummy driver which was then superseded(?) by xvfb and then for some reason I stopped needing to care about all that and that cache in my brain got flushed. T

Re: Need help with "cannot open display" error when %pyproject_check_import is run

2025-02-17 Thread Chris Adams
Once upon a time, Miro Hrončok said: > On 17. 02. 25 2:45, Chris Adams wrote: > >Once upon a time, Alexander Ploumistos said: > >>I am trying to build the latest version of input-remapper[1] and I > >>guess some change to the test units has led to this error: > >> > >>[…] > >>+ /usr/bin/python3 -

Re: Need help with "cannot open display" error when %pyproject_check_import is run

2025-02-17 Thread Miro Hrončok
On 17. 02. 25 2:45, Chris Adams wrote: Once upon a time, Alexander Ploumistos said: I am trying to build the latest version of input-remapper[1] and I guess some change to the test units has led to this error: […] + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /builddir/bu

Re: Need help with "cannot open display" error when %pyproject_check_import is run

2025-02-17 Thread Karolina Surma
Hi, […] + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /builddir/build/BUILD/input-remapper-2.1.1-build/input-remapper-2.1.1-1.fc42.x86_64-pyproject-modules Check import: inputremapper Check import: inputremapper.bin Check import: inputremapper.bin.input_remapper_control Che

Re: Need help with "cannot open display" error when %pyproject_check_import is run

2025-02-16 Thread Chris Adams
Once upon a time, Alexander Ploumistos said: > I am trying to build the latest version of input-remapper[1] and I > guess some change to the test units has led to this error: > > […] > + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f > /builddir/build/BUILD/input-remapper-2.1.1