Source: geojson-pydantic Version: 0.6.3-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240615 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > 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.12 with "build" > module > I: pybuild base:311: python3.12 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_geojson-pydantic > * Building wheel... > Successfully built geojson_pydantic-0.6.3-py3-none-any.whl > I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with > "installer" module > I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" > module > I: pybuild base:311: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_geojson-pydantic > * Building wheel... > Successfully built geojson_pydantic-0.6.3-py3-none-any.whl > I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:311: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_geojson-pydantic/build; python3.12 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_geojson-pydantic/build > configfile: pyproject.toml > collected 0 items / 3 errors > > ==================================== ERRORS > ==================================== > ___________________ ERROR collecting tests/test_features.py > ____________________ > tests/test_features.py:8: in <module> > from geojson_pydantic.features import Feature, FeatureCollection > geojson_pydantic/__init__.py:3: in <module> > from .features import Feature, FeatureCollection # noqa > geojson_pydantic/features.py:9: in <module> > from geojson_pydantic.geometries import Geometry, GeometryCollection > geojson_pydantic/geometries.py:256: in <module> > class GeometryCollection(BaseModel, GeoInterfaceMixin): > pydantic/main.py:286: in pydantic.main.ModelMetaclass.__new__ > ??? > pydantic/main.py:807: in pydantic.main.BaseModel.__try_update_forward_refs__ > ??? > pydantic/typing.py:554: in pydantic.typing.update_model_forward_refs > ??? > pydantic/typing.py:520: in pydantic.typing.update_field_forward_refs > ??? > pydantic/typing.py:66: in pydantic.typing.evaluate_forwardref > ??? > E TypeError: ForwardRef._evaluate() missing 1 required keyword-only > argument: 'recursive_guard' > __________________ ERROR collecting tests/test_geometries.py > ___________________ > tests/test_geometries.py:8: in <module> > from geojson_pydantic.geometries import ( > geojson_pydantic/__init__.py:3: in <module> > from .features import Feature, FeatureCollection # noqa > geojson_pydantic/features.py:9: in <module> > from geojson_pydantic.geometries import Geometry, GeometryCollection > geojson_pydantic/geometries.py:178: in <module> > class Polygon(_GeometryBase): > geojson_pydantic/geometries.py:188: in Polygon > @validator("coordinates") > pydantic/class_validators.py:93: in pydantic.class_validators.validator.dec > ??? > pydantic/class_validators.py:156: in > pydantic.class_validators._prepare_validator > ??? > E pydantic.errors.ConfigError: duplicate validator function > "geojson_pydantic.geometries.Polygon.check_closure"; if this is intended, set > `allow_reuse=True` > ____________________ ERROR collecting tests/test_package.py > ____________________ > tests/test_package.py:1: in <module> > import geojson_pydantic > geojson_pydantic/__init__.py:3: in <module> > from .features import Feature, FeatureCollection # noqa > geojson_pydantic/features.py:9: in <module> > from geojson_pydantic.geometries import Geometry, GeometryCollection > geojson_pydantic/geometries.py:178: in <module> > class Polygon(_GeometryBase): > geojson_pydantic/geometries.py:188: in Polygon > @validator("coordinates") > pydantic/class_validators.py:93: in pydantic.class_validators.validator.dec > ??? > pydantic/class_validators.py:156: in > pydantic.class_validators._prepare_validator > ??? > E pydantic.errors.ConfigError: duplicate validator function > "geojson_pydantic.geometries.Polygon.check_closure"; if this is intended, set > `allow_reuse=True` > =========================== short test summary info > ============================ > ERROR tests/test_features.py - TypeError: ForwardRef._evaluate() missing 1 > re... > ERROR tests/test_geometries.py - pydantic.errors.ConfigError: duplicate > valid... > ERROR tests/test_package.py - pydantic.errors.ConfigError: duplicate > validato... > !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection > !!!!!!!!!!!!!!!!!!!! > ============================== 3 errors in 0.43s > =============================== > E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_geojson-pydantic/build; python3.12 -m > pytest tests > I: pybuild base:311: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_geojson-pydantic/build; python3.11 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.9, pytest-8.2.2, pluggy-1.5.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_geojson-pydantic/build > configfile: pyproject.toml > collected 134 items > > tests/test_features.py .................... [ > 14%] > tests/test_geometries.py ...........Xxxxx..............XXXXXXx.........X [ > 50%] > Xx.....XXXx....................................................... [ > 99%] > tests/test_package.py . > [100%] > > ================== 115 passed, 7 xfailed, 12 xpassed in 0.62s > ================== > dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2024/06/15/geojson-pydantic_0.6.3-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.