Source: pandas
Version: 2.3.3+dfsg-2
Severity: normal
User: [email protected]
Usertags: sparc64
X-Debbugs-Cc: [email protected]

Hello,

pandas currently conditonally adds python3-pyqt5 to Build-Depends in 
debian/control:

       python3-pyqt5 (>= 5.15.9~) [!alpha !powerpc !sparc64 !x32] <!nocheck> 
<!nodoc>

as python3-pyqt5 is sometimes not available on these architectures due to bugs 
in
other packages.

However, pandas fails to configure without python3-pyqt5 installed:

Successfully built pandas-2.3.3-cp313-cp313-linux_sparc64.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/reproducible-path/pandas-2.3.3+dfsg'
py3versions: no X-Python3-Version in control file, using supported versions
PYBUILD_SYSTEM=custom dh_auto_test
I: pybuild base:311: TEST_SUCCESS=true; cd 
/build/reproducible-path/pandas-2.3.3+dfsg/.pybuild/cpython3_3.13/build ; for 
TEST_SUBSET in 
/build/reproducible-path/pandas-2.3.3+dfsg/.pybuild/cpython3_3.13/build/pandas/tests/*
 ; do echo $TEST_SUBSET | grep -q -e __pycache__ || PANDAS_CI=1 LC_ALL=C.UTF-8 
xvfb-run -a -s "-screen 0 1280x1024x24 -noreset" python3.13 -m pytest -s -m 
"not network and not slow"  -k "not test_register_entrypoint and not 
test_wrong_url and not test_statsmodels" 
--confcutdir=/build/reproducible-path/pandas-2.3.3+dfsg/.pybuild/cpython3_3.13/build/pandas
 --deb-data-root-dir=/build/reproducible-path/pandas-2.3.3+dfsg/pandas/tests 
$TEST_SUBSET || test $? = 5 || TEST_SUCCESS=false && echo "rdjoqkol test state 
= $TEST_SUCCESS"; done ; rm -rf test-data.xml test_stata.dta .pytest_cache 
pandas/.pytest_cache ; $TEST_SUCCESS
The number of threads have been set to 1 because problems related to threading 
have been reported on some sparc machine. The number of threads can be changed 
using the "set_num_threads" function.
ERROR: pytest-qt requires either PySide2, PySide6, PyQt5 or PyQt6 installed.
  PyQt5.QtCore: No module named 'PyQt5'
  PyQt6.QtCore: No module named 'PyQt6'
  PySide2.QtCore: No module named 'PySide2'
  PySide6.QtCore: No module named 'PySide6'

It's therefore better to remove the "[!alpha !powerpc !sparc64 !x32]" 
conditional
for python3-pyqt5 in Build-Depends as the package fails to build from source 
anyway
and it just covers up the bugs in other packages which will be worked on as 
well.

Thus, can you please drop this arch conditional for python3-pyqt5?

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to