Package: src:python-exchangelib Version: 5.5.1-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ 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 cannot 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-exchangelib, 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:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_exchangelib * Building wheel... No `packages` or `py_modules` configuration, performing automatic discovery. [... snipped ...] copying build/lib/exchangelib/services/get_streaming_events.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/delete_user_configuration.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/get_searchable_mailboxes.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/get_persona.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/resolve_names.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/common.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/subscribe.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/get_rooms.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/convert_id.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/__init__.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services copying build/lib/exchangelib/services/empty_folder.py -> build/bdist.linux-x86_64/wheel/./exchangelib/services creating build/bdist.linux-x86_64/wheel/exchangelib/autodiscover copying build/lib/exchangelib/autodiscover/protocol.py -> build/bdist.linux-x86_64/wheel/./exchangelib/autodiscover copying build/lib/exchangelib/autodiscover/discovery.py -> build/bdist.linux-x86_64/wheel/./exchangelib/autodiscover copying build/lib/exchangelib/autodiscover/cache.py -> build/bdist.linux-x86_64/wheel/./exchangelib/autodiscover copying build/lib/exchangelib/autodiscover/__init__.py -> build/bdist.linux-x86_64/wheel/./exchangelib/autodiscover creating build/bdist.linux-x86_64/wheel/exchangelib/items copying build/lib/exchangelib/items/item.py -> build/bdist.linux-x86_64/wheel/./exchangelib/items copying build/lib/exchangelib/items/message.py -> build/bdist.linux-x86_64/wheel/./exchangelib/items copying build/lib/exchangelib/items/task.py -> build/bdist.linux-x86_64/wheel/./exchangelib/items copying build/lib/exchangelib/items/contact.py -> build/bdist.linux-x86_64/wheel/./exchangelib/items copying build/lib/exchangelib/items/post.py -> build/bdist.linux-x86_64/wheel/./exchangelib/items copying build/lib/exchangelib/items/calendar_item.py -> build/bdist.linux-x86_64/wheel/./exchangelib/items copying build/lib/exchangelib/items/__init__.py -> build/bdist.linux-x86_64/wheel/./exchangelib/items copying build/lib/exchangelib/items/base.py -> build/bdist.linux-x86_64/wheel/./exchangelib/items copying build/lib/exchangelib/properties.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/protocol.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/errors.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/extended_properties.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/configuration.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/version.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/util.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/recurrence.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/settings.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/attachments.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/indexed_properties.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/credentials.py -> build/bdist.linux-x86_64/wheel/./exchangelib creating build/bdist.linux-x86_64/wheel/exchangelib/folders copying build/lib/exchangelib/folders/known_folders.py -> build/bdist.linux-x86_64/wheel/./exchangelib/folders copying build/lib/exchangelib/folders/collections.py -> build/bdist.linux-x86_64/wheel/./exchangelib/folders copying build/lib/exchangelib/folders/roots.py -> build/bdist.linux-x86_64/wheel/./exchangelib/folders copying build/lib/exchangelib/folders/__init__.py -> build/bdist.linux-x86_64/wheel/./exchangelib/folders copying build/lib/exchangelib/folders/queryset.py -> build/bdist.linux-x86_64/wheel/./exchangelib/folders copying build/lib/exchangelib/folders/base.py -> build/bdist.linux-x86_64/wheel/./exchangelib/folders copying build/lib/exchangelib/winzone.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/ewsdatetime.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/__init__.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/queryset.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/fields.py -> build/bdist.linux-x86_64/wheel/./exchangelib copying build/lib/exchangelib/restriction.py -> build/bdist.linux-x86_64/wheel/./exchangelib running install_egg_info Copying exchangelib.egg-info to build/bdist.linux-x86_64/wheel/./exchangelib-5.5.1.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/exchangelib-5.5.1.dist-info/WHEEL creating '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_exchangelib/.tmp-layv987n/exchangelib-5.5.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'exchangelib/__init__.py' adding 'exchangelib/account.py' adding 'exchangelib/attachments.py' adding 'exchangelib/configuration.py' adding 'exchangelib/credentials.py' adding 'exchangelib/errors.py' adding 'exchangelib/ewsdatetime.py' adding 'exchangelib/extended_properties.py' adding 'exchangelib/fields.py' adding 'exchangelib/indexed_properties.py' adding 'exchangelib/properties.py' adding 'exchangelib/protocol.py' adding 'exchangelib/queryset.py' adding 'exchangelib/recurrence.py' adding 'exchangelib/restriction.py' adding 'exchangelib/settings.py' adding 'exchangelib/transport.py' adding 'exchangelib/util.py' adding 'exchangelib/version.py' adding 'exchangelib/winzone.py' adding 'exchangelib/autodiscover/__init__.py' adding 'exchangelib/autodiscover/cache.py' adding 'exchangelib/autodiscover/discovery.py' adding 'exchangelib/autodiscover/protocol.py' adding 'exchangelib/folders/__init__.py' adding 'exchangelib/folders/base.py' adding 'exchangelib/folders/collections.py' adding 'exchangelib/folders/known_folders.py' adding 'exchangelib/folders/queryset.py' adding 'exchangelib/folders/roots.py' adding 'exchangelib/items/__init__.py' adding 'exchangelib/items/base.py' adding 'exchangelib/items/calendar_item.py' adding 'exchangelib/items/contact.py' adding 'exchangelib/items/item.py' adding 'exchangelib/items/message.py' adding 'exchangelib/items/post.py' adding 'exchangelib/items/task.py' adding 'exchangelib/services/__init__.py' adding 'exchangelib/services/archive_item.py' adding 'exchangelib/services/common.py' adding 'exchangelib/services/convert_id.py' adding 'exchangelib/services/copy_item.py' adding 'exchangelib/services/create_attachment.py' adding 'exchangelib/services/create_folder.py' adding 'exchangelib/services/create_item.py' adding 'exchangelib/services/create_user_configuration.py' adding 'exchangelib/services/delete_attachment.py' adding 'exchangelib/services/delete_folder.py' adding 'exchangelib/services/delete_item.py' adding 'exchangelib/services/delete_user_configuration.py' adding 'exchangelib/services/empty_folder.py' adding 'exchangelib/services/expand_dl.py' adding 'exchangelib/services/export_items.py' adding 'exchangelib/services/find_folder.py' adding 'exchangelib/services/find_item.py' adding 'exchangelib/services/find_people.py' adding 'exchangelib/services/get_attachment.py' adding 'exchangelib/services/get_delegate.py' adding 'exchangelib/services/get_events.py' adding 'exchangelib/services/get_folder.py' adding 'exchangelib/services/get_item.py' adding 'exchangelib/services/get_mail_tips.py' adding 'exchangelib/services/get_persona.py' adding 'exchangelib/services/get_room_lists.py' adding 'exchangelib/services/get_rooms.py' adding 'exchangelib/services/get_searchable_mailboxes.py' adding 'exchangelib/services/get_server_time_zones.py' adding 'exchangelib/services/get_streaming_events.py' adding 'exchangelib/services/get_user_availability.py' adding 'exchangelib/services/get_user_configuration.py' adding 'exchangelib/services/get_user_oof_settings.py' adding 'exchangelib/services/get_user_settings.py' adding 'exchangelib/services/inbox_rules.py' adding 'exchangelib/services/mark_as_junk.py' adding 'exchangelib/services/move_folder.py' adding 'exchangelib/services/move_item.py' adding 'exchangelib/services/resolve_names.py' adding 'exchangelib/services/send_item.py' adding 'exchangelib/services/send_notification.py' adding 'exchangelib/services/set_user_oof_settings.py' adding 'exchangelib/services/subscribe.py' adding 'exchangelib/services/sync_folder_hierarchy.py' adding 'exchangelib/services/sync_folder_items.py' adding 'exchangelib/services/unsubscribe.py' adding 'exchangelib/services/update_folder.py' adding 'exchangelib/services/update_item.py' adding 'exchangelib/services/update_user_configuration.py' adding 'exchangelib/services/upload_items.py' adding 'exchangelib-5.5.1.dist-info/licenses/LICENSE' adding 'exchangelib-5.5.1.dist-info/METADATA' adding 'exchangelib-5.5.1.dist-info/WHEEL' adding 'exchangelib-5.5.1.dist-info/top_level.txt' adding 'exchangelib-5.5.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built exchangelib-5.5.1-py3-none-any.whl I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_test -- --system=custom --test-args="cd {build_dir}; {interpreter} -m unittest" I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_exchangelib/build; python3.14 -m unittest sss......ssssssss.....F/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_exchangelib/build/exchangelib/ewsdatetime.py:192: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). t = super().utcnow() /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_exchangelib/build/exchangelib/ewsdatetime.py:178: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). dt = super().utcfromtimestamp(t) ..s...........ssss.................ss...ss/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_exchangelib/build/tests/test_restriction.py:150: DeprecationWarning: Bitwise inversion '~' on bool is deprecated and will be removed in Python 3.16. This returns the bitwise inversion of the underlying int object and is usually not what you expect from negating a bool. Use the 'not' operator for boolean negation or ~int(x) if you really want the bitwise inversion of the underlying int. self.assertTrue(~Q(foo__in=[]).is_empty()) # Negation should translate to a no-op .........sssss.s.......s ====================================================================== FAIL: test_ewsdatetime (tests.test_ewsdatetime.EWSDateTimeTest.test_ewsdatetime) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_exchangelib/build/tests/test_ewsdatetime.py", line 42, in test_ewsdatetime self.assertEqual(repr(dt), "EWSDateTime(2000, 1, 2, 3, 4, 5, 678901, tzinfo=EWSTimeZone(key='Etc/GMT-5'))") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: "EWSDateTime(2000, 1, 2, 3, 4, 5, 678901, tzinfo=exchangelib.ewsdatetime.EWSTimeZone(key='Etc/GMT-5'))" != "EWSDateTime(2000, 1, 2, 3, 4, 5, 678901, tzinfo=EWSTimeZone(key='Etc/GMT-5'))" - EWSDateTime(2000, 1, 2, 3, 4, 5, 678901, tzinfo=exchangelib.ewsdatetime.EWSTimeZone(key='Etc/GMT-5')) ? ------------------------ + EWSDateTime(2000, 1, 2, 3, 4, 5, 678901, tzinfo=EWSTimeZone(key='Etc/GMT-5')) ---------------------------------------------------------------------- Ran 63 tests in 0.038s FAILED (failures=1, skipped=27) Skipping CommonTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping TasksTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping AutodiscoverTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ExtendedPropertyTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping CalendarTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping SyncTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping BulkMethodTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping MessagesBulkMethodTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping CalendarBulkMethodTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping UtilTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping AttachmentsTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping MessagesTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping FolderTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ProtocolTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping GenericItemTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ServicesTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ItemHelperTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ContactsTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping AccountTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ItemQuerySetTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_exchangelib/build; python3.14 -m unittest I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_exchangelib/build; python3.13 -m unittest ss...ss......sss.s..../<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_exchangelib/build/exchangelib/ewsdatetime.py:192: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). t = super().utcnow() /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_exchangelib/build/exchangelib/ewsdatetime.py:178: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). dt = super().utcfromtimestamp(t) ......../<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_exchangelib/build/tests/test_restriction.py:150: DeprecationWarning: Bitwise inversion '~' on bool is deprecated and will be removed in Python 3.16. This returns the bitwise inversion of the underlying int object and is usually not what you expect from negating a bool. Use the 'not' operator for boolean negation or ~int(x) if you really want the bitwise inversion of the underlying int. self.assertTrue(~Q(foo__in=[]).is_empty()) # Negation should translate to a no-op ....sssssssssssssss.....ss...............................ss ---------------------------------------------------------------------- Ran 63 tests in 0.039s OK (skipped=27) Skipping ServicesTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ExtendedPropertyTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ItemHelperTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping FolderTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ContactsTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping UtilTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping MessagesBulkMethodTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping BulkMethodTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping CalendarBulkMethodTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping AttachmentsTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ItemQuerySetTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping AutodiscoverTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping SyncTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping TasksTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping CalendarTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping MessagesTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping AccountTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping GenericItemTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping CommonTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server Skipping ProtocolTest - no settings.yml file found Copy settings.yml.sample to settings.yml and enter values for your test server dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" --system=custom --test-args="cd {build_dir}; {interpreter} -m unittest" returned exit code 13 make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:9: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

