Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #17097

python-papermill and its reverse deps will be removed from the archive due to a severe RC bug

From Aryan Karamtoth <spaciouscoder78@disroot.org>
Newsgroups linux.debian.devel, linux.debian.maint.python
Subject python-papermill and its reverse deps will be removed from the archive due to a severe RC bug
Date 2025-10-03 05:50 +0200
Message-ID <LBEXU-2lpp-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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, python3-azure-datalake-store has 
recently made some changes to the library in v1.0.1 which is probably 
triggering another test failure locally on my system.

Changelog of  azure-datalake-store upstream's v1.0.1:

# Use generic azure token credential for auth instead of custom lib.auth

Error log: https://paste.debian.net/hidden/376fce59/

This is a severe severity RC bug that triggered autoremoval of the 
following python-papermill's reverse dependencies: python-ewoks 
<https://tracker.debian.org/pkg/python-ewoks>, python-ewokscore 
<https://tracker.debian.org/pkg/python-ewokscore>, python-ewoksdask 
<https://tracker.debian.org/pkg/python-ewoksdask>, python-ewoksorange 
<https://tracker.debian.org/pkg/python-ewoksorange>, python-ewoksppf 
<https://tracker.debian.org/pkg/python-ewoksppf>, python-vector 
<https://tracker.debian.org/pkg/python-vector>, tomwer 
<https://tracker.debian.org/pkg/tomwer>

If this RC bug isn't fixed by Oct 19, these packages will be removed 
from the archive.

I've attempted a small fix by excluding the failing test in d/rules but 
im still not successful with it, it still causes the same errors. To me, 
the temporary fix to this problem could be excluding the failing test 
and fix the RC bug and packaging azure-identity later.

Is there another way to fix this?


[1] https://tracker.debian.org/pkg/python-vector

[2] https://tracker.debian.org/pkg/python-papermill

[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114320

[4] 
https://salsa.debian.org/python-team/packages/python-papermill/-/blob/master/papermill/tests/test_abs.py?ref_type=heads

[5] https://pypi.org/project/azure-identity/

-- 
Regards,

Aryan Karamtoth
IRC: SpaciousCoder78
Matrix: @SpaciousCoder78:matrix.org
XMPP:SpaciousCoder78@xmpp.earth

GPG Fingerprint: 7A7D 9308 2BD1 9BAF A83B 7E34 FE90 07B8 ED64 0421

Back to linux.debian.maint.python | Previous | NextNext in thread | Find similar


Thread

python-papermill and its reverse deps will be removed from the  archive due to a severe RC bug Aryan Karamtoth <spaciouscoder78@disroot.org> - 2025-10-03 05:50 +0200
  Re: python-papermill and its reverse deps will be removed from the  archive due to a severe RC bug Jeroen Ploemen <jcfp@debian.org> - 2025-10-03 12:20 +0200

csiph-web