Package: src:pystac
Version: 1.9.0-1
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12

pystac's autopkg tests fail with Python 3.12:

376s pybuild-autopkgtest
376s I: pybuild base:310: cd /tmp/autopkgtest.J858d2/autopkgtest_tmp/build; python3.12 -m pytest -k "not test_read_remote and not test_validate and not test_multiple_extents and not test_null_datetime and not test_null_geometry and not test_relative_extension_path and not test_non_hierarchical_relative_link and not test_apply_bitfields and not test_set_variables and not test_set_dimensions and not test_asset_bands and not test_bands and not test_cloud_cover and not test_set_field and not test_attributes and not test_modify and not test_collection_validate and not test_item_validate and not test_all and not test_required and not test_self_contained_catalog_collection_item_links and not test_assets and not test_spatial_allows_single_bbox and not test_invalid_error_message and not test_migrate_from_v2_0_0 and not test_migrate_from_v1_0_0 and not test_add_version and not test_version_in_properties and not test_add_not_deprecated_version and not test_add_deprecated_version and not test_latest and not test_predecessor and not test_successor and not test_collection_add_version and not test_catalog_add_version and not test_catalog_validate_all and not test_optional_version and not PointcloudTest and not SatTest and not ItemScientificExtensionTest and not CollectionScientificExtensionTest and not AssetStorageExtensionTest and not TimestampsTest and not ViewTest and not ProjectionTest" --ignore=/tmp/autopkgtest.J858d2/build.xPP/src/tests/validation/test_validate.py --ignore=/tmp/autopkgtest.J858d2/build.xPP/src/tests/test_writing.py /tmp/autopkgtest.J858d2/build.xPP/src/tests 378s ImportError while loading conftest '/tmp/autopkgtest.J858d2/build.xPP/src/tests/conftest.py'.
378s ../../build.xPP/src/tests/conftest.py:12: in <module>
378s from .utils import ARBITRARY_BBOX, ARBITRARY_EXTENT, ARBITRARY_GEOM, TestCases
378s ../../build.xPP/src/tests/utils/__init__.py:16: in <module>
378s     from tests.utils.test_cases import (
378s ../../build.xPP/src/tests/utils/test_cases.py:67: in <module>
378s     temporal=TemporalExtent.from_now(),
378s ../../build.xPP/src/pystac/collection.py:297: in from_now
378s     intervals=[[datetime.utcnow().replace(microsecond=0), None]]
378s E 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). 378s E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=4: cd /tmp/autopkgtest.J858d2/autopkgtest_tmp/build; python3.12 -m pytest -k "not test_read_remote and not test_validate and not test_multiple_extents and not test_null_datetime and not test_null_geometry and not test_relative_extension_path and not test_non_hierarchical_relative_link and not test_apply_bitfields and not test_set_variables and not test_set_dimensions and not test_asset_bands and not test_bands and not test_cloud_cover and not test_set_field and not test_attributes and not test_modify and not test_collection_validate and not test_item_validate and not test_all and not test_required and not test_self_contained_catalog_collection_item_links and not test_assets and not test_spatial_allows_single_bbox and not test_invalid_error_message and not test_migrate_from_v2_0_0 and not test_migrate_from_v1_0_0 and not test_add_version and not test_version_in_properties and not test_add_not_deprecated_version and not test_add_deprecated_version and not test_latest and not test_predecessor and not test_successor and not test_collection_add_version and not test_catalog_add_version and not test_catalog_validate_all and not test_optional_version and not PointcloudTest and not SatTest and not ItemScientificExtensionTest and not CollectionScientificExtensionTest and not AssetStorageExtensionTest and not TimestampsTest and not ViewTest and not ProjectionTest" --ignore=/tmp/autopkgtest.J858d2/build.xPP/src/tests/validation/test_validate.py --ignore=/tmp/autopkgtest.J858d2/build.xPP/src/tests/test_writing.py /tmp/autopkgtest.J858d2/build.xPP/src/tests 378s I: pybuild base:310: cd /tmp/autopkgtest.J858d2/autopkgtest_tmp/build; python3.11 -m pytest -k "not test_read_remote and not test_validate and not test_multiple_extents and not test_null_datetime and not test_null_geometry and not test_relative_extension_path and not test_non_hierarchical_relative_link and not test_apply_bitfields and not test_set_variables and not test_set_dimensions and not test_asset_bands and not test_bands and not test_cloud_cover and not test_set_field and not test_attributes and not test_modify and not test_collection_validate and not test_item_validate and not test_all and not test_required and not test_self_contained_catalog_collection_item_links and not test_assets and not test_spatial_allows_single_bbox and not test_invalid_error_message and not test_migrate_from_v2_0_0 and not test_migrate_from_v1_0_0 and not test_add_version and not test_version_in_properties and not test_add_not_deprecated_version and not test_add_deprecated_version and not test_latest and not test_predecessor and not test_successor and not test_collection_add_version and not test_catalog_add_version and not test_catalog_validate_all and not test_optional_version and not PointcloudTest and not SatTest and not ItemScientificExtensionTest and not CollectionScientificExtensionTest and not AssetStorageExtensionTest and not TimestampsTest and not ViewTest and not ProjectionTest" --ignore=/tmp/autopkgtest.J858d2/build.xPP/src/tests/validation/test_validate.py --ignore=/tmp/autopkgtest.J858d2/build.xPP/src/tests/test_writing.py /tmp/autopkgtest.J858d2/build.xPP/src/tests 380s ============================= test session starts ==============================
380s platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0

Reply via email to