summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-12-30 18:35:34 +0000
committerGitHub <noreply@github.com>2023-12-30 18:35:34 +0000
commitb0d36bd0a420ecee3bc916c91886caca87c894e9 (patch)
tree1b8b578b9cb41e74184641d8f71af7457b51e035
parentfb6f005181445b6d3dfff29f1c61d109f213e1cb (diff)
parent06eacbfd51403666c36a7483537afc945152878b (diff)
Merge pull request #277337 from doronbehar/pkg/python-pintatomix-20240102-0025
python311Packages.pint: 0.22 -> 0.23
-rw-r--r--pkgs/development/python-modules/pint/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pint/default.nix b/pkgs/development/python-modules/pint/default.nix
index 9252a2a5fbe1..3dfe10c8d9bc 100644
--- a/pkgs/development/python-modules/pint/default.nix
+++ b/pkgs/development/python-modules/pint/default.nix
@@ -13,6 +13,7 @@
# tests
, pytestCheckHook
, pytest-subtests
+, pytest-benchmark
, numpy
, matplotlib
, uncertainties
@@ -20,7 +21,7 @@
buildPythonPackage rec {
pname = "pint";
- version = "0.22";
+ version = "0.23";
format = "pyproject";
disabled = pythonOlder "3.6";
@@ -28,7 +29,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit version;
pname = "Pint";
- hash = "sha256-LROfarvPMBbK19POwFcH/pCKxPmc9Zrt/W7mZ7emRDM=";
+ hash = "sha256-4VCbkWBtvFJSfGAKTvdP+sEv/3Boiv8g6QckCTRuybQ=";
};
nativeBuildInputs = [
@@ -43,6 +44,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-subtests
+ pytest-benchmark
numpy
matplotlib
uncertainties
@@ -53,8 +55,8 @@ buildPythonPackage rec {
'';
disabledTests = [
- # https://github.com/hgrecco/pint/issues/1825
- "test_equal_zero_nan_NP"
+ # https://github.com/hgrecco/pint/issues/1898
+ "test_load_definitions_stage_2"
];
meta = with lib; {