Unverified Commit 2d597968 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

python3Packages.pyproj: 3.7.1 -> 3.7.2 (#435347)

parents 14a1e9ca 34174803
Loading
Loading
Loading
Loading
+12 −21
Original line number Diff line number Diff line
@@ -8,25 +8,26 @@

  certifi,
  cython,
  mock,
  numpy,
  pandas,
  proj,
  setuptools,
  shapely,
  xarray,
}:

buildPythonPackage rec {
  pname = "pyproj";
  version = "3.7.1";
  format = "setuptools";
  disabled = pythonOlder "3.9";
  version = "3.7.2";
  pyproject = true;

  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "pyproj4";
    repo = "pyproj";
    tag = version;
    hash = "sha256-tVzifc+Y5u9Try5FHt67rj/+zaok0JNn3M8plMqX90g=";
    hash = "sha256-WV344gxcmq08sIUVevn6uD50FSy4JvLt4aret5ZakYQ=";
  };

  # force pyproj to use ${proj}
@@ -37,13 +38,16 @@ buildPythonPackage rec {
    })
  ];

  nativeBuildInputs = [ cython ];
  build-system = [
    cython
    setuptools
  ];

  buildInputs = [ proj ];

  propagatedBuildInputs = [ certifi ];
  dependencies = [ certifi ];

  nativeCheckInputs = [
    mock
    numpy
    pandas
    pytestCheckHook
@@ -57,7 +61,6 @@ buildPythonPackage rec {
  '';

  disabledTestPaths = [
    "test/test_doctest_wrapper.py"
    "test/test_datadir.py"
  ];

@@ -65,25 +68,13 @@ buildPythonPackage rec {
    # The following tests try to access network and end up with a URLError
    "test__load_grid_geojson_old_file"
    "test_get_transform_grid_list"
    "test_get_transform_grid_list__area_of_use"
    "test_get_transform_grid_list__bbox__antimeridian"
    "test_get_transform_grid_list__bbox__out_of_bounds"
    "test_get_transform_grid_list__contains"
    "test_get_transform_grid_list__file"
    "test_get_transform_grid_list__source_id"
    "test_sync__area_of_use__list"
    "test_sync__bbox__list"
    "test_sync__bbox__list__exclude_world_coverage"
    "test_sync__download_grids"
    "test_sync__file__list"
    "test_sync__source_id__list"
    "test_sync_download"
    "test_sync_download__directory"
    "test_sync_download__system_directory"
    "test_transformer_group__download_grids"

    # proj-data grid required
    "test_azimuthal_equidistant"
  ];

  pythonImportsCheck = [