Skip to content

python3Packages.pyproj: fix build with proj 9.8.0#501915

Closed
autra wants to merge 1 commit intoNixOS:masterfrom
autra:fix_pyproj_proj_9.8.0
Closed

python3Packages.pyproj: fix build with proj 9.8.0#501915
autra wants to merge 1 commit intoNixOS:masterfrom
autra:fix_pyproj_proj_9.8.0

Conversation

@autra
Copy link
Copy Markdown
Contributor

@autra autra commented Mar 21, 2026

Things done

Fix build when proj will be update to 9.8.0 (see #498606)

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@autra autra marked this pull request as ready for review March 21, 2026 11:37
@nixpkgs-ci nixpkgs-ci bot requested review from a team and dotlambda March 21, 2026 11:37
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 6.topic: python Python is a high-level, general-purpose programming language. labels Mar 21, 2026
@autra
Copy link
Copy Markdown
Contributor Author

autra commented Mar 21, 2026

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 501915
Commit: 8888adc560f9fd2d3db152dd9214d73a88aa5bdc


x86_64-linux

❌ 24 packages failed to build:
  • python313Packages.labelbox
  • python313Packages.labelbox.dist
  • python313Packages.momepy
  • python313Packages.momepy.dist
  • python313Packages.odc-loader
  • python313Packages.odc-loader.dist
  • python313Packages.odc-stac
  • python313Packages.odc-stac.dist
  • python313Packages.opensfm
  • python313Packages.opensfm.dist
  • python313Packages.pandera
  • python313Packages.pandera.dist
  • python314Packages.labelbox
  • python314Packages.labelbox.dist
  • python314Packages.momepy
  • python314Packages.momepy.dist
  • python314Packages.odc-loader
  • python314Packages.odc-loader.dist
  • python314Packages.odc-stac
  • python314Packages.odc-stac.dist
  • python314Packages.opensfm
  • python314Packages.opensfm.dist
  • python314Packages.pandera
  • python314Packages.pandera.dist
✅ 99 packages built:
  • mapproxy
  • mapproxy.dist
  • py3dtiles (python313Packages.py3dtiles)
  • py3dtiles.dist (python313Packages.py3dtiles.dist)
  • python313Packages.basemap
  • python313Packages.basemap.dist
  • python313Packages.bsuite
  • python313Packages.bsuite.dist
  • python313Packages.cartopy
  • python313Packages.cartopy.dist
  • python313Packages.folium
  • python313Packages.folium.dist
  • python313Packages.geoarrow-pyarrow
  • python313Packages.geoarrow-pyarrow.dist
  • python313Packages.geodatasets
  • python313Packages.geodatasets.dist
  • python313Packages.geopandas
  • python313Packages.geopandas.dist
  • python313Packages.geoparquet
  • python313Packages.geoparquet.dist
  • python313Packages.inequality
  • python313Packages.inequality.dist
  • python313Packages.libpysal
  • python313Packages.libpysal.dist
  • python313Packages.lida
  • python313Packages.lida.dist
  • python313Packages.mapclassify
  • python313Packages.mapclassify.dist
  • python313Packages.morecantile
  • python313Packages.morecantile.dist
  • python313Packages.msticpy
  • python313Packages.msticpy.dist
  • python313Packages.odc-geo
  • python313Packages.odc-geo.dist
  • python313Packages.osmnx
  • python313Packages.osmnx.dist
  • python313Packages.plotnine
  • python313Packages.plotnine.dist
  • python313Packages.pyproj
  • python313Packages.pyproj.dist
  • python313Packages.rio-tiler
  • python313Packages.rio-tiler.dist
  • python313Packages.rioxarray
  • python313Packages.rioxarray.dist
  • python313Packages.shimmy
  • python313Packages.shimmy.dist
  • python313Packages.streamlit-folium
  • python313Packages.streamlit-folium.dist
  • python313Packages.vmas
  • python313Packages.vmas.dist
  • python313Packages.wktutils
  • python313Packages.wktutils.dist
  • python314Packages.basemap
  • python314Packages.basemap.dist
  • python314Packages.bsuite
  • python314Packages.bsuite.dist
  • python314Packages.cartopy
  • python314Packages.cartopy.dist
  • python314Packages.folium
  • python314Packages.folium.dist
  • python314Packages.geoarrow-pyarrow
  • python314Packages.geoarrow-pyarrow.dist
  • python314Packages.geodatasets
  • python314Packages.geodatasets.dist
  • python314Packages.geopandas
  • python314Packages.geopandas.dist
  • python314Packages.geoparquet
  • python314Packages.geoparquet.dist
  • python314Packages.inequality
  • python314Packages.inequality.dist
  • python314Packages.libpysal
  • python314Packages.libpysal.dist
  • python314Packages.lida
  • python314Packages.lida.dist
  • python314Packages.mapclassify
  • python314Packages.mapclassify.dist
  • python314Packages.morecantile
  • python314Packages.morecantile.dist
  • python314Packages.msticpy
  • python314Packages.msticpy.dist
  • python314Packages.odc-geo
  • python314Packages.odc-geo.dist
  • python314Packages.osmnx
  • python314Packages.osmnx.dist
  • python314Packages.plotnine
  • python314Packages.plotnine.dist
  • python314Packages.py3dtiles
  • python314Packages.py3dtiles.dist
  • python314Packages.pyproj
  • python314Packages.pyproj.dist
  • python314Packages.rio-tiler
  • python314Packages.rio-tiler.dist
  • python314Packages.rioxarray
  • python314Packages.rioxarray.dist
  • python314Packages.streamlit-folium
  • python314Packages.streamlit-folium.dist
  • python314Packages.wktutils
  • python314Packages.wktutils.dist
  • supercell-wx

Error logs: `x86_64-linux`
python313Packages.labelbox
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing pypaBuildPhase
Creating a wheel...
pypa build flags: --no-isolation --outdir dist/ --wheel
* Getting build dependencies for wheel...
* Building wheel...
Successfully built labelbox-7.3.0-py3-none-any.whl
Finished creating a wheel...
/build/source/libs/labelbox/dist /build/source/libs/labelbox
Unpacking to: unpacked/labelbox-7.3.0...OK
Repacking wheel as ./labelbox-7.3.0-py3-none-any.whl...OK
/build/source/libs/labelbox
Finished executing pypaBuildPhase
Running phase: pythonRuntimeDepsCheckHook
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for labelbox-7.3.0-py3-none-any.whl
  - pyyaml not installed
python313Packages.momepy
configfile: pyproject.toml
collecting ... 
collecting 0 items                                                             
collected 254 items / 1 error                                                  

==================================== ERRORS ====================================
_______________ ERROR collecting momepy/tests/test_continuity.py _______________
ImportError while importing test module '/build/source/momepy/tests/test_continuity.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/pzdalg368npikvpq4ncz2saxnz19v53k-python3-3.13.12/lib/python3.13/importlib/init.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
momepy/tests/test_continuity.py:2: in <module>
import neatnet
E ModuleNotFoundError: No module named 'neatnet'
=========================== short test summary info ============================
ERROR momepy/tests/test_continuity.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 2.02s ===============================

python313Packages.odc-loader
            if proxy_auth_hdr in headers:
                tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
                # Proxy-Authorization should not be sent to origin
                # server.
                del headers[proxy_auth_hdr]
            h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
    try:
        try:
            h.request(req.get_method(), req.selector, req.data, headers,
                      encode_chunked=req.has_header(&#x27;Transfer-encoding&#x27;))
        except OSError as err: # timeout error

> raise URLError(err)
E urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

/nix/store/pzdalg368npikvpq4ncz2saxnz19v53k-python3-3.13.12/lib/python3.13/urllib/request.py:1322: URLError
=========================== short test summary info ============================
ERROR src/odc/loader/test_memreader.py::test_memreader_aux[None] - urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name ...
ERROR src/odc/loader/test_memreader.py::test_memreader_aux[chunks1] - urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name ...
================= 130 passed, 2 deselected, 2 errors in 2.64s ==================

python313Packages.opensfm
>       m.capture_time.value = np.random.rand(1)
        ^^^^^^^^^^^^^^^^^^^^
E       TypeError: (): incompatible function arguments. The following argument types are supported:
E           1. (arg0: opensfm.pymap.ShotMeasurementDouble, arg1: typing.SupportsFloat) -> None
E       
E       Invoked with: <opensfm.pymap.ShotMeasurementDouble object at 0x7fff4d213370>, array([ 0.12615444])

opensfm/test/test_datastructures.py:359: TypeError
=========================== short test summary info ============================
FAILED opensfm/test/test_datastructures.py::test_camera_iterators - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_shot_measurement_setter_and_getter - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_shot_measurement_set - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_add_shot_from_shot_correct_value - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_shot_metadata_different - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_shot_metadata_assign_equal - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_add_pano_shot_from_shot_correct_value - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_many_observations_delete - TypeError: only 0-dimensional arrays can be converted to Python scalars
FAILED opensfm/test/test_datastructures.py::test_clean_landmarks_with_min_observations - TypeError: only 0-dimensional arrays can be converted to Python scalars
FAILED opensfm/test/test_datastructures.py::test_rec_deepcopy - TypeError: (): incompatible function arguments. The following argument type...
================ 10 failed, 239 passed, 2 deselected in 50.62s =================

python313Packages.pandera
tests/strategies/test_strategies.py: 60 warnings
  /build/source/pandera/strategies/pandas_strategies.py:759: HypothesisWarning: bool(from_dtype(dtype('int64'), allow_nan=False, allow_infinity=False)) is always True, did you mean to draw a value?
    if strategy:

tests/strategies/test_strategies.py: 840 warnings
/build/source/tests/strategies/test_strategies.py:759: FutureWarning: The behavior of DataFrame.sum with axis=None is deprecated, in a future version this will reduce over both axes and return a scalar. To retain the old behavior, pass axis=0 (or do not pass axis)
assert example.isna().sum(axis=None).item() >= 0

tests/strategies/test_strategies.py: 767 warnings
/build/source/tests/strategies/test_strategies.py:900: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.
return pandas_obj.applymap(lambda x: min_val <= x <= max_val)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_parses_correctly[frictionless_schema0] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_parses_correctly[frictionless_schema1] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_primary_key[frictionless_schema0] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_primary_key[frictionless_schema1] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_with_description_and_title[frictionless_schema0] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
= 5 failed, 4088 passed, 4 skipped, 22 deselected, 29 xfailed, 8402 warnings in 288.25s (0:04:48) =

python314Packages.momepy
configfile: pyproject.toml
collecting ... 
collecting 0 items                                                             
collected 254 items / 1 error                                                  

==================================== ERRORS ====================================
_______________ ERROR collecting momepy/tests/test_continuity.py _______________
ImportError while importing test module '/build/source/momepy/tests/test_continuity.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/qr0wqh2damb6asnyz4jkx61id5yg3qh2-python3-3.14.3/lib/python3.14/importlib/init.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
momepy/tests/test_continuity.py:2: in <module>
import neatnet
E ModuleNotFoundError: No module named 'neatnet'
=========================== short test summary info ============================
ERROR momepy/tests/test_continuity.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.77s ===============================

python314Packages.odc-loader
            if proxy_auth_hdr in headers:
                tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
                # Proxy-Authorization should not be sent to origin
                # server.
                del headers[proxy_auth_hdr]
            h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
    try:
        try:
            h.request(req.get_method(), req.selector, req.data, headers,
                      encode_chunked=req.has_header(&#x27;Transfer-encoding&#x27;))
        except OSError as err: # timeout error

> raise URLError(err)
E urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

/nix/store/qr0wqh2damb6asnyz4jkx61id5yg3qh2-python3-3.14.3/lib/python3.14/urllib/request.py:1324: URLError
=========================== short test summary info ============================
ERROR src/odc/loader/test_memreader.py::test_memreader_aux[None] - urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name ...
ERROR src/odc/loader/test_memreader.py::test_memreader_aux[chunks1] - urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name ...
================= 130 passed, 2 deselected, 2 errors in 2.34s ==================

python314Packages.opensfm
    
        # The reconstruction has ref count = 2
        count = sys.getrefcount(rec)
>       assert count == 2
E       assert 1 == 2

opensfm/test/test_types.py:264: AssertionError
=========================== short test summary info ============================
FAILED opensfm/test/test_datastructures.py::test_camera_iterators - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_shot_measurement_setter_and_getter - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_shot_measurement_set - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_add_shot_from_shot_correct_value - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_shot_metadata_different - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_shot_metadata_assign_equal - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_add_pano_shot_from_shot_correct_value - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_datastructures.py::test_many_observations_delete - TypeError: only 0-dimensional arrays can be converted to Python scalars
FAILED opensfm/test/test_datastructures.py::test_clean_landmarks_with_min_observations - TypeError: only 0-dimensional arrays can be converted to Python scalars
FAILED opensfm/test/test_datastructures.py::test_rec_deepcopy - TypeError: (): incompatible function arguments. The following argument type...
FAILED opensfm/test/test_types.py::test_shot_view_ref_count - assert 1 == 2
================ 11 failed, 238 passed, 2 deselected in 44.83s =================

python314Packages.pandera
tests/strategies/test_strategies.py: 60 warnings
  /build/source/pandera/strategies/pandas_strategies.py:759: HypothesisWarning: bool(from_dtype(dtype('int64'), allow_nan=False, allow_infinity=False)) is always True, did you mean to draw a value?
    if strategy:

tests/strategies/test_strategies.py: 840 warnings
/build/source/tests/strategies/test_strategies.py:759: FutureWarning: The behavior of DataFrame.sum with axis=None is deprecated, in a future version this will reduce over both axes and return a scalar. To retain the old behavior, pass axis=0 (or do not pass axis)
assert example.isna().sum(axis=None).item() >= 0

tests/strategies/test_strategies.py: 767 warnings
/build/source/tests/strategies/test_strategies.py:900: FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.
return pandas_obj.applymap(lambda x: min_val <= x <= max_val)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_parses_correctly[frictionless_schema0] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_parses_correctly[frictionless_schema1] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_primary_key[frictionless_schema0] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_primary_key[frictionless_schema1] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
FAILED tests/io/test_pandas_io.py::test_frictionless_schema_with_description_and_title[frictionless_schema0] - ImportError: Frictionless schema parsing requires 'frictionless' to be installed. Please install 'frictionless' to use this feature.
= 5 failed, 4088 passed, 4 skipped, 22 deselected, 29 xfailed, 8400 warnings in 326.80s (0:05:26) =

@autra
Copy link
Copy Markdown
Contributor Author

autra commented Mar 21, 2026

All these failed packages are also failing on master.

@dotlambda
Copy link
Copy Markdown
Member

included in #498606

@dotlambda dotlambda closed this Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants