Created attachment 1561610 [details] Full log from Copr python-mapnik 0.1-45.20180411gitfe47aa1.fc31 fails to build with Python 3.8: + /usr/bin/python3 setup.py test running test running egg_info writing mapnik.egg-info/PKG-INFO writing dependency_links to mapnik.egg-info/dependency_links.txt writing top-level names to mapnik.egg-info/top_level.txt reading manifest file 'mapnik.egg-info/SOURCES.txt' writing manifest file 'mapnik.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-x86_64-3.8/mapnik/_mapnik.cpython-38m-x86_64-linux-gnu.so -> mapnik /builddir/build/BUILD/python-mapnik-fe47aa15eecbc6e4ce740feed982c7661041b324/test/python_tests/filter_test.py:177: SyntaxWarning: invalid escape sequence \B expr = mapnik.Expression("[name].replace('(\B)|( )','$1 ')") /builddir/build/BUILD/python-mapnik-fe47aa15eecbc6e4ce740feed982c7661041b324/test/python_tests/filter_test.py:182: SyntaxWarning: invalid escape sequence \B expr = mapnik.Expression("[name].replace('(\B)|( )','$1 ')") /builddir/build/BUILD/python-mapnik-fe47aa15eecbc6e4ce740feed982c7661041b324/test/python_tests/filter_test.py:183: SyntaxWarning: invalid escape sequence \B eq_(str(expr), "[name].replace('(\B)|( )','$1 ')") /builddir/build/BUILD/python-mapnik-fe47aa15eecbc6e4ce740feed982c7661041b324/test/python_tests/filter_test.py:191: SyntaxWarning: invalid escape sequence \B expr = mapnik.Expression("[name].replace('(\B)|( )','$1 ')") /builddir/build/BUILD/python-mapnik-fe47aa15eecbc6e4ce740feed982c7661041b324/test/python_tests/json_feature_properties_test.py:38: SyntaxWarning: invalid escape sequence \ "json": '{"type":"Feature","id":1,"geometry":null,"properties":{"name":"string with \\\ quote"}}' /builddir/build/BUILD/python-mapnik-fe47aa15eecbc6e4ce740feed982c7661041b324/test/python_tests/mapnik_test_data_test.py:58: SyntaxWarning: "is" with a literal. Did you mean "=="? if plugin is 'ogr': python_tests.agg_rasterizer_integer_overflow_test.test_that_coordinates_do_not_overflow_and_polygon_is_rendered_memory ... /var/tmp/rpm-tmp.5CPJ7v: line 37: 551 Segmentation fault (core dumped) PGHOST="$PWD" LANG="C.UTF-8" BOOST_PYTHON_LIB=boost_python38 /usr/bin/python3 setup.py test + __trap_cb + IFS=' ' + for __func in $__TRAP_ACTIONS + pgtests_stop + pg_ctl stop -D /builddir/build/BUILD/python-mapnik-fe47aa15eecbc6e4ce740feed982c7661041b324/datadir -w waiting for server to shut down.... done server stopped + __clean_trap_action pgtests_stop + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_stop = pgtests_stop + : + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_stop + __new_actions='pgtests_cleanup ' + __TRAP_ACTIONS='pgtests_cleanup ' + for __func in $__TRAP_ACTIONS + pgtests_cleanup + : + rm -r /builddir/build/BUILD/python-mapnik-fe47aa15eecbc6e4ce740feed982c7661041b324/datadir + __clean_trap_action pgtests_cleanup + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_cleanup + : + __TRAP_ACTIONS= Full log attached.
Obviously the new warnings here are a python 3.8 issue but the main problem, the crash running the tests, doesn't seem to be as it happening for me with 3.7 as well. It's inside mapnik itself rather than the python bindings, so tracking it down is going to require some effort...
As I thought the main issue here was that mapnik needed a rebuild against the new version of mapbox-variant.