#1117152 Some azure functionality broken (tests disabled)

#1117152#5
Date:
2025-09-05 18:24:22 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-papermill, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/papermill
copying papermill/exceptions.py -> build/lib/papermill
copying papermill/abs.py -> build/lib/papermill
copying papermill/inspection.py -> build/lib/papermill
copying papermill/translators.py -> build/lib/papermill
copying papermill/parameterize.py -> build/lib/papermill
copying papermill/models.py -> build/lib/papermill
copying papermill/iorw.py -> build/lib/papermill
copying papermill/adl.py -> build/lib/papermill
copying papermill/execute.py -> build/lib/papermill
copying papermill/log.py -> build/lib/papermill
copying papermill/clientwrap.py -> build/lib/papermill
copying papermill/engines.py -> build/lib/papermill
copying papermill/s3.py -> build/lib/papermill
copying papermill/utils.py -> build/lib/papermill
copying papermill/cli.py -> build/lib/papermill
copying papermill/__main__.py -> build/lib/papermill
copying papermill/version.py -> build/lib/papermill
copying papermill/__init__.py -> build/lib/papermill
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/papermill
copying build/lib/papermill/exceptions.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/abs.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/inspection.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/translators.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/parameterize.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/models.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/iorw.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/adl.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/execute.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/log.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/clientwrap.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/engines.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/s3.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/utils.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/cli.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/__main__.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/version.py -> build/bdist.linux-x86_64/wheel/./papermill
copying build/lib/papermill/__init__.py -> build/bdist.linux-x86_64/wheel/./papermill
running install_egg_info
running egg_info
creating papermill.egg-info
writing papermill.egg-info/PKG-INFO
writing dependency_links to papermill.egg-info/dependency_links.txt
writing entry points to papermill.egg-info/entry_points.txt
writing requirements to papermill.egg-info/requires.txt
writing top-level names to papermill.egg-info/top_level.txt
writing manifest file 'papermill.egg-info/SOURCES.txt'
reading manifest file 'papermill.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.yml' under directory 'papermill'
no previously-included directories found matching 'docs'
warning: no previously-included files found matching '.pre-commit-config.yaml'
no previously-included directories found matching 'binder'
warning: no directories found matching 'scripts'
no previously-included directories found matching '.tox'
warning: no previously-included files matching '*.ipynb' found under directory 'papermill/.ipynb_checkpoints'
warning: no previously-included files matching '*.ipynb' found under directory 'papermill/tests/notebooks/.ipynb_checkpoints'
warning: no previously-included files found matching '.github'
warning: no previously-included files found matching '.readthedocs.yaml'
adding license file 'LICENSE'
writing manifest file 'papermill.egg-info/SOURCES.txt'
Copying papermill.egg-info to build/bdist.linux-x86_64/wheel/./papermill-2.6.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/papermill-2.6.0.dist-info/WHEEL
creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/.tmp-mpfu15lq/papermill-2.6.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'papermill/__init__.py'
adding 'papermill/__main__.py'
adding 'papermill/abs.py'
adding 'papermill/adl.py'
adding 'papermill/cli.py'
adding 'papermill/clientwrap.py'
adding 'papermill/engines.py'
adding 'papermill/exceptions.py'
adding 'papermill/execute.py'
adding 'papermill/inspection.py'
adding 'papermill/iorw.py'
adding 'papermill/log.py'
adding 'papermill/models.py'
adding 'papermill/parameterize.py'
adding 'papermill/s3.py'
adding 'papermill/translators.py'
adding 'papermill/utils.py'
adding 'papermill/version.py'
adding 'papermill-2.6.0.dist-info/licenses/LICENSE'
adding 'papermill-2.6.0.dist-info/METADATA'
adding 'papermill-2.6.0.dist-info/WHEEL'
adding 'papermill-2.6.0.dist-info/entry_points.txt'
adding 'papermill-2.6.0.dist-info/top_level.txt'
adding 'papermill-2.6.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built papermill-2.6.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=.pybuild/cpython3_3.13/build help2man --output=papermill.1 --version-string=$(dpkg-parsechangelog -S Version | sed -e s/-[^-]*$// -e s/[+].*//) --no-discard-stderr --no-info --name=papermill .pybuild/cpython3_3.13/scripts/papermill
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest --verbose -k "not GCSTest"
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0 -- /usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pytest.ini
plugins: anyio-4.8.0, typeguard-4.4.4
collecting ... collected 538 items / 1 error / 10 deselected / 528 selected

==================================== ERRORS ====================================

#1117152#10
Date:
2025-10-03 09:19:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-papermill, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1114320@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrey Rakhmatullin <wrar@debian.org> (supplier of updated python-papermill package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 03 Oct 2025 13:55:08 +0500
Source: python-papermill
Architecture: source
Version: 2.6.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Andrey Rakhmatullin <wrar@debian.org>
Closes: 1114320
Changes:
 python-papermill (2.6.0-4) unstable; urgency=medium
 .
   * Team upload.
 .
   [Aryan Karamtoth]
   * Disable a failing Azure test (Closes: #1114320).
 .
   [ Andrey Rakhmatullin ]
   * Drop the Priority field.
   * Bump Standards-Version to 4.7.2.
Checksums-Sha1:
 87c22daf6a5d7fd8f38e2dab2c1a6d9423128102 2614 python-papermill_2.6.0-4.dsc
 b8b3c96d3d2d9813eec0761c38fd32c800488fd9 6048 python-papermill_2.6.0-4.debian.tar.xz
 22fcfb11aa08178e7b2c141afb2ac51c584ed282 13428 python-papermill_2.6.0-4_amd64.buildinfo
Checksums-Sha256:
 a521c2fc2f8d8c5e74cbdcaff1021c4b567a6f2577b973c060d9b4c650f26670 2614 python-papermill_2.6.0-4.dsc
 4793e2d3e1009b1f9a90a54ca8b8de713e6e1810352553c2f5b81beb15bf8a12 6048 python-papermill_2.6.0-4.debian.tar.xz
 278d1284f8d8985f1d962cfa1b86fd374a5a421656a01643f522e26a1bfe80a5 13428 python-papermill_2.6.0-4_amd64.buildinfo
Files:
 4814acfc6303c74191e0f6dcb9c02ba5 2614 python optional python-papermill_2.6.0-4.dsc
 00058f2f22f4e5bd367254af24ecf234 6048 python optional python-papermill_2.6.0-4.debian.tar.xz
 f1d8eba79d52b81d08c86476c888ca49 13428 python optional python-papermill_2.6.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmjfkf8ACgkQM2L3AxpJ
kuFJSw/+Ku6Zee+aYmz02hxsO8KiwvRHBS4VzFaG+WM3/2kvvGcDoZhjkVgbFAOF
Syuip9DVcyhIAWsHQs27RIaEau+qBciP1l61Yj529cCaqljOcd17Uji+oG+PUC3b
zy9XYwXDuNdn8GGGnv1xPum2+Ti36cgLs8GD1b0cWcb/bP1La+07dsMsq5uh+uYw
03r3r1IFXF+R1aOTpfsCH67BQZ1ENOAwxF3nrPgKHUjj9atTRgu/HiFALL3TDGDI
XWVPXF4MrQ0Nn1zQEeaj1QpeARfSzAR+/6nvDXL0B/40QRoHBtaoePRqGv82xK8K
/Co6usFcep/g/rO5XaS/GyT3D2EuK0J/a60F+EqT8tcs/B6n6ztt4baZo6IirUAg
p0jKtgFKzQkNVszbPgHd8nmA4y7JHBE2GsmbPLbapBiiVo3SSEy0EHij3RiXTM2Y
M4mUL8p2QbIn4c3g3vt/eysteJq21+qLjT76+Avzvh0mkzGdawuxzb8ysB+h0Fpn
wFNlITDhCE+1PfyUUOzYvOqPKkRt3fY7ktlTbFFBS9qxCithNXBhnm+laC+PQR0r
biRi6XghDMcGwpNYshUXwTS6kXMCB9aDCyx4upoQeBAfieT0/IrfB+9BAFn7SgEu
KhzDt/NbnPm5NlwhGIZIInMKbN1chI2MkDbcFwIcysWCbAWwjyI=
=ZNCO
-----END PGP SIGNATURE-----

#1117152#15
Date:
2025-10-03 10:35:44 UTC
From:
To:
Hi Santiago,

Me and wRAR have fixed the RC bug by excluding the test and the package
now builds without any errors from our side but we haven't been able to
reproduce the same error you got in testing. wRAR has done a NMU for the
fix.

We got a different error on our side. Though the RC bug is fixed, I'm
posting this for documentation purposes in case someone needs it in the
future.

Here's the error that I got while running python-papermill in a minimal
chroot in Sid using sbuild:

tests/test_utils.py::test_no_tagged_cell PASSED         [ 99%]
tests/test_utils.py::test_tagged_cell PASSED        [ 99%]
tests/test_utils.py::test_merge_kwargs PASSED       [ 99%]
tests/test_utils.py::test_remove_args PASSED        [ 99%]
tests/test_utils.py::test_retry PASSED        [ 99%]
tests/test_utils.py::test_chdir PASSED        [100%]

=================================== FAILURES
===================================

#1117152#20
Date:
2025-10-03 11:07:31 UTC
From:
To:
That's because I fixed that particular problem in python-azure a while
back (https://bugs.debian.org/1114162).
[...]

Have you ensured that there's an upstream issue about this?  It appears
to have been broken by
https://github.com/Azure/azure-data-lake-store-python/pull/333.

#1117152#25
Date:
2025-10-03 15:26:27 UTC
From:
To:
Thanks for the heads up, Colin. I just reported this issue to the
upstream source.

https://github.com/nteract/papermill/issues/825

#1117152#30
Date:
2025-10-04 03:04:49 UTC
From:
To:
In fixing #1114320, the offending test was simply disabled. That solves
the FTBFS but leaves some of the azure-related functionality in the
package broken - it's not obvious (to outsiders looking in) whether it's
the various azure packages in Debian that need updating or papermill
upstream that needs to adapt to a new API here.

As discussed on irc, noting that here in the bts so it is not forgotten
later.