Bug#1042292: pyosmium: FTBFS: FAILED test/test_writer.py::test_member_object - RuntimeError: return_value_p...

Lucas Nussbaum lucas at debian.org
Wed Jul 26 21:26:08 BST 2023


Source: pyosmium
Version: 3.6.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> sphinx-build -b man -d _build/doctrees   . _build/man
> Running Sphinx v5.3.0
> making output directory... done
> WARNING: html_static_path entry '_static' does not exist
> loading pickled environment... done
> building [mo]: targets for 0 po files that are out of date
> building [man]: all manpages
> updating environment: 0 added, 0 changed, 0 removed
> looking for now-outdated files... none found
> writing... pyosmium-get-changes.1 { } pyosmium-up-to-date.1 { } done
> build succeeded, 1 warning.
> 
> The manual pages are in _build/man.
> 
> Build finished. The manual pages are in _build/man.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build -O--buildsystem=pybuild -Npyosmium -Npyosmium-doc
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> running build_ext
> Re-run cmake no build system arguments
> CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
>   Compatibility with CMake < 3.5 will be removed from a future version of
>   CMake.
> 
>   Update the VERSION argument <min> value or use a ...<max> suffix to tell
>   CMake that the project does not need compatibility with older versions.
> 
> 
> -- lz4 library found, compiling with it
> -- Building in C++14 mode
> CMake Warning (dev) at /usr/lib/cmake/pybind11/FindPythonLibsNew.cmake:98 (find_package):
>   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
>   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
>   the cmake_policy command to set the policy and suppress this warning.
> 
> Call Stack (most recent call first):
>   /usr/lib/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
>   /usr/lib/cmake/pybind11/pybind11Common.cmake:188 (include)
>   /usr/lib/cmake/pybind11/pybind11Config.cmake:250 (include)
>   CMakeLists.txt:44 (find_package)
> This warning is for project developers.  Use -Wno-dev to suppress it.
> 
> -- Found pybind11: /usr/include (found version "2.11.1")
> -- Configuring done (0.1s)
> -- Generating done (0.0s)
> -- Build files have been written to: /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311
> Change Dir: '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> 
> Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j2
> gmake[1]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> /usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 --check-build-system CMakeFiles/Makefile.cmake 0
> /usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311//CMakeFiles/progress.marks
> /usr/bin/gmake  -f CMakeFiles/Makefile2 all
> gmake[2]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> /usr/bin/gmake  -f CMakeFiles/geom.dir/build.make CMakeFiles/geom.dir/depend
> /usr/bin/gmake  -f CMakeFiles/index.dir/build.make CMakeFiles/index.dir/depend
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> cd /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/geom.dir/DependInfo.cmake "--color="
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> cd /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/index.dir/DependInfo.cmake "--color="
> Dependencies file "CMakeFiles/geom.dir/lib/geom.cc.o.d" is newer than depends file "/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/geom.dir/compiler_depend.internal".
> Dependencies file "CMakeFiles/index.dir/lib/index.cc.o.d" is newer than depends file "/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/index.dir/compiler_depend.internal".
> Consolidate compiler generated dependencies of target geom
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> Consolidate compiler generated dependencies of target index
> /usr/bin/gmake  -f CMakeFiles/geom.dir/build.make CMakeFiles/geom.dir/build
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> /usr/bin/gmake  -f CMakeFiles/index.dir/build.make CMakeFiles/index.dir/build
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> gmake[3]: Nothing to be done for 'CMakeFiles/geom.dir/build'.
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> gmake[3]: Nothing to be done for 'CMakeFiles/index.dir/build'.
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> [ 13%] Built target geom
> /usr/bin/gmake  -f CMakeFiles/io.dir/build.make CMakeFiles/io.dir/depend
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> cd /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/io.dir/DependInfo.cmake "--color="
> [ 26%] Built target index
> /usr/bin/gmake  -f CMakeFiles/_osm.dir/build.make CMakeFiles/_osm.dir/depend
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> cd /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/_osm.dir/DependInfo.cmake "--color="
> Dependencies file "CMakeFiles/io.dir/lib/io.cc.o.d" is newer than depends file "/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/io.dir/compiler_depend.internal".
> Dependencies file "CMakeFiles/_osm.dir/lib/osm.cc.o.d" is newer than depends file "/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/_osm.dir/compiler_depend.internal".
> Consolidate compiler generated dependencies of target io
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> /usr/bin/gmake  -f CMakeFiles/io.dir/build.make CMakeFiles/io.dir/build
> Consolidate compiler generated dependencies of target _osm
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> /usr/bin/gmake  -f CMakeFiles/_osm.dir/build.make CMakeFiles/_osm.dir/build
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> gmake[3]: Nothing to be done for 'CMakeFiles/_osm.dir/build'.
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> gmake[3]: Nothing to be done for 'CMakeFiles/io.dir/build'.
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> [ 40%] Built target _osm
> /usr/bin/gmake  -f CMakeFiles/_osmium.dir/build.make CMakeFiles/_osmium.dir/depend
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> cd /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/_osmium.dir/DependInfo.cmake "--color="
> Dependencies file "CMakeFiles/_osmium.dir/lib/merge_input_reader.cc.o.d" is newer than depends file "/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/_osmium.dir/compiler_depend.internal".
> [ 53%] Built target io
> Dependencies file "CMakeFiles/_osmium.dir/lib/osmium.cc.o.d" is newer than depends file "/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/_osmium.dir/compiler_depend.internal".
> /usr/bin/gmake  -f CMakeFiles/_replication.dir/build.make CMakeFiles/_replication.dir/depend
> Dependencies file "CMakeFiles/_osmium.dir/lib/simple_writer.cc.o.d" is newer than depends file "/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/_osmium.dir/compiler_depend.internal".
> Dependencies file "CMakeFiles/_osmium.dir/lib/write_handler.cc.o.d" is newer than depends file "/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/_osmium.dir/compiler_depend.internal".
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> cd /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311 /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/_replication.dir/DependInfo.cmake "--color="
> Dependencies file "CMakeFiles/_replication.dir/lib/replication.cc.o.d" is newer than depends file "/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles/_replication.dir/compiler_depend.internal".
> Consolidate compiler generated dependencies of target _replication
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> /usr/bin/gmake  -f CMakeFiles/_replication.dir/build.make CMakeFiles/_replication.dir/build
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> gmake[3]: Nothing to be done for 'CMakeFiles/_replication.dir/build'.
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> Consolidate compiler generated dependencies of target _osmium
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> /usr/bin/gmake  -f CMakeFiles/_osmium.dir/build.make CMakeFiles/_osmium.dir/build
> gmake[3]: Entering directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> gmake[3]: Nothing to be done for 'CMakeFiles/_osmium.dir/build'.
> gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> [ 66%] Built target _replication
> [100%] Built target _osmium
> gmake[2]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> /usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311/CMakeFiles 0
> gmake[1]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
> 
> running build_scripts
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:307: cp -r /<<PKGBUILDDIR>>/examples /<<PKGBUILDDIR>>/tools /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyosmium/build
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyosmium/build; python3.11 -m pytest test
> ============================= test session starts ==============================
> platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
> rootdir: /<<PKGBUILDDIR>>
> collected 230 items
> 
> test/test_dangling_references.py ........FFFFF..F.                       [  7%]
> test/test_examples.py .....                                              [  9%]
> test/test_geom.py ..............                                         [ 15%]
> test/test_index.py ......                                                [ 18%]
> test/test_io.py ........                                                 [ 21%]
> test/test_memberlist.py .F                                               [ 22%]
> test/test_nodelist.py ....                                               [ 24%]
> test/test_osm.py ..FF..........FFFFFFFF                                  [ 33%]
> test/test_pyosmium_get_changes.py .....                                  [ 36%]
> test/test_replication.py .......................................         [ 53%]
> test/test_replication_utils.py ..                                        [ 53%]
> test/test_taglist.py FFFF.FF                                             [ 56%]
> test/test_threaded.py .                                                  [ 57%]
> test/test_writer.py .................................................... [ 80%]
> ...................................F..........                           [100%]
> 
> =================================== FAILURES ===================================
> _________________ TestKeepTagListIterator.test_keep_reference __________________
> 
> self = <test_dangling_references.TestKeepTagListIterator object at 0x7f5acdaf3410>
> 
>     def test_keep_reference(self):
>         h = o.make_simple_handler(node=self.node, way=self.way,
>                                   relation=self.relation, area=self.area)
> >       h.apply_file(TEST_DIR / 'example-test.osc')
> 
> test/test_dangling_references.py:32: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_dangling_references.py:86: in node
>     self.keep(n.tags.__iter__(), lambda t: next(t))
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5acd02f8d0>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5acd07cc70>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> ________________ TestKeepOuterRingIterator.test_keep_reference _________________
> 
> self = <test_dangling_references.TestKeepOuterRingIterator object at 0x7f5acdaf3950>
> 
>     def test_keep_reference(self):
>         h = o.make_simple_handler(node=self.node, way=self.way,
>                                   relation=self.relation, area=self.area)
> >       h.apply_file(TEST_DIR / 'example-test.osc')
> 
> test/test_dangling_references.py:32: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_dangling_references.py:91: in area
>     self.keep(r.outer_rings(), lambda t: next(t))
> osmium/osm/types.py:589: in outer_rings
>     return OuterRingIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.OuterRingIterator object at 0x7f5accfdc950>
> parent = <osmium.osm._osm.COSMArea object at 0x7f5accff7a30>
> 
>     def __init__(self, parent: Any) -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.outer_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:523: RuntimeError
> ____________________ TestKeepOuterRing.test_keep_reference _____________________
> 
> self = <test_dangling_references.TestKeepOuterRing object at 0x7f5ace109cd0>
> 
>     def test_keep_reference(self):
>         h = o.make_simple_handler(node=self.node, way=self.way,
>                                   relation=self.relation, area=self.area)
> >       h.apply_file(TEST_DIR / 'example-test.osc')
> 
> test/test_dangling_references.py:32: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_dangling_references.py:96: in area
>     for ring in r.outer_rings():
> osmium/osm/types.py:589: in outer_rings
>     return OuterRingIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.OuterRingIterator object at 0x7f5acd0010d0>
> parent = <osmium.osm._osm.COSMArea object at 0x7f5acecdb6b0>
> 
>     def __init__(self, parent: Any) -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.outer_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:523: RuntimeError
> ________________ TestKeepInnerRingIterator.test_keep_reference _________________
> 
> self = <test_dangling_references.TestKeepInnerRingIterator object at 0x7f5acdacae50>
> 
>     def test_keep_reference(self):
>         h = o.make_simple_handler(node=self.node, way=self.way,
>                                   relation=self.relation, area=self.area)
> >       h.apply_file(TEST_DIR / 'example-test.osc')
> 
> test/test_dangling_references.py:32: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_dangling_references.py:102: in area
>     for ring in r.outer_rings():
> osmium/osm/types.py:589: in outer_rings
>     return OuterRingIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.OuterRingIterator object at 0x7f5accffebd0>
> parent = <osmium.osm._osm.COSMArea object at 0x7f5ace1879b0>
> 
>     def __init__(self, parent: Any) -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.outer_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:523: RuntimeError
> ____________________ TestKeepInnerRing.test_keep_reference _____________________
> 
> self = <test_dangling_references.TestKeepInnerRing object at 0x7f5acdacb390>
> 
>     def test_keep_reference(self):
>         h = o.make_simple_handler(node=self.node, way=self.way,
>                                   relation=self.relation, area=self.area)
> >       h.apply_file(TEST_DIR / 'example-test.osc')
> 
> test/test_dangling_references.py:32: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_dangling_references.py:108: in area
>     for outer in r.outer_rings():
> osmium/osm/types.py:589: in outer_rings
>     return OuterRingIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.OuterRingIterator object at 0x7f5acd9bc050>
> parent = <osmium.osm._osm.COSMArea object at 0x7f5acd07c070>
> 
>     def __init__(self, parent: Any) -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.outer_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:523: RuntimeError
> _______________________ TestKeepNode.test_keep_reference _______________________
> 
> self = <test_dangling_references.TestKeepNode object at 0x7f5ace133510>
> 
>     def test_keep_reference(self):
>         h = o.make_simple_handler(node=self.node, way=self.way,
>                                   relation=self.relation, area=self.area)
> >       h.apply_file(TEST_DIR / 'example-test.pbf')
> 
> test/test_dangling_references.py:137: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_dangling_references.py:151: in node
>     for t in n.tags:
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5acd04fa10>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5accff71f0>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> ______________________________ test_list_members _______________________________
> 
> simple_handler = <function simple_handler.<locals>._run at 0x7f5aa3583ce0>
> 
>     def test_list_members(simple_handler):
>         members = []
>     
>         def cb(rel):
>             members.extend((m.type, m.ref, m.role) for m in rel.members)
>     
> >       simple_handler("r34 Mn23@,n12 at foo,w5 at .,r34359737784@(ü)", relation=cb)
> 
> test/test_memberlist.py:31: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/conftest.py:61: in _run
>     handler.apply_buffer(to_opl(data).encode('utf-8'), 'opl', locations=locations)
> test/test_memberlist.py:29: in cb
>     members.extend((m.type, m.ref, m.role) for m in rel.members)
> osmium/osm/types.py:284: in __iter__
>     return MemberIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.MemberIterator object at 0x7f5acd9e2a90>
> parent = <osmium.osm._osm.COSMRelation object at 0x7f5aa35b9af0>
> 
>     def __init__(self, parent: 'cosm.COSMRelation') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.members_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:263: RuntimeError
> ______________________ test_node_attributes[apply_simple] ______________________
> 
> test_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35c0360>
> 
>     def test_node_attributes(test_importer):
>         def node(n):
>             assert n.deleted == False
>             assert n.visible == True
>             assert n.version == 5
>             assert n.changeset == 58674
>             assert n.uid == 42
>             assert n.user_is_anonymous() == False
>             assert n.timestamp == mkdate(2014, 1, 31, 6, 23, 35)
>             assert n.user == u'änonymous'
>             assert n.positive_id() == 1
>             assert str(n) == 'n1: location=invalid tags={}'
>             assert repr(n) == "osmium.osm.Node(id=1, deleted=False, visible=True, version=5, changeset=58674, uid=42, timestamp=datetime.datetime(2014, 1, 31, 6, 23, 35, tzinfo=datetime.timezone.utc), user='änonymous', tags=osmium.osm.TagList({}), location=osmium.osm.Location())"
>     
> >       assert 1 == test_importer('n1 v5 c58674 t2014-01-31T06:23:35Z i42 uänonymous',
>                                   node=node)
> 
> test/test_osm.py:102: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:15: in apply_simple
>     handler.apply_buffer(data.encode('utf-8'), 'opl', locations=locations)
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:99: in node
>     assert str(n) == 'n1: location=invalid tags={}'
> osmium/osm/types.py:408: in __str__
>     return f'n{self.id:d}: location={self.location!s} tags={self.tags!s}'
> osmium/osm/types.py:105: in __str__
>     return f"{{{_list_elipse(self)}}}"
> osmium/osm/types.py:33: in _list_elipse
>     objects = ','.join(map(str, obj))
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa8ef55d0>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5aa35d6330>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> ____________________ test_node_attributes[apply_with_merge] ____________________
> 
> test_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35c0400>
> 
>     def test_node_attributes(test_importer):
>         def node(n):
>             assert n.deleted == False
>             assert n.visible == True
>             assert n.version == 5
>             assert n.changeset == 58674
>             assert n.uid == 42
>             assert n.user_is_anonymous() == False
>             assert n.timestamp == mkdate(2014, 1, 31, 6, 23, 35)
>             assert n.user == u'änonymous'
>             assert n.positive_id() == 1
>             assert str(n) == 'n1: location=invalid tags={}'
>             assert repr(n) == "osmium.osm.Node(id=1, deleted=False, visible=True, version=5, changeset=58674, uid=42, timestamp=datetime.datetime(2014, 1, 31, 6, 23, 35, tzinfo=datetime.timezone.utc), user='änonymous', tags=osmium.osm.TagList({}), location=osmium.osm.Location())"
>     
> >       assert 1 == test_importer('n1 v5 c58674 t2014-01-31T06:23:35Z i42 uänonymous',
>                                   node=node)
> 
> test/test_osm.py:102: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:27: in apply_with_merge
>     mir.apply(handler, idx='flex_mem' if locations else '')
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:99: in node
>     assert str(n) == 'n1: location=invalid tags={}'
> osmium/osm/types.py:408: in __str__
>     return f'n{self.id:d}: location={self.location!s} tags={self.tags!s}'
> osmium/osm/types.py:105: in __str__
>     return f"{{{_list_elipse(self)}}}"
> osmium/osm/types.py:33: in _list_elipse
>     objects = ','.join(map(str, obj))
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa3550dd0>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5aa81eeff0>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> ______________________ test_way_attributes[apply_simple] _______________________
> 
> test_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35c2840>
> 
>     def test_way_attributes(test_importer):
>         def way(o):
>             assert o.id == 1
>             assert o.deleted == False
>             assert o.visible == True
>             assert o.version == 5
>             assert o.changeset == 58674
>             assert o.uid == 42
>             assert o.user_is_anonymous() == False
>             assert o.timestamp == mkdate(2014, 1, 31, 6, 23, 35)
>             assert o.user == 'anonymous'
>             assert o.positive_id() == 1
>             assert not o.is_closed()
>             assert not o.ends_have_same_id()
>             assert not o.ends_have_same_location()
>     
>             assert str(o) == 'w1: nodes=[1 at 0.0000000/0.0000000,2,3 at 1.0000000/1.0000000] tags={}'
>             assert repr(o) == "osmium.osm.Way(id=1, deleted=False, visible=True, version=5, changeset=58674, uid=42, timestamp=datetime.datetime(2014, 1, 31, 6, 23, 35, tzinfo=datetime.timezone.utc), user='anonymous', tags=osmium.osm.TagList({}), nodes=osmium.osm.WayNodeList([osmium.osm.NodeRef(ref=1, location=osmium.osm.Location(x=0, y=0)), osmium.osm.NodeRef(ref=2, location=osmium.osm.Location()), osmium.osm.NodeRef(ref=3, location=osmium.osm.Location(x=10000000, y=10000000))]))"
>     
>             assert str(o.nodes) == '[1 at 0.0000000/0.0000000,2,3 at 1.0000000/1.0000000]'
>             assert repr(o.nodes) == "osmium.osm.WayNodeList([osmium.osm.NodeRef(ref=1, location=osmium.osm.Location(x=0, y=0)), osmium.osm.NodeRef(ref=2, location=osmium.osm.Location()), osmium.osm.NodeRef(ref=3, location=osmium.osm.Location(x=10000000, y=10000000))])"
>     
> >       assert 1 == test_importer(['n1 x0 y0', 'n3 x1 y1',
>                                    'w1 v5 c58674 t2014-01-31T06:23:35Z i42 uanonymous Nn1,n2,n3'],
>                                   way=way, locations=True)
> 
> test/test_osm.py:140: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:15: in apply_simple
>     handler.apply_buffer(data.encode('utf-8'), 'opl', locations=locations)
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:134: in way
>     assert str(o) == 'w1: nodes=[1 at 0.0000000/0.0000000,2,3 at 1.0000000/1.0000000] tags={}'
> osmium/osm/types.py:472: in __str__
>     return f'w{self.id:d}: nodes={self.nodes!s} tags={self.tags!s}'
> osmium/osm/types.py:105: in __str__
>     return f"{{{_list_elipse(self)}}}"
> osmium/osm/types.py:33: in _list_elipse
>     objects = ','.join(map(str, obj))
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5acd8f6410>
> parent = <osmium.osm._osm.COSMWay object at 0x7f5acd0700f0>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> ____________________ test_way_attributes[apply_with_merge] _____________________
> 
> test_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35c2340>
> 
>     def test_way_attributes(test_importer):
>         def way(o):
>             assert o.id == 1
>             assert o.deleted == False
>             assert o.visible == True
>             assert o.version == 5
>             assert o.changeset == 58674
>             assert o.uid == 42
>             assert o.user_is_anonymous() == False
>             assert o.timestamp == mkdate(2014, 1, 31, 6, 23, 35)
>             assert o.user == 'anonymous'
>             assert o.positive_id() == 1
>             assert not o.is_closed()
>             assert not o.ends_have_same_id()
>             assert not o.ends_have_same_location()
>     
>             assert str(o) == 'w1: nodes=[1 at 0.0000000/0.0000000,2,3 at 1.0000000/1.0000000] tags={}'
>             assert repr(o) == "osmium.osm.Way(id=1, deleted=False, visible=True, version=5, changeset=58674, uid=42, timestamp=datetime.datetime(2014, 1, 31, 6, 23, 35, tzinfo=datetime.timezone.utc), user='anonymous', tags=osmium.osm.TagList({}), nodes=osmium.osm.WayNodeList([osmium.osm.NodeRef(ref=1, location=osmium.osm.Location(x=0, y=0)), osmium.osm.NodeRef(ref=2, location=osmium.osm.Location()), osmium.osm.NodeRef(ref=3, location=osmium.osm.Location(x=10000000, y=10000000))]))"
>     
>             assert str(o.nodes) == '[1 at 0.0000000/0.0000000,2,3 at 1.0000000/1.0000000]'
>             assert repr(o.nodes) == "osmium.osm.WayNodeList([osmium.osm.NodeRef(ref=1, location=osmium.osm.Location(x=0, y=0)), osmium.osm.NodeRef(ref=2, location=osmium.osm.Location()), osmium.osm.NodeRef(ref=3, location=osmium.osm.Location(x=10000000, y=10000000))])"
>     
> >       assert 1 == test_importer(['n1 x0 y0', 'n3 x1 y1',
>                                    'w1 v5 c58674 t2014-01-31T06:23:35Z i42 uanonymous Nn1,n2,n3'],
>                                   way=way, locations=True)
> 
> test/test_osm.py:140: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:27: in apply_with_merge
>     mir.apply(handler, idx='flex_mem' if locations else '')
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:134: in way
>     assert str(o) == 'w1: nodes=[1 at 0.0000000/0.0000000,2,3 at 1.0000000/1.0000000] tags={}'
> osmium/osm/types.py:472: in __str__
>     return f'w{self.id:d}: nodes={self.nodes!s} tags={self.tags!s}'
> osmium/osm/types.py:105: in __str__
>     return f"{{{_list_elipse(self)}}}"
> osmium/osm/types.py:33: in _list_elipse
>     objects = ','.join(map(str, obj))
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa35d4890>
> parent = <osmium.osm._osm.COSMWay object at 0x7f5aa35b9d30>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> ____________________ test_relation_attributes[apply_simple] ____________________
> 
> test_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35c1c60>
> 
>     def test_relation_attributes(test_importer):
>         def relation(o):
>             assert o.id == 1
>             assert o.deleted == False
>             assert o.visible == True
>             assert o.version == 5
>             assert o.changeset == 58674
>             assert o.uid == 42
>             assert o.user_is_anonymous() == False
>             assert o.timestamp == mkdate(2014, 1, 31, 6, 23, 35)
>             assert o.user == ' anonymous'
>             assert o.positive_id() == 1
>     
>             assert str(o) == 'r1: members=[w1], tags={}'
>             assert repr(o) == "osmium.osm.Relation(id=1, deleted=False, visible=True, version=5, changeset=58674, uid=42, timestamp=datetime.datetime(2014, 1, 31, 6, 23, 35, tzinfo=datetime.timezone.utc), user=' anonymous', tags=osmium.osm.TagList({}), members=osmium.osm.RelationMemberList([osmium.osm.RelationMember(ref=1, type='w', role='')]))"
>     
>             assert str(o.members) == '[w1]'
>             assert repr(o.members) == "osmium.osm.RelationMemberList([osmium.osm.RelationMember(ref=1, type='w', role='')])"
>     
> >       assert 1 == test_importer('r1 v5 c58674 t2014-01-31T06:23:35Z i42 u%20%anonymous Mw1@',
>                                   relation=relation)
> 
> test/test_osm.py:164: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:15: in apply_simple
>     handler.apply_buffer(data.encode('utf-8'), 'opl', locations=locations)
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:158: in relation
>     assert str(o) == 'r1: members=[w1], tags={}'
> osmium/osm/types.py:508: in __str__
>     return f"r{self.id:d}: members={self.members!s}, tags={self.tags!s}"
> osmium/osm/types.py:288: in __str__
>     return f'[{_list_elipse(self)}]'
> osmium/osm/types.py:33: in _list_elipse
>     objects = ','.join(map(str, obj))
> osmium/osm/types.py:284: in __iter__
>     return MemberIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.MemberIterator object at 0x7f5aa3590250>
> parent = <osmium.osm._osm.COSMRelation object at 0x7f5aa043e6b0>
> 
>     def __init__(self, parent: 'cosm.COSMRelation') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.members_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:263: RuntimeError
> __________________ test_relation_attributes[apply_with_merge] __________________
> 
> test_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35c2ca0>
> 
>     def test_relation_attributes(test_importer):
>         def relation(o):
>             assert o.id == 1
>             assert o.deleted == False
>             assert o.visible == True
>             assert o.version == 5
>             assert o.changeset == 58674
>             assert o.uid == 42
>             assert o.user_is_anonymous() == False
>             assert o.timestamp == mkdate(2014, 1, 31, 6, 23, 35)
>             assert o.user == ' anonymous'
>             assert o.positive_id() == 1
>     
>             assert str(o) == 'r1: members=[w1], tags={}'
>             assert repr(o) == "osmium.osm.Relation(id=1, deleted=False, visible=True, version=5, changeset=58674, uid=42, timestamp=datetime.datetime(2014, 1, 31, 6, 23, 35, tzinfo=datetime.timezone.utc), user=' anonymous', tags=osmium.osm.TagList({}), members=osmium.osm.RelationMemberList([osmium.osm.RelationMember(ref=1, type='w', role='')]))"
>     
>             assert str(o.members) == '[w1]'
>             assert repr(o.members) == "osmium.osm.RelationMemberList([osmium.osm.RelationMember(ref=1, type='w', role='')])"
>     
> >       assert 1 == test_importer('r1 v5 c58674 t2014-01-31T06:23:35Z i42 u%20%anonymous Mw1@',
>                                   relation=relation)
> 
> test/test_osm.py:164: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:27: in apply_with_merge
>     mir.apply(handler, idx='flex_mem' if locations else '')
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:158: in relation
>     assert str(o) == 'r1: members=[w1], tags={}'
> osmium/osm/types.py:508: in __str__
>     return f"r{self.id:d}: members={self.members!s}, tags={self.tags!s}"
> osmium/osm/types.py:288: in __str__
>     return f'[{_list_elipse(self)}]'
> osmium/osm/types.py:33: in _list_elipse
>     objects = ','.join(map(str, obj))
> osmium/osm/types.py:284: in __iter__
>     return MemberIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.MemberIterator object at 0x7f5aa35dc710>
> parent = <osmium.osm._osm.COSMRelation object at 0x7f5aa358d6b0>
> 
>     def __init__(self, parent: 'cosm.COSMRelation') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.members_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:263: RuntimeError
> _________________ test_area_from_way_attributes[apply_simple] __________________
> 
> area_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35c3880>
> 
>     def test_area_from_way_attributes(area_importer):
>         def area(o):
>             assert o.id == 46
>             assert o.deleted == False
>             assert o.visible == True
>             assert o.version == 5
>             assert o.changeset == 58674
>             assert o.uid == 42
>             assert o.user_is_anonymous() == False
>             assert o.timestamp == mkdate(2014, 1, 31, 6, 23, 35)
>             assert o.user == 'anonymous'
>             assert o.positive_id() == 46
>             assert o.orig_id() == 23
>             assert o.from_way() == True
>             assert o.is_multipolygon() == False
>             assert o.num_rings() == (1, 0)
>             assert len(list(o.outer_rings())) == 1
>             oring = list(o.outer_rings())[0]
>             assert len(list(oring)) == 4
>             assert set((1,2,3)) == set([x.ref for x in oring])
>             assert oring.is_closed()
>             assert oring.ends_have_same_id()
>             assert oring.ends_have_same_location()
>             assert len(list(o.inner_rings(oring))) == 0
>     
> >       assert 1 == area_importer(['n1 x0 y0', 'n2 x1 y0', 'n3 x0 y1',
>                                    'w23 v5 c58674 t2014-01-31T06:23:35Z i42 uanonymous Nn1,n2,n3,n1 Tarea=yes'],
>                                   area=area)
> 
> test/test_osm.py:193: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:15: in apply_simple
>     handler.apply_buffer(data.encode('utf-8'), 'opl', locations=locations)
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:184: in area
>     assert len(list(o.outer_rings())) == 1
> osmium/osm/types.py:589: in outer_rings
>     return OuterRingIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.OuterRingIterator object at 0x7f5aa8ed9e10>
> parent = <osmium.osm._osm.COSMArea object at 0x7f5aa047c3f0>
> 
>     def __init__(self, parent: Any) -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.outer_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:523: RuntimeError
> _______ test_area_from_multipolygon_relation[apply_simple-multipolygon] ________
> 
> area_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35c36a0>
> mptype = 'multipolygon'
> 
>     @pytest.mark.parametrize('mptype', ('multipolygon', 'boundary'))
>     def test_area_from_multipolygon_relation(area_importer, mptype):
>         def area(o):
>             assert o.id == 3
>             assert o.deleted == False
>             assert o.visible == True
>             assert o.version == 3
>             assert o.changeset == 7654
>             assert o.uid == 42
>             assert o.user_is_anonymous() == False
>             assert o.timestamp == mkdate(2014, 1, 31, 6, 23, 35)
>             assert o.user == 'Anon'
>             assert o.positive_id() == 3
>             assert o.orig_id() == 1
>             assert o.from_way() == False
>             assert o.is_multipolygon() == False
>             assert o.num_rings() == (1, 0)
>             assert len(list(o.outer_rings())) == 1
>             oring = list(o.outer_rings())[0]
>             assert len(list(oring)) == 4
>             assert set((1,2,3)) == set([x.ref for x in oring])
>             assert oring.is_closed()
>             assert oring.ends_have_same_id()
>             assert oring.ends_have_same_location()
>             assert len(list(o.inner_rings(oring))) == 0
>     
> >       assert 1 == area_importer(['n1 x0 y0', 'n2 x1 y0', 'n3 x0 y1',
>                                    'w23 Nn1,n2,n3', 'w24 Nn3,n1',
>                                    'r1 v3 c7654 t2014-01-31T06:23:35Z i42 uAnon Mw23 at outer,w24 at outer Ttype={}'.format(mptype)],
>                                    area=area)
> 
> test/test_osm.py:224: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:15: in apply_simple
>     handler.apply_buffer(data.encode('utf-8'), 'opl', locations=locations)
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:215: in area
>     assert len(list(o.outer_rings())) == 1
> osmium/osm/types.py:589: in outer_rings
>     return OuterRingIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.OuterRingIterator object at 0x7f5aa0443a50>
> parent = <osmium.osm._osm.COSMArea object at 0x7f5aa0441530>
> 
>     def __init__(self, parent: Any) -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.outer_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:523: RuntimeError
> _________ test_area_from_multipolygon_relation[apply_simple-boundary] __________
> 
> area_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35c3740>
> mptype = 'boundary'
> 
>     @pytest.mark.parametrize('mptype', ('multipolygon', 'boundary'))
>     def test_area_from_multipolygon_relation(area_importer, mptype):
>         def area(o):
>             assert o.id == 3
>             assert o.deleted == False
>             assert o.visible == True
>             assert o.version == 3
>             assert o.changeset == 7654
>             assert o.uid == 42
>             assert o.user_is_anonymous() == False
>             assert o.timestamp == mkdate(2014, 1, 31, 6, 23, 35)
>             assert o.user == 'Anon'
>             assert o.positive_id() == 3
>             assert o.orig_id() == 1
>             assert o.from_way() == False
>             assert o.is_multipolygon() == False
>             assert o.num_rings() == (1, 0)
>             assert len(list(o.outer_rings())) == 1
>             oring = list(o.outer_rings())[0]
>             assert len(list(oring)) == 4
>             assert set((1,2,3)) == set([x.ref for x in oring])
>             assert oring.is_closed()
>             assert oring.ends_have_same_id()
>             assert oring.ends_have_same_location()
>             assert len(list(o.inner_rings(oring))) == 0
>     
> >       assert 1 == area_importer(['n1 x0 y0', 'n2 x1 y0', 'n3 x0 y1',
>                                    'w23 Nn1,n2,n3', 'w24 Nn3,n1',
>                                    'r1 v3 c7654 t2014-01-31T06:23:35Z i42 uAnon Mw23 at outer,w24 at outer Ttype={}'.format(mptype)],
>                                    area=area)
> 
> test/test_osm.py:224: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:15: in apply_simple
>     handler.apply_buffer(data.encode('utf-8'), 'opl', locations=locations)
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:215: in area
>     assert len(list(o.outer_rings())) == 1
> osmium/osm/types.py:589: in outer_rings
>     return OuterRingIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.OuterRingIterator object at 0x7f5aa3628d50>
> parent = <osmium.osm._osm.COSMArea object at 0x7f5aa3629bb0>
> 
>     def __init__(self, parent: Any) -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.outer_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:523: RuntimeError
> ____________________ test_changest_attributes[apply_simple] ____________________
> 
> area_importer = <function _make_importer_factory.<locals>._run at 0x7f5aa35f0040>
> 
>     def test_changest_attributes(area_importer):
>         def changeset(c):
>             assert 34 == c.id
>             assert 1 == c.uid
>             assert not c.user_is_anonymous()
>             assert "Steve" == c.user
>             assert mkdate(2005, 4, 9, 19, 54, 13), c.created_at
>             assert mkdate(2005, 4, 9, 20, 54, 39), c.closed_at
>             assert not c.open
>             assert 2 == c.num_changes
>             assert 0 == len(c.tags)
>             assert -1464925 == c.bounds.top_right.x
>             assert 515288620 == c.bounds.top_right.y
>             assert -1465242 == c.bounds.bottom_left.x
>             assert 515288506 == c.bounds.bottom_left.y
>             assert str(c) == 'c34: closed_at=2005-04-09 20:54:39+00:00, bounds=(-0.1465242/51.5288506 -0.1464925/51.5288620), tags={}'
>             assert repr(c) == "osmium.osm.Changeset(id=34, uid=1, created_at=datetime.datetime(2005, 4, 9, 19, 54, 13, tzinfo=datetime.timezone.utc), closed_at=datetime.datetime(2005, 4, 9, 20, 54, 39, tzinfo=datetime.timezone.utc), open=False, num_changes=2, bounds=osmium.osm.Box(bottom_left=osmium.osm.Location(x=-1465242, y=515288506), top_right=osmium.osm.Location(x=-1464925, y=515288620)), user='Steve', tags=osmium.osm.TagList({}))"
>     
> >       assert 1 == area_importer('c34 k2 s2005-04-09T19:54:13Z e2005-04-09T20:54:39Z '
>                                    'd34 i1 uSteve x-0.1465242 y51.5288506 X-0.1464925 Y51.5288620',
>                                   changeset=changeset)
> 
> test/test_osm.py:249: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_osm.py:46: in _run
>     apply_func(handler, to_opl(data), locations, tmp_path)
> test/test_osm.py:15: in apply_simple
>     handler.apply_buffer(data.encode('utf-8'), 'opl', locations=locations)
> test/test_osm.py:40: in _inner
>     func(obj)
> test/test_osm.py:246: in changeset
>     assert str(c) == 'c34: closed_at=2005-04-09 20:54:39+00:00, bounds=(-0.1465242/51.5288506 -0.1464925/51.5288620), tags={}'
> osmium/osm/types.py:682: in __str__
>     return f'c{self.id:d}: closed_at={self.closed_at!s}, bounds={self.bounds!s}, tags={self.tags!s}'
> osmium/osm/types.py:105: in __str__
>     return f"{{{_list_elipse(self)}}}"
> osmium/osm/types.py:33: in _list_elipse
>     objects = ','.join(map(str, obj))
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa81eee90>
> parent = <osmium.osm._osm.COSMChangeset object at 0x7f5aa043dc70>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> __________________________ test_empty_taglist_length ___________________________
> 
> tag_handler = <function tag_handler.<locals>._handle at 0x7f5aa0433ec0>
> 
>     def test_empty_taglist_length(tag_handler):
>         def tests(n):
>             assert 0 == len(n.tags)
>             assert not n.tags
>             assert str(n.tags) == '{}'
>             assert repr(n.tags) == 'osmium.osm.TagList({})'
>     
> >       tags = tag_handler("n234 x1 y2", tests)
> 
> test/test_taglist.py:35: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_taglist.py:21: in _handle
>     simple_handler(data, node=node)
> test/conftest.py:61: in _run
>     handler.apply_buffer(to_opl(data).encode('utf-8'), 'opl', locations=locations)
> test/test_taglist.py:18: in node
>     tags.update(n.tags)
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa3590950>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5aa35f6cb0>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> _________________________ test_empty_taglist_contains __________________________
> 
> tag_handler = <function tag_handler.<locals>._handle at 0x7f5aa0433f60>
> 
>     def test_empty_taglist_contains(tag_handler):
>         def tests(n):
>             assert "a" not in n.tags
>     
> >       tags = tag_handler("n234 x1 y2", tests)
> 
> test/test_taglist.py:43: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_taglist.py:21: in _handle
>     simple_handler(data, node=node)
> test/conftest.py:61: in _run
>     handler.apply_buffer(to_opl(data).encode('utf-8'), 'opl', locations=locations)
> test/test_taglist.py:18: in node
>     tags.update(n.tags)
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa046d150>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5aa046d230>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> ____________________________ test_empty_taglist_get ____________________________
> 
> tag_handler = <function tag_handler.<locals>._handle at 0x7f5aa0510d60>
> 
>     def test_empty_taglist_get(tag_handler):
>         def tests(n):
>             assert None == n.tags.get("foo")
>             assert None == n.tags.get("foo", None)
>             assert "fs" == n.tags.get("foo", "fs")
>     
> >       tags = tag_handler("n234 x1 y2", tests)
> 
> test/test_taglist.py:53: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_taglist.py:21: in _handle
>     simple_handler(data, node=node)
> test/conftest.py:61: in _run
>     handler.apply_buffer(to_opl(data).encode('utf-8'), 'opl', locations=locations)
> test/test_taglist.py:18: in node
>     tags.update(n.tags)
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa35f76d0>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5aa8ed3230>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> __________________________ test_empty_taglist_indexop __________________________
> 
> tag_handler = <function tag_handler.<locals>._handle at 0x7f5aa05107c0>
> 
>     def test_empty_taglist_indexop(tag_handler):
>         def tests(n):
>             with pytest.raises(KeyError):
>                 n.tags["foo"]
>             with pytest.raises(KeyError):
>                 n.tags[None]
>     
> >       tags = tag_handler("n234 x1 y2", tests)
> 
> test/test_taglist.py:64: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_taglist.py:21: in _handle
>     simple_handler(data, node=node)
> test/conftest.py:61: in _run
>     handler.apply_buffer(to_opl(data).encode('utf-8'), 'opl', locations=locations)
> test/test_taglist.py:18: in node
>     tags.update(n.tags)
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa04a3c10>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5aa04a3cb0>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> ____________________________ test_taglist_contains _____________________________
> 
> tag_handler = <function tag_handler.<locals>._handle at 0x7f5aa35f0540>
> 
>     def test_taglist_contains(tag_handler):
>         def tests(n):
>             assert "abba" in n.tags
>             assert "2" in n.tags
>             assert "xx" in n.tags
>             assert "x" not in n.tags
>             assert None not in n.tags
>             assert "" not in n.tags
>             assert str(n.tags) == '{abba=x,2=vvv,xx=abba}'
>             assert repr(n.tags) == "osmium.osm.TagList({'abba': 'x', '2': 'vvv', 'xx': 'abba'})"
>     
> >       tags = tag_handler("n234 Tabba=x,2=vvv,xx=abba", tests)
> 
> test/test_taglist.py:96: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_taglist.py:21: in _handle
>     simple_handler(data, node=node)
> test/conftest.py:61: in _run
>     handler.apply_buffer(to_opl(data).encode('utf-8'), 'opl', locations=locations)
> test/test_taglist.py:18: in node
>     tags.update(n.tags)
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa35e80d0>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5aa35e8030>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> _____________________________ test_taglist_indexop _____________________________
> 
> tag_handler = <function tag_handler.<locals>._handle at 0x7f5aa35c1120>
> 
>     def test_taglist_indexop(tag_handler):
>         def tests(n):
>             assert "x" == n.tags.get("abba")
>             assert "vvv" == n.tags.get("2", None)
>             assert "abba" == n.tags.get("xx", "ff")
>             assert "43 fg" == n.tags.get("_", "43 fg")
>             assert n.tags.get("gerger4") is None
>             assert n.tags.get("ffleo", None) is None
>     
> >       tags = tag_handler("n234 Tabba=x,2=vvv,xx=abba", tests)
> 
> test/test_taglist.py:124: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_taglist.py:21: in _handle
>     simple_handler(data, node=node)
> test/conftest.py:61: in _run
>     handler.apply_buffer(to_opl(data).encode('utf-8'), 'opl', locations=locations)
> test/test_taglist.py:18: in node
>     tags.update(n.tags)
> osmium/osm/types.py:101: in __iter__
>     return TagIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.TagIterator object at 0x7f5aa04ae710>
> parent = <osmium.osm._osm.COSMNode object at 0x7f5aa04af3b0>
> 
>     def __init__(self, parent: 'cosm.TagContainerProtocol') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.tags_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:57: RuntimeError
> ______________________________ test_member_object ______________________________
> 
> test_writer = <function test_writer.<locals>._create at 0x7f5aa04d4900>
> simple_handler = <function simple_handler.<locals>._run at 0x7f5aa04d59e0>
> 
>     def test_member_object(test_writer, simple_handler):
>         rel_opl = 'r2 v0 dV c0 t i0 u Ttype=multipolygon Mw1@,w2@,w3 at inner'
>     
>         with test_writer('r0 v0 dV c0 t i0 u T Mw1@,w2@') as w:
> >           simple_handler(rel_opl,
>                            relation=lambda o: w.add_relation(O(members=[m for m in o.members
>                                                                         if m.role != 'inner'])))
> 
> test/test_writer.py:190: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/conftest.py:61: in _run
>     handler.apply_buffer(to_opl(data).encode('utf-8'), 'opl', locations=locations)
> test/test_writer.py:191: in <lambda>
>     relation=lambda o: w.add_relation(O(members=[m for m in o.members
> osmium/osm/types.py:284: in __iter__
>     return MemberIterator(self._pyosmium_data)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <osmium.osm.types.MemberIterator object at 0x7f5aa05026d0>
> parent = <osmium.osm._osm.COSMRelation object at 0x7f5acd9ae8f0>
> 
>     def __init__(self, parent: 'cosm.COSMRelation') -> None:
>         self._pyosmium_data = parent
> >       self.iterator = self._pyosmium_data.members_begin()
> E       RuntimeError: return_value_policy = move, but type is neither movable nor copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details)
> 
> osmium/osm/types.py:263: RuntimeError
> =========================== short test summary info ============================
> FAILED test/test_dangling_references.py::TestKeepTagListIterator::test_keep_reference
> FAILED test/test_dangling_references.py::TestKeepOuterRingIterator::test_keep_reference
> FAILED test/test_dangling_references.py::TestKeepOuterRing::test_keep_reference
> FAILED test/test_dangling_references.py::TestKeepInnerRingIterator::test_keep_reference
> FAILED test/test_dangling_references.py::TestKeepInnerRing::test_keep_reference
> FAILED test/test_dangling_references.py::TestKeepNode::test_keep_reference - ...
> FAILED test/test_memberlist.py::test_list_members - RuntimeError: return_valu...
> FAILED test/test_osm.py::test_node_attributes[apply_simple] - RuntimeError: r...
> FAILED test/test_osm.py::test_node_attributes[apply_with_merge] - RuntimeErro...
> FAILED test/test_osm.py::test_way_attributes[apply_simple] - RuntimeError: re...
> FAILED test/test_osm.py::test_way_attributes[apply_with_merge] - RuntimeError...
> FAILED test/test_osm.py::test_relation_attributes[apply_simple] - RuntimeErro...
> FAILED test/test_osm.py::test_relation_attributes[apply_with_merge] - Runtime...
> FAILED test/test_osm.py::test_area_from_way_attributes[apply_simple] - Runtim...
> FAILED test/test_osm.py::test_area_from_multipolygon_relation[apply_simple-multipolygon]
> FAILED test/test_osm.py::test_area_from_multipolygon_relation[apply_simple-boundary]
> FAILED test/test_osm.py::test_changest_attributes[apply_simple] - RuntimeErro...
> FAILED test/test_taglist.py::test_empty_taglist_length - RuntimeError: return...
> FAILED test/test_taglist.py::test_empty_taglist_contains - RuntimeError: retu...
> FAILED test/test_taglist.py::test_empty_taglist_get - RuntimeError: return_va...
> FAILED test/test_taglist.py::test_empty_taglist_indexop - RuntimeError: retur...
> FAILED test/test_taglist.py::test_taglist_contains - RuntimeError: return_val...
> FAILED test/test_taglist.py::test_taglist_indexop - RuntimeError: return_valu...
> FAILED test/test_writer.py::test_member_object - RuntimeError: return_value_p...
> ======================== 24 failed, 206 passed in 4.77s ========================
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyosmium/build; python3.11 -m pytest test
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/pyosmium_3.6.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lucas@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.



More information about the Pkg-grass-devel mailing list