Unverified Commit 29bf2ad3 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

python3.pkgs.pint: 0.24.4 -> 0.25.2 (#460297)

parents 6a0ba0cc b28642d7
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
@@ -5,8 +5,8 @@
  pythonOlder,

  # build-system
  setuptools,
  setuptools-scm,
  hatchling,
  hatch-vcs,

  # dependencies
  flexcache,
@@ -21,11 +21,12 @@
  numpy,
  matplotlib,
  uncertainties,
  writableTmpDirAsHomeHook,
}:

buildPythonPackage rec {
  pname = "pint";
  version = "0.24.4";
  version = "0.25.2";
  pyproject = true;

  disabled = pythonOlder "3.9";
@@ -34,12 +35,12 @@ buildPythonPackage rec {
    owner = "hgrecco";
    repo = "pint";
    tag = version;
    hash = "sha256-Pr+BRLj6BjEDwKJ24qxmfiJswpgQJDumAx3rT6tQHSY=";
    hash = "sha256-Ushg7e920TTW7AYXg5C076Bl/yWPLO+H8I3Ytlc7OKc=";
  };

  build-system = [
    setuptools
    setuptools-scm
    hatchling
    hatch-vcs
  ];

  dependencies = [
@@ -60,14 +61,11 @@ buildPythonPackage rec {
    pytest-subtests
    pytest-benchmark
    matplotlib
    writableTmpDirAsHomeHook
  ];

  pytestFlags = [ "--benchmark-disable" ];

  preCheck = ''
    export HOME=$(mktemp -d)
  '';

  meta = {
    changelog = "https://github.com/hgrecco/pint/blob/${version}/CHANGES";
    description = "Physical quantities module";