On Fri, 3 Oct 2025 09:16:00 +0530 Aryan Karamtoth <spaciouscoder78@disroot.org> wrote: > Hi, > > I noticed that one of my packages, python-vector [1] has been > scheduled for auto removal all of a sudden. Upon looking further, I > noticed that python-papermill [2] has a severe RC bug [3] which is > caused due to a failing dh_auto_test in papermill. > > I gave a good look at the file that's causing this which is > test_abs.py [4] according to the RC bug. > > The error is: > > ______________________ ERROR collecting tests/test_abs.py > ______________________ ImportError while importing test module > '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_abs.py'. > Hint: make sure your test modules/packages have valid Python names. > Traceback: /usr/lib/python3.13/importlib/__init__.py:88: in > import_module return _bootstrap._gcd_import(name[level:], package, > level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > tests/test_abs.py:5: in <module> > from azure.identity import EnvironmentCredential > E ModuleNotFoundError: No module named 'azure.identity' > > > This error is caused due to azure.identity library [5] which is not > yet packaged into debian. One of the deps, hi Aryan, that exact import (from azure.identity import EnvironmentCredential) works fine in testing with python3-azure installed. Relevant files are in /usr/lib/python3/dist-packages/azure/identity/, so the import should work out of the box. Maybe the testsuite or its environment is playing tricks with the python path?
Attachment:
pgp5gaDcDaTdv.pgp
Description: OpenPGP digital signature