Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0: three issues with new version #1663

Closed
kloczek opened this issue Dec 12, 2022 · 3 comments
Closed

2.0.0: three issues with new version #1663

kloczek opened this issue Dec 12, 2022 · 3 comments

Comments

@kloczek
Copy link

kloczek commented Dec 12, 2022

Steps to reproduce the problem.

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

  • python3 -sBm build -w --no-isolation
  • because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
  • install .whl file in </install/prefix>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

Here is list of installed modules in build env

Package                       Version
----------------------------- -----------------
alabaster                     0.7.12
appdirs                       1.4.4
asn1crypto                    1.5.1
attrs                         22.1.0
Babel                         2.11.0
bcrypt                        3.2.2
Brlapi                        0.8.3
build                         0.9.0
cffi                          1.15.1
charset-normalizer            3.0.1
contourpy                     1.0.6
cryptography                  38.0.4
cssselect                     1.1.0
cycler                        0.11.0
Cython                        0.29.32
distro                        1.8.0
dnspython                     2.2.1
docutils                      0.19
exceptiongroup                1.0.0
extras                        1.0.0
fixtures                      4.0.0
fonttools                     4.38.0
gpg                           1.18.0-unknown
idna                          3.4
imagesize                     1.4.1
importlib-metadata            5.1.0
iniconfig                     1.1.1
Jinja2                        3.1.2
kiwisolver                    1.4.4
libcomps                      0.1.19
louis                         3.24.0
lxml                          4.9.1
MarkupSafe                    2.1.1
matplotlib                    3.6.2
numpy                         1.23.1
numpydoc                      1.5.0
olefile                       0.46
packaging                     21.3
pbr                           5.9.0
pep517                        0.13.0
Pillow                        9.3.0
pip                           22.3.1
pluggy                        1.0.0
ply                           3.11
pyasn1                        0.4.8
pyasn1-modules                0.2.8
pycparser                     2.21
Pygments                      2.13.0
PyGObject                     3.42.2
pyparsing                     3.0.9
pytest                        7.2.0
python-dateutil               2.8.2
pytz                          2022.4
PyYAML                        6.0
requests                      2.28.1
rpm                           4.17.0
scour                         0.38.2
setuptools                    65.6.3
six                           1.16.0
snowballstemmer               2.2.0
Sphinx                        5.3.0
sphinx-remove-toctrees        0.0.3
sphinxcontrib-applehelp       1.0.2.dev20221204
sphinxcontrib-devhelp         1.0.2.dev20221204
sphinxcontrib-htmlhelp        2.0.0
sphinxcontrib-jsmath          1.0.1.dev20221204
sphinxcontrib-qthelp          1.0.3.dev20221204
sphinxcontrib-serializinghtml 1.1.5
testtools                     2.5.0
tomli                         2.0.1
tpm2-pkcs11-tools             1.33.7
tpm2-pytss                    1.1.0
urllib3                       1.26.12
wheel                         0.38.4
zipp                          3.11.0

Operating system

Linx x86/64

Shapely version and provenance

2.0.0

@kloczek
Copy link
Author

kloczek commented Dec 12, 2022

List of issues:

  • it is not longer possible to "test as installed" with scenario which I've described
    Previousely it was possible to execute pytest -ra and pytest was able to locate all necessty resources in projest root tree or in $PYTHONPAT.
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
ImportError while loading conftest '/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/tests/conftest.py'.
tests/__init__.py:12: in <module>
    from shapely.geos import geos_version_string
shapely/__init__.py:1: in <module>
    from .lib import GEOSException  # NOQA
E   ModuleNotFoundError: No module named 'shapely.lib'

As woraround can be used pytest --pyargs shapely

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --pyargs shapely
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.16, pytest-7.2.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0, configfile: setup.cfg
collected 3209 items

tests/test_constructive.py ......................................................................................................................................... [  4%]
.................................................................................................................................................................... [  9%]
...........s..................................................................................................................................                       [ 13%]
tests/test_coordinates.py ....................................................................................................................................       [ 17%]
tests/test_creation.py ...............................................................................................................                               [ 21%]
tests/test_creation_indices.py ..................................................................................................................................... [ 25%]
.............                                                                                                                                                        [ 25%]
tests/test_geometry.py ............................................................................................................................................. [ 30%]
....................................................................................................                                                                 [ 33%]
tests/test_io.py ............................s........s........s........s.....................s..s..........s....................................................... [ 38%]
................s......                                                                                                                                              [ 38%]
tests/test_linear.py ...............................................s.........                                                                                       [ 40%]
tests/test_measurement.py ............................................................................                                                               [ 42%]
tests/test_misc.py ......................                                                                                                                            [ 43%]
tests/test_plotting.py ......                                                                                                                                        [ 43%]
tests/test_predicates.py ........................................................................................................................................... [ 48%]
.................................................................................................................................................................... [ 53%]
.................................................................................................................................................                    [ 57%]
tests/test_ragged_array.py ....................................                                                                                                      [ 58%]
tests/test_set_operations.py ....................................ssssssss........................................................................................... [ 63%]
...................................................ss........................................................................                                        [ 66%]
tests/test_strtree.py ...............................................................................................x....................X...X..................... [ 71%]
.................................................................................................................................................................... [ 76%]
.................................................................................................................................................................... [ 81%]
...................................................ssssss.............................................................................................XXX....XXXXXXX [ 86%]
XX....XXXXXXXX................................................................................................................                                       [ 90%]
tests/test_testing.py ...................................................................................................                                            [ 93%]
tests/geometry/test_collection.py .........                                                                                                                          [ 93%]
tests/geometry/test_coords.py ........                                                                                                                               [ 94%]
tests/geometry/test_emptiness.py ....................                                                                                                                [ 94%]
tests/geometry/test_format.py ...                                                                                                                                    [ 94%]
tests/geometry/test_geometry_base.py .........................................................................                                                       [ 97%]
tests/geometry/test_hash.py .....                                                                                                                                    [ 97%]
tests/geometry/test_linestring.py ....................                                                                                                               [ 98%]
tests/geometry/test_multilinestring.py ......                                                                                                                        [ 98%]
tests/geometry/test_multipoint.py .......                                                                                                                            [ 98%]
tests/geometry/test_multipolygon.py ....                                                                                                                             [ 98%]
tests/geometry/test_point.py ..............                                                                                                                          [ 98%]
tests/geometry/test_polygon.py .................................                                                                                                     [100%]

========================================================================= short test summary info ==========================================================================
SKIPPED [1] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_constructive.py:348: GEOS < 3.12
SKIPPED [4] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_io.py:241: Linearrings are not preserved in WKB
SKIPPED [1] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_io.py:336: MULTIPOINT (EMPTY, 2 3) gives ValueError on GEOS < 3.9
SKIPPED [1] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_io.py:359: MULTIPOINT (EMPTY, 2 3) gives Exception on GEOS < 3.9
SKIPPED [1] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_io.py:465: GEOS < 3.10.0
SKIPPED [1] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_io.py:719: Linearrings are not preserved in GeoJSON
SKIPPED [1] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_linear.py:152: GEOS >= 3.11.0
SKIPPED [8] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_set_operations.py:55: GEOS >= 3.9
SKIPPED [2] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_set_operations.py:176: GEOS >= 3.9
SKIPPED [6] ../../BUILDROOT/python-shapely-2.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages/shapely/tests/test_strtree.py:1359: GEOS >= 3.10
XFAIL tests/test_strtree.py::test_query_predicate_errors[intersects] - intersects does not raise exception
XPASS tests/test_strtree.py::test_query_intersects_points[geometry12-expected12] GEOS 3.5
XPASS tests/test_strtree.py::test_query_intersects_points[geometry16-expected16] GEOS 3.5
XPASS tests/test_strtree.py::test_nearest_points_equidistant[geometry0-expected0] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_points_equidistant[geometry1-expected1] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_points_equidistant[geometry2-expected2] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_lines_equidistant[geometry0-expected0] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_lines_equidistant[geometry1-expected1] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_lines_equidistant[geometry2-expected2] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_lines_equidistant[geometry3-expected3] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_lines_equidistant[geometry4-expected4] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_lines_equidistant[geometry5-expected5] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_lines_equidistant[geometry6-expected6] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_lines_equidistant[geometry7-expected7] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_lines_equidistant[geometry8-expected8] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_polygons_equidistant[geometry0-expected0] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_polygons_equidistant[geometry1-expected1] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_polygons_equidistant[geometry2-expected2] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_polygons_equidistant[geometry3-expected3] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_polygons_equidistant[geometry4-expected4] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_polygons_equidistant[geometry5-expected5] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_polygons_equidistant[geometry6-expected6] equidistant geometries may produce nondeterministic results
XPASS tests/test_strtree.py::test_nearest_polygons_equidistant[geometry7-expected7] equidistant geometries may produce nondeterministic results
========================================================= 3160 passed, 26 skipped, 1 xfailed, 22 xpassed in 7.32s ==========================================================

Looks like it would be good to add --pyargs to default pytest settiongs

  • compile time warnings
```console + /usr/bin/python3 -sBm build -w --no-isolation * Getting build dependencies for wheel... Compiling shapely/_geometry_helpers.pyx because it changed. Compiling shapely/_geos.pyx because it changed. [1/2] Cythonizing shapely/_geometry_helpers.pyx [2/2] Cythonizing shapely/_geos.pyx /usr/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) running egg_info creating shapely.egg-info writing shapely.egg-info/PKG-INFO writing dependency_links to shapely.egg-info/dependency_links.txt writing requirements to shapely.egg-info/requires.txt writing top-level names to shapely.egg-info/top_level.txt writing manifest file 'shapely.egg-info/SOURCES.txt' reading manifest file 'shapely.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs' warning: no previously-included files found matching '*.txt' warning: no files found matching '*.py' under directory 'shapely/examples' adding license file 'LICENSE.txt' writing manifest file 'shapely.egg-info/SOURCES.txt' * Building wheel... /usr/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-38 creating build/lib.linux-x86_64-cpython-38/shapely copying shapely/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/_geometry.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/_ragged_array.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/_version.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/affinity.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/constructive.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/coordinates.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/coords.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/creation.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/decorators.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/enum.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/errors.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/geos.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/io.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/linear.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/measurement.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/ops.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/plotting.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/predicates.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/prepared.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/set_operations.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/speedups.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/strtree.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/testing.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/validation.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/wkb.py -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/wkt.py -> build/lib.linux-x86_64-cpython-38/shapely creating build/lib.linux-x86_64-cpython-38/shapely/algorithms copying shapely/algorithms/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/algorithms copying shapely/algorithms/cga.py -> build/lib.linux-x86_64-cpython-38/shapely/algorithms copying shapely/algorithms/polylabel.py -> build/lib.linux-x86_64-cpython-38/shapely/algorithms creating build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/base.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/collection.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/conftest.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/geo.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/linestring.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/multilinestring.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/multipoint.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/multipolygon.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/point.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry copying shapely/geometry/polygon.py -> build/lib.linux-x86_64-cpython-38/shapely/geometry creating build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/common.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_constructive.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_coordinates.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_creation.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_creation_indices.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_geometry.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_io.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_linear.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_measurement.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_misc.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_plotting.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_predicates.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_ragged_array.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_set_operations.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_strtree.py -> build/lib.linux-x86_64-cpython-38/shapely/tests copying shapely/tests/test_testing.py -> build/lib.linux-x86_64-cpython-38/shapely/tests creating build/lib.linux-x86_64-cpython-38/shapely/vectorized copying shapely/vectorized/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/vectorized creating build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/__init__.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_collection.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_coords.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_emptiness.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_format.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_geometry_base.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_hash.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_linestring.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_multi.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_multilinestring.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_multipoint.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_multipolygon.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_point.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/tests/geometry/test_polygon.py -> build/lib.linux-x86_64-cpython-38/shapely/tests/geometry copying shapely/_geos.pxd -> build/lib.linux-x86_64-cpython-38/shapely copying shapely/_pygeos_api.pxd -> build/lib.linux-x86_64-cpython-38/shapely UPDATING build/lib.linux-x86_64-cpython-38/shapely/_version.py set build/lib.linux-x86_64-cpython-38/shapely/_version.py to '2.0.0' running build_ext building 'shapely.lib' extension creating build/temp.linux-x86_64-cpython-38 creating build/temp.linux-x86_64-cpython-38/src /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/c_api.c -o build/temp.linux-x86_64-cpython-38/src/c_api.o /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/coords.c -o build/temp.linux-x86_64-cpython-38/src/coords.o /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/geos.c -o build/temp.linux-x86_64-cpython-38/src/geos.o /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/lib.c -o build/temp.linux-x86_64-cpython-38/src/lib.o /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/pygeom.c -o build/temp.linux-x86_64-cpython-38/src/pygeom.o /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/strtree.c -o build/temp.linux-x86_64-cpython-38/src/strtree.o In file included from src/strtree.c:18: src/strtree.c: In function ‘query_nearest_distance_callback’: src/kvec.h:61:25: warning: value computed is not used [-Wunused-value] 61 | #define kv_pop(v) ((v).a[--(v).n]) | ~~~~~~^~~~~~~~~~ src/strtree.c:557:7: note: in expansion of macro ‘kv_pop’ 557 | kv_pop(*(params->dist_pairs)); | ^~~~~~ /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/ufuncs.c -o build/temp.linux-x86_64-cpython-38/src/ufuncs.o src/ufuncs.c:212:47: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 212 | static PyUFuncGenericFunction Y_b_funcs[1] = {&Y_b_func}; | ^ src/ufuncs.c:212:47: note: (near initialization for ‘Y_b_funcs[0]’) src/ufuncs.c:250:47: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 250 | static PyUFuncGenericFunction O_b_funcs[1] = {&O_b_func}; | ^ src/ufuncs.c:250:47: note: (near initialization for ‘O_b_funcs[0]’) src/ufuncs.c:295:48: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 295 | static PyUFuncGenericFunction YY_b_funcs[1] = {&YY_b_func}; | ^ src/ufuncs.c:295:48: note: (near initialization for ‘YY_b_funcs[0]’) src/ufuncs.c:380:50: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 380 | static PyUFuncGenericFunction YY_b_p_funcs[1] = {&YY_b_p_func}; | ^ src/ufuncs.c:380:50: note: (near initialization for ‘YY_b_p_funcs[0]’) src/ufuncs.c: In function ‘Ydd_b_p_func’: src/ufuncs.c:446:23: warning: passing argument 2 of ‘func’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 446 | ret = func(ctx, prepared_geom_tmp, geom); | ^~~~~~~~~~~~~~~~~ src/ufuncs.c:446:23: note: expected ‘void *’ but argument is of type ‘const GEOSPreparedGeometry *’ {aka ‘const struct GEOSPrepGeom_t *’} src/ufuncs.c: At top level: src/ufuncs.c:466:51: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 466 | static PyUFuncGenericFunction Ydd_b_p_funcs[1] = {&Ydd_b_p_func}; | ^ src/ufuncs.c:466:51: note: (near initialization for ‘Ydd_b_p_funcs[0]’) src/ufuncs.c:491:55: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 491 | static PyUFuncGenericFunction is_prepared_funcs[1] = {&is_prepared_func}; | ^ src/ufuncs.c:491:55: note: (near initialization for ‘is_prepared_funcs[0]’) src/ufuncs.c:617:47: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 617 | static PyUFuncGenericFunction Y_Y_funcs[1] = {&Y_Y_func}; | ^ src/ufuncs.c:617:47: note: (near initialization for ‘Y_Y_funcs[0]’) src/ufuncs.c:670:45: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 670 | static PyUFuncGenericFunction Y_funcs[1] = {&Y_func}; | ^ src/ufuncs.c:670:45: note: (near initialization for ‘Y_funcs[0]’) src/ufuncs.c:765:48: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 765 | static PyUFuncGenericFunction Yd_Y_funcs[1] = {&Yd_Y_func}; | ^ src/ufuncs.c:765:48: note: (near initialization for ‘Yd_Y_funcs[0]’) src/ufuncs.c:906:48: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 906 | static PyUFuncGenericFunction Yi_Y_funcs[1] = {&Yi_Y_func}; | ^ src/ufuncs.c:906:48: note: (near initialization for ‘Yi_Y_funcs[0]’) src/ufuncs.c:963:48: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 963 | static PyUFuncGenericFunction YY_Y_funcs[1] = {&YY_Y_func}; | ^ src/ufuncs.c:963:48: note: (near initialization for ‘YY_Y_funcs[0]’) src/ufuncs.c:1031:54: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1031 | static PyUFuncGenericFunction Y_Y_reduce_funcs[1] = {&Y_Y_reduce_func}; | ^ src/ufuncs.c:1031:54: note: (near initialization for ‘Y_Y_reduce_funcs[0]’) src/ufuncs.c:1139:47: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1139 | static PyUFuncGenericFunction Y_d_funcs[1] = {&Y_d_func}; | ^ src/ufuncs.c:1139:47: note: (near initialization for ‘Y_d_funcs[0]’) src/ufuncs.c: In function ‘Y_i_func’: src/ufuncs.c:1192:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1192 | int errcode = (int)((int**)data)[1]; | ^ src/ufuncs.c:1193:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1193 | int none_value = (int)((int**)data)[2]; | ^ src/ufuncs.c: At top level: src/ufuncs.c:1228:47: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1228 | static PyUFuncGenericFunction Y_i_funcs[1] = {&Y_i_func}; | ^ src/ufuncs.c:1228:47: note: (near initialization for ‘Y_i_funcs[0]’) src/ufuncs.c:1325:48: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1325 | static PyUFuncGenericFunction YY_d_funcs[1] = {&YY_d_func}; | ^ src/ufuncs.c:1325:48: note: (near initialization for ‘YY_d_funcs[0]’) src/ufuncs.c:1370:49: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1370 | static PyUFuncGenericFunction YYd_d_funcs[1] = {&YYd_d_func}; | ^ src/ufuncs.c:1370:49: note: (near initialization for ‘YYd_d_funcs[0]’) src/ufuncs.c:1428:49: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1428 | static PyUFuncGenericFunction YYd_Y_funcs[1] = {&YYd_Y_func}; | ^ src/ufuncs.c:1428:49: note: (near initialization for ‘YYd_Y_funcs[0]’) src/ufuncs.c:1478:47: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1478 | static PyUFuncGenericFunction box_funcs[1] = {&box_func}; | ^ src/ufuncs.c:1478:47: note: (near initialization for ‘box_funcs[0]’) src/ufuncs.c:1574:50: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1574 | static PyUFuncGenericFunction buffer_funcs[1] = {&buffer_func}; | ^ src/ufuncs.c:1574:50: note: (near initialization for ‘buffer_funcs[0]’) src/ufuncs.c:1641:56: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1641 | static PyUFuncGenericFunction offset_curve_funcs[1] = {&offset_curve_func}; | ^ src/ufuncs.c:1641:56: note: (near initialization for ‘offset_curve_funcs[0]’) src/ufuncs.c:1691:48: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1691 | static PyUFuncGenericFunction snap_funcs[1] = {&snap_func}; | ^ src/ufuncs.c:1691:48: note: (near initialization for ‘snap_funcs[0]’) src/ufuncs.c:1752:56: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1752 | static PyUFuncGenericFunction concave_hull_funcs[1] = {&concave_hull_func}; | ^ src/ufuncs.c:1752:56: note: (near initialization for ‘concave_hull_funcs[0]’) src/ufuncs.c:1820:56: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1820 | static PyUFuncGenericFunction clip_by_rect_funcs[1] = {&clip_by_rect_func}; | ^ src/ufuncs.c:1820:56: note: (near initialization for ‘clip_by_rect_funcs[0]’) src/ufuncs.c:1862:56: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1862 | static PyUFuncGenericFunction equals_exact_funcs[1] = {&equals_exact_func}; | ^ src/ufuncs.c:1862:56: note: (near initialization for ‘equals_exact_funcs[0]’) src/ufuncs.c:1914:51: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1914 | static PyUFuncGenericFunction dwithin_funcs[1] = {&dwithin_func}; | ^ src/ufuncs.c:1914:51: note: (near initialization for ‘dwithin_funcs[0]’) src/ufuncs.c:1967:62: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 1967 | static PyUFuncGenericFunction delaunay_triangles_funcs[1] = {&delaunay_triangles_func}; | ^ src/ufuncs.c:1967:62: note: (near initialization for ‘delaunay_triangles_funcs[0]’) src/ufuncs.c:2020:60: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2020 | static PyUFuncGenericFunction voronoi_polygons_funcs[1] = {&voronoi_polygons_func}; | ^ src/ufuncs.c:2020:60: note: (near initialization for ‘voronoi_polygons_funcs[0]’) src/ufuncs.c:2062:59: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2062 | static PyUFuncGenericFunction is_valid_reason_funcs[1] = {&is_valid_reason_func}; | ^ src/ufuncs.c:2062:59: note: (near initialization for ‘is_valid_reason_funcs[0]’) src/ufuncs.c:2107:50: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2107 | static PyUFuncGenericFunction relate_funcs[1] = {&relate_func}; | ^ src/ufuncs.c:2107:50: note: (near initialization for ‘relate_funcs[0]’) src/ufuncs.c:2171:58: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2171 | static PyUFuncGenericFunction relate_pattern_funcs[1] = {&relate_pattern_func}; | ^ src/ufuncs.c:2171:58: note: (near initialization for ‘relate_pattern_funcs[0]’) src/ufuncs.c: In function ‘polygonize_func’: src/ufuncs.c:2205:51: warning: passing argument 2 of ‘GEOSPolygonize_r’ from incompatible pointer type [-Wincompatible-pointer-types] 2205 | GEOSGeometry* ret_ptr = GEOSPolygonize_r(ctx, geoms, n_geoms); | ^~~~~ | | | GEOSGeometry ** {aka struct GEOSGeom_t **} In file included from src/geos.h:15, from src/ufuncs.c:16: /usr/include/geos_c.h:926:31: note: expected ‘const GEOSGeometry * const*’ {aka ‘const struct GEOSGeom_t * const*’} but argument is of type ‘GEOSGeometry **’ {aka ‘struct GEOSGeom_t **’} 926 | const GEOSGeometry *const geoms[], | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ src/ufuncs.c: At top level: src/ufuncs.c:2219:54: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2219 | static PyUFuncGenericFunction polygonize_funcs[1] = {&polygonize_func}; | ^ src/ufuncs.c:2219:54: note: (near initialization for ‘polygonize_funcs[0]’) src/ufuncs.c:2300:59: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2300 | static PyUFuncGenericFunction polygonize_full_funcs[1] = {&polygonize_full_func}; | ^ src/ufuncs.c:2300:59: note: (near initialization for ‘polygonize_full_funcs[0]’) src/ufuncs.c:2377:57: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2377 | static PyUFuncGenericFunction shortest_line_funcs[1] = {&shortest_line_func}; | ^ src/ufuncs.c:2377:57: note: (near initialization for ‘shortest_line_funcs[0]’) src/ufuncs.c:2449:57: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2449 | static PyUFuncGenericFunction set_precision_funcs[1] = {&set_precision_func}; | ^ src/ufuncs.c:2449:57: note: (near initialization for ‘set_precision_funcs[0]’) src/ufuncs.c:2511:50: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2511 | static PyUFuncGenericFunction points_funcs[1] = {&points_func}; | ^ src/ufuncs.c:2511:50: note: (near initialization for ‘points_funcs[0]’) In file included from src/ufuncs.c:15: src/ufuncs.c: In function ‘linestrings_func’: src/fast_loop_macros.h:83:21: warning: unused variable ‘i_c2’ [-Wunused-variable] 83 | npy_intp i, i_c1, i_c2; \ | ^~~~ src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2533 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/fast_loop_macros.h:83:15: warning: unused variable ‘i_c1’ [-Wunused-variable] 83 | npy_intp i, i_c1, i_c2; \ | ^~~~ src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2533 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/fast_loop_macros.h:80:47: warning: unused variable ‘cp2’ [-Wunused-variable] 80 | char *ip1 = args[0], *op1 = args[1], *cp1, *cp2; \ | ^~~ src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2533 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/fast_loop_macros.h:80:41: warning: unused variable ‘cp1’ [-Wunused-variable] 80 | char *ip1 = args[0], *op1 = args[1], *cp1, *cp2; \ | ^~~ src/ufuncs.c:2533:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2533 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/ufuncs.c: At top level: src/ufuncs.c:2564:55: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2564 | static PyUFuncGenericFunction linestrings_funcs[1] = {&linestrings_func}; | ^ src/ufuncs.c:2564:55: note: (near initialization for ‘linestrings_funcs[0]’) src/ufuncs.c: In function ‘linearrings_func’: src/fast_loop_macros.h:83:15: warning: unused variable ‘i_c1’ [-Wunused-variable] 83 | npy_intp i, i_c1, i_c2; \ | ^~~~ src/ufuncs.c:2588:3: note: in expansion of macro ‘DOUBLE_COREDIM_LOOP_OUTER’ 2588 | DOUBLE_COREDIM_LOOP_OUTER { | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/ufuncs.c: At top level: src/ufuncs.c:2641:55: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2641 | static PyUFuncGenericFunction linearrings_funcs[1] = {&linearrings_func}; | ^ src/ufuncs.c:2641:55: note: (near initialization for ‘linearrings_funcs[0]’) src/ufuncs.c:2758:52: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2758 | static PyUFuncGenericFunction polygons_funcs[1] = {&polygons_func}; | ^ src/ufuncs.c:2758:52: note: (near initialization for ‘polygons_funcs[0]’) src/ufuncs.c:2867:61: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 2867 | static PyUFuncGenericFunction create_collection_funcs[1] = {&create_collection_func}; | ^ src/ufuncs.c:2867:61: note: (near initialization for ‘create_collection_funcs[0]’) src/ufuncs.c: In function ‘bounds_func’: src/ufuncs.c:2874:7: warning: unused variable ‘size’ [-Wunused-variable] 2874 | int size; | ^~~~ src/ufuncs.c:2873:28: warning: unused variable ‘coord_seq’ [-Wunused-variable] 2873 | const GEOSCoordSequence* coord_seq; | ^~~~~~~~~ src/ufuncs.c:2872:23: warning: unused variable ‘ring’ [-Wunused-variable] 2872 | const GEOSGeometry* ring; | ^~~~ src/ufuncs.c: At top level: src/ufuncs.c:3000:50: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 3000 | static PyUFuncGenericFunction bounds_funcs[1] = {&bounds_func}; | ^ src/ufuncs.c:3000:50: note: (near initialization for ‘bounds_funcs[0]’) src/ufuncs.c:3097:52: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 3097 | static PyUFuncGenericFunction from_wkb_funcs[1] = {&from_wkb_func}; | ^ src/ufuncs.c:3097:52: note: (near initialization for ‘from_wkb_funcs[0]’) src/ufuncs.c:3178:52: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 3178 | static PyUFuncGenericFunction from_wkt_funcs[1] = {&from_wkt_func}; | ^ src/ufuncs.c:3178:52: note: (near initialization for ‘from_wkt_funcs[0]’) src/ufuncs.c:3292:50: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 3292 | static PyUFuncGenericFunction to_wkb_funcs[1] = {&to_wkb_func}; | ^ src/ufuncs.c:3292:50: note: (near initialization for ‘to_wkb_funcs[0]’) src/ufuncs.c:3380:50: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 3380 | static PyUFuncGenericFunction to_wkt_funcs[1] = {&to_wkt_func}; | ^ src/ufuncs.c:3380:50: note: (near initialization for ‘to_wkt_funcs[0]’) src/ufuncs.c:3464:56: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 3464 | static PyUFuncGenericFunction from_geojson_funcs[1] = {&from_geojson_func}; | ^ src/ufuncs.c:3464:56: note: (near initialization for ‘from_geojson_funcs[0]’) src/ufuncs.c:3535:54: warning: initialization of ‘void (*)(char **, const npy_intp *, const npy_intp *, void *)’ {aka ‘void (*)(char **, const long int *, const long int *, void *)’} from incompatible pointer type ‘void (*)(char **, npy_intp *, npy_intp *, void *)’ {aka ‘void (*)(char **, long int *, long int *, void *)’} [-Wincompatible-pointer-types] 3535 | static PyUFuncGenericFunction to_geojson_funcs[1] = {&to_geojson_func}; | ^ src/ufuncs.c:3535:54: note: (near initialization for ‘to_geojson_funcs[0]’) /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c src/vector.c -o build/temp.linux-x86_64-cpython-38/src/vector.o /usr/bin/gcc -shared -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none build/temp.linux-x86_64-cpython-38/src/c_api.o build/temp.linux-x86_64-cpython-38/src/coords.o build/temp.linux-x86_64-cpython-38/src/geos.o build/temp.linux-x86_64-cpython-38/src/lib.o build/temp.linux-x86_64-cpython-38/src/pygeom.o build/temp.linux-x86_64-cpython-38/src/strtree.o build/temp.linux-x86_64-cpython-38/src/ufuncs.o build/temp.linux-x86_64-cpython-38/src/vector.o -L/usr/lib64 -L/usr/lib64 -lgeos_c -o build/lib.linux-x86_64-cpython-38/shapely/lib.cpython-38-x86_64-linux-gnu.so building 'shapely._geometry_helpers' extension creating build/temp.linux-x86_64-cpython-38/shapely /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -DGEOS_USE_ONLY_R_API -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c shapely/_geometry_helpers.c -o build/temp.linux-x86_64-cpython-38/shapely/_geometry_helpers.o In file included from /usr/lib64/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948, from /usr/lib64/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:5, from shapely/_geometry_helpers.c:780: /usr/lib64/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ /usr/bin/gcc -shared -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none build/temp.linux-x86_64-cpython-38/shapely/_geometry_helpers.o -L/usr/lib64 -L/usr/lib64 -lgeos_c -o build/lib.linux-x86_64-cpython-38/shapely/_geometry_helpers.cpython-38-x86_64-linux-gnu.so building 'shapely._geos' extension /usr/bin/gcc -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -D_GNU_SOURCE -fPIC -fwrapv -ffat-lto-objects -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -DGEOS_USE_ONLY_R_API -I./src -I/usr/include -I/usr/include/python3.8 -I/usr/lib64/python3.8/site-packages/numpy/core/include -c shapely/_geos.c -o build/temp.linux-x86_64-cpython-38/shapely/_geos.o /usr/bin/gcc -shared -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--build-id=sha1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none build/temp.linux-x86_64-cpython-38/shapely/_geos.o -L/usr/lib64 -L/usr/lib64 -lgeos_c -o build/lib.linux-x86_64-cpython-38/shapely/_geos.cpython-38-x86_64-linux-gnu.so installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/__init__.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/_geometry.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/_ragged_array.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/affinity.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/constructive.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/coordinates.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/coords.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/creation.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/decorators.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/enum.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/errors.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/geos.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/io.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/linear.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/measurement.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/ops.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/plotting.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/predicates.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/prepared.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/set_operations.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/speedups.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/strtree.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/testing.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/validation.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/wkb.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/wkt.py -> build/bdist.linux-x86_64/wheel/shapely creating build/bdist.linux-x86_64/wheel/shapely/algorithms copying build/lib.linux-x86_64-cpython-38/shapely/algorithms/__init__.py -> build/bdist.linux-x86_64/wheel/shapely/algorithms copying build/lib.linux-x86_64-cpython-38/shapely/algorithms/cga.py -> build/bdist.linux-x86_64/wheel/shapely/algorithms copying build/lib.linux-x86_64-cpython-38/shapely/algorithms/polylabel.py -> build/bdist.linux-x86_64/wheel/shapely/algorithms creating build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/__init__.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/base.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/collection.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/conftest.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/geo.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/linestring.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/multilinestring.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/multipoint.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/multipolygon.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/point.py -> build/bdist.linux-x86_64/wheel/shapely/geometry copying build/lib.linux-x86_64-cpython-38/shapely/geometry/polygon.py -> build/bdist.linux-x86_64/wheel/shapely/geometry creating build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/__init__.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/common.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_constructive.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_coordinates.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_creation.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_creation_indices.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_geometry.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_io.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_linear.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_measurement.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_misc.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_plotting.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_predicates.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_ragged_array.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_set_operations.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_strtree.py -> build/bdist.linux-x86_64/wheel/shapely/tests copying build/lib.linux-x86_64-cpython-38/shapely/tests/test_testing.py -> build/bdist.linux-x86_64/wheel/shapely/tests creating build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/__init__.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_collection.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_coords.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_emptiness.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_format.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_geometry_base.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_hash.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_linestring.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_multi.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_multilinestring.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_multipoint.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_multipolygon.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_point.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry copying build/lib.linux-x86_64-cpython-38/shapely/tests/geometry/test_polygon.py -> build/bdist.linux-x86_64/wheel/shapely/tests/geometry creating build/bdist.linux-x86_64/wheel/shapely/vectorized copying build/lib.linux-x86_64-cpython-38/shapely/vectorized/__init__.py -> build/bdist.linux-x86_64/wheel/shapely/vectorized copying build/lib.linux-x86_64-cpython-38/shapely/_geos.pxd -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/_pygeos_api.pxd -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/_version.py -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/lib.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/_geometry_helpers.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/shapely copying build/lib.linux-x86_64-cpython-38/shapely/_geos.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/shapely running install_egg_info running egg_info writing shapely.egg-info/PKG-INFO writing dependency_links to shapely.egg-info/dependency_links.txt writing requirements to shapely.egg-info/requires.txt writing top-level names to shapely.egg-info/top_level.txt reading manifest file 'shapely.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.py' under directory 'shapely/examples' adding license file 'LICENSE.txt' writing manifest file 'shapely.egg-info/SOURCES.txt' Copying shapely.egg-info to build/bdist.linux-x86_64/wheel/shapely-2.0.0-py3.8.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/shapely-2.0.0.dist-info/WHEEL creating '/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/dist/.tmp-2j67ub09/shapely-2.0.0-cp38-cp38-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'shapely/__init__.py' adding 'shapely/_geometry.py' adding 'shapely/_geometry_helpers.cpython-38-x86_64-linux-gnu.so' adding 'shapely/_geos.cpython-38-x86_64-linux-gnu.so' adding 'shapely/_geos.pxd' adding 'shapely/_pygeos_api.pxd' adding 'shapely/_ragged_array.py' adding 'shapely/_version.py' adding 'shapely/affinity.py' adding 'shapely/constructive.py' adding 'shapely/coordinates.py' adding 'shapely/coords.py' adding 'shapely/creation.py' adding 'shapely/decorators.py' adding 'shapely/enum.py' adding 'shapely/errors.py' adding 'shapely/geos.py' adding 'shapely/io.py' adding 'shapely/lib.cpython-38-x86_64-linux-gnu.so' adding 'shapely/linear.py' adding 'shapely/measurement.py' adding 'shapely/ops.py' adding 'shapely/plotting.py' adding 'shapely/predicates.py' adding 'shapely/prepared.py' adding 'shapely/set_operations.py' adding 'shapely/speedups.py' adding 'shapely/strtree.py' adding 'shapely/testing.py' adding 'shapely/validation.py' adding 'shapely/wkb.py' adding 'shapely/wkt.py' adding 'shapely/algorithms/__init__.py' adding 'shapely/algorithms/cga.py' adding 'shapely/algorithms/polylabel.py' adding 'shapely/geometry/__init__.py' adding 'shapely/geometry/base.py' adding 'shapely/geometry/collection.py' adding 'shapely/geometry/conftest.py' adding 'shapely/geometry/geo.py' adding 'shapely/geometry/linestring.py' adding 'shapely/geometry/multilinestring.py' adding 'shapely/geometry/multipoint.py' adding 'shapely/geometry/multipolygon.py' adding 'shapely/geometry/point.py' adding 'shapely/geometry/polygon.py' adding 'shapely/tests/__init__.py' adding 'shapely/tests/common.py' adding 'shapely/tests/test_constructive.py' adding 'shapely/tests/test_coordinates.py' adding 'shapely/tests/test_creation.py' adding 'shapely/tests/test_creation_indices.py' adding 'shapely/tests/test_geometry.py' adding 'shapely/tests/test_io.py' adding 'shapely/tests/test_linear.py' adding 'shapely/tests/test_measurement.py' adding 'shapely/tests/test_misc.py' adding 'shapely/tests/test_plotting.py' adding 'shapely/tests/test_predicates.py' adding 'shapely/tests/test_ragged_array.py' adding 'shapely/tests/test_set_operations.py' adding 'shapely/tests/test_strtree.py' adding 'shapely/tests/test_testing.py' adding 'shapely/tests/geometry/__init__.py' adding 'shapely/tests/geometry/test_collection.py' adding 'shapely/tests/geometry/test_coords.py' adding 'shapely/tests/geometry/test_emptiness.py' adding 'shapely/tests/geometry/test_format.py' adding 'shapely/tests/geometry/test_geometry_base.py' adding 'shapely/tests/geometry/test_hash.py' adding 'shapely/tests/geometry/test_linestring.py' adding 'shapely/tests/geometry/test_multi.py' adding 'shapely/tests/geometry/test_multilinestring.py' adding 'shapely/tests/geometry/test_multipoint.py' adding 'shapely/tests/geometry/test_multipolygon.py' adding 'shapely/tests/geometry/test_point.py' adding 'shapely/tests/geometry/test_polygon.py' adding 'shapely/vectorized/__init__.py' adding 'shapely-2.0.0.dist-info/LICENSE.txt' adding 'shapely-2.0.0.dist-info/METADATA' adding 'shapely-2.0.0.dist-info/WHEEL' adding 'shapely-2.0.0.dist-info/top_level.txt' adding 'shapely-2.0.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built shapely-2.0.0-cp38-cp38-linux_x86_64.whl ```
  • sphinx warnings
    On building my packages I'm using sphinx-build command with -n switch which shows warmings about missing references. These are not critical issues.
    Here is the output with warnings:
$ PYTHONPATH=$PWD/build/$(cd build; ls -1d lib*)  /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v5.3.0
making output directory... done
loading intersphinx inventory from https://numpy.org/doc/stable/objects.inv...
[autosummary] generating autosummary for: _reference.rst, constructive.rst, coordinates.rst, creation.rst, design.rst, geometry.rst, index.rst, installation.rst, io.rst, linear.rst, ..., migration.rst, migration_pygeos.rst, predicates.rst, properties.rst, release.rst, release/1.x.rst, release/2.x.rst, set_operations.rst, strtree.rst, testing.rst
[autosummary] generating autosummary for: /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.BufferCapStyle.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.BufferJoinStyle.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.GeometryCollection.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.GeometryType.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.LineString.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.LinearRing.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.MultiLineString.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.MultiPoint.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.MultiPolygon.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.Point.rst, ..., /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.to_wkb.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.to_wkt.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.total_bounds.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.touches.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.transform.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.unary_union.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.union.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.union_all.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.voronoi_polygons.rst, /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/reference/shapely.within.rst
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 158 added, 0 changed, 0 removed
reading sources... [100%] testing
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/constructive.rst:11: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/coordinates.rst:11: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/creation.rst:11: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/io.rst:11: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/linear.rst:11: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/measurement.rst:11: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/predicates.rst:11: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/properties.rst:11: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/build/lib.linux-x86_64-cpython-38/shapely/constructive.py:docstring of shapely.constructive.BufferCapStyle:1: WARNING: duplicate object description of shapely.BufferCapStyle, other instance in manual, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/build/lib.linux-x86_64-cpython-38/shapely/constructive.py:docstring of shapely.constructive.BufferJoinStyle:1: WARNING: duplicate object description of shapely.BufferJoinStyle, other instance in manual, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/set_operations.rst:11: WARNING: Definition list ends without a blank line; unexpected unindent.
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/design.rst: WARNING: document isn't included in any toctree
done
writing... python-shapely.3 { installation manual migration migration_pygeos release release/2.x release/1.x geometry reference/shapely.Point reference/shapely.LineString reference/shapely.LinearRing reference/shapely.Polygon reference/shapely.MultiPoint reference/shapely.MultiLineString reference/shapely.MultiPolygon reference/shapely.GeometryCollection properties creation io measurement predicates set_operations constructive linear coordinates strtree testing } /home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:36: WARNING: py:mod reference target not found: ctypes
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:857: WARNING: py:meth reference target not found: project
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:857: WARNING: py:meth reference target not found: interpolate
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:967: WARNING: py:mod reference target not found: operator
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:967: WARNING: py:func reference target not found: attrgetter
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:967: WARNING: py:func reference target not found: filter
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:967: WARNING: py:func reference target not found: itertools.ifilter
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1110: WARNING: py:meth reference target not found: within
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1184: WARNING: py:meth reference target not found: intersects
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1220: WARNING: py:meth reference target not found: contains
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1222: WARNING: py:meth reference target not found: within
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1240: WARNING: py:meth reference target not found: within
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1273: WARNING: py:meth reference target not found: relate
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1282: WARNING: py:meth reference target not found: contains
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1282: WARNING: py:meth reference target not found: relate
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1309: WARNING: py:meth reference target not found: relate_pattern
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1357: WARNING: py:attr reference target not found: is_empty
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1412: WARNING: py:meth reference target not found: buffer
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1439: WARNING: py:meth reference target not found: symmetric_difference
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1486: WARNING: py:meth reference target not found: union
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1618: WARNING: py:meth reference target not found: buffer
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:1799: WARNING: py:mod reference target not found: shapely.affinity
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:2095: WARNING: py:mod reference target not found: shapely.ops
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:2205: WARNING: py:meth reference target not found: union
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:13: WARNING: py:meth reference target not found: buffer
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:2442: WARNING: py:mod reference target not found: shapely.ops
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:2579: WARNING: py:attr reference target not found: shapely.__version__
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:2579: WARNING: py:attr reference target not found: shapely.geos.geos_version_string
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:2579: WARNING: py:attr reference target not found: shapely.geos.geos_capi_version
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:2681: WARNING: py:attr reference target not found: wkt
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:2681: WARNING: py:attr reference target not found: wkb
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/manual.rst:2766: WARNING: py:attr reference target not found: xy
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/geometry.rst:56: WARNING: py:mod reference target not found: shapely.creation
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/geometry.rst:93: WARNING: py:func reference target not found: shapely.predicates.equals_exact
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/docs/geometry.rst:154: WARNING: 'token' reference target not found: format-spec:digit
/home/tkloczko/rpmbuild/BUILD/shapely-2.0.0/build/lib.linux-x86_64-cpython-38/shapely/strtree.py:docstring of shapely.strtree.STRtree:1: WARNING: py:class reference target not found: shapely.geometry.base.BaseGeometry
done
build succeeded, 48 warnings.

You can peak on fixes that kind of issues in other projects
latchset/jwcrypto#289
click-contrib/sphinx-click@abc31069
latchset/jwcrypto#289
RDFLib/rdflib-sqlalchemy#95
sissaschool/elementpath@bf869d9e
jaraco/cssutils#21
pywbem/pywbem#2895
sissaschool/xmlschema@42ea98f2
RDFLib/rdflib#2036
frostming/unearth#14
pypa/distlib@98b9b89f

@kloczek kloczek changed the title 2.0.0: several new issues 2.0.0: three issues with new version Dec 12, 2022
@jorisvandenbossche
Copy link
Member

@kloczek thanks for the feedback!

it is not longer possible to "test as installed" with scenario which I've described

Because shapely is a compiled package now, if you want to run tests inplace you also need to build it inplace. And since the tests are included in the installed package, you can test shapely "as installed" by running those installed test indeed with --pyargs shapely, as you mentioned.

I am not actually sure it was testing "as installed" before when using just pytest. I would assume that if you do that, it was importing shapely from that directory where you call pytest (this just happened to work as there was no compilation step needed to have the package importable).

As far as I am aware, this is a quite normal situation (at least it's the same for other packages likes numpy). I suppose it might be possible by using a src layout (https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/).

compile time warnings

Yes, we are aware that there are still a bunch of warnings. Last time I looked, I thought those could all safely be ignored, but ideally we should certainly reduce those. One related issue: #1664.

sphinx warnings

Good point. I should clearly update my sphinx version, as locally I don't see that many warnings. Thanks for the mention of -n to catch missing references.

@jorisvandenbossche
Copy link
Member

I am going to close this issue, as I don't think there is anything actionable left. The sphinx warnings have mostly been resolved (see linked PR above), for some of the warnings we have an open issue, and the test situation was explained above.

@kloczek thanks again for the feedback, and if you feel that I am missing anything for which we should keep the issue open, let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants