• Bug#1061440: azure-cosmos-table-python: autopkgtest failure with Python

    From Graham Inggs@21:1/5 to All on Wed Jan 24 17:10:01 2024
    Source: azure-cosmos-table-python
    Version: 1.0.5+git20191025-6
    Severity: serious
    Tags: sid trixie
    User: debian-python@lists.debian.org
    Usertags: python3.12

    Hi Maintainer

    azure-cosmos-table-python's autopkgtests fail with Python 3.12 [1].
    I've copied what I hope is the relevant part of the log below.

    Regards
    Graham


    [1] https://ci.debian.net/packages/a/azure-cosmos-table-python/testing/amd64/


    279s =================================== FAILURES ===================================
    279s _______________ StorageTableTest.test_set_table_acl_too_many_ids _______________
    279s
    279s self = <tests.table.test_table.StorageTableTest testMethod=test_set_table_acl_too_many_ids>
    279s
    279s def recording_test(self):
    279s with self.recording():
    279s > test(self)
    279s
    279s tests/testcase.py:383:
    279s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
    _ _ _ _ _ _ _
    279s
    279s self = <tests.table.test_table.StorageTableTest testMethod=test_set_table_acl_too_many_ids>
    279s
    279s @record
    279s def test_set_table_acl_too_many_ids(self):
    279s # Arrange
    279s table_name = self._create_table()
    279s
    279s # Act
    279s identifiers = dict()
    279s for i in range(0, 6):
    279s identifiers['id{}'.format(i)] = AccessPolicy()
    279s
    279s # Assert
    279s > with self.assertRaisesRegexp(AzureException,
    279s 'Too many access policies provided. The server does not support
    setting more than 5 access policies on a single resource.'):
    279s E AttributeError: 'StorageTableTest' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
    279s
    279s tests/table/test_table.py:342: AttributeError

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?J=C3=A9r=C3=A9my?= Lal@21:1/5 to All on Fri Feb 9 12:10:01 2024
    Source: azure-cosmos-table-python
    Followup-For: Bug #1061440

    This package is deprecated, in favor of the python3-azure debian package.

    Please don't fix this bug, and let's get this eventually autoremoved.


    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (101, 'testing')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.6.13-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)