Unverified Commit da4dd8ef authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

python312Packages.xarray: 2024.6.0 -> 2024.07.0 (#339923)

parents e34b70e0 0aa5a025
Loading
Loading
Loading
Loading
+11 −15
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  flaky,
  fetchFromGitHub,
  numpy,
  packaging,
  pandas,
@@ -14,40 +13,37 @@

buildPythonPackage rec {
  pname = "xarray";
  version = "2024.6.0";
  version = "2024.07.0";
  pyproject = true;

  disabled = pythonOlder "3.9";
  disabled = pythonOlder "3.10";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-C5HgvE3AKWlHlHZA/jHsboZ84ljS98vBC+30ptaDQMc=";
  src = fetchFromGitHub {
    owner = "pydata";
    repo = "xarray";
    rev = "refs/tags/v${version}";
    hash = "sha256-pt0qnkgf3E/QQHQAaZLommakhqEJ4NuTyjx5tdk2N1U=";
  };

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

  propagatedBuildInputs = [
  dependencies = [
    numpy
    packaging
    pandas
  ];

  nativeCheckInputs = [
    flaky
    pytestCheckHook
  ];

  pytestFlagsArray = [
    # ModuleNotFoundError: No module named 'xarray.datatree_'
    "--ignore xarray/tests/datatree"
  ];

  pythonImportsCheck = [ "xarray" ];

  meta = with lib; {
    changelog = "https://github.com/pydata/xarray/blob/${src.rev}/doc/whats-new.rst";
    description = "N-D labeled arrays and datasets in Python";
    homepage = "https://github.com/pydata/xarray";
    license = licenses.asl20;