mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #277337 from doronbehar/pkg/python-pint
python311Packages.pint: 0.22 -> 0.23
This commit is contained in:
commit
b0d36bd0a4
@ -13,6 +13,7 @@
|
|||||||
# tests
|
# tests
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-subtests
|
, pytest-subtests
|
||||||
|
, pytest-benchmark
|
||||||
, numpy
|
, numpy
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, uncertainties
|
, uncertainties
|
||||||
@ -20,7 +21,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pint";
|
pname = "pint";
|
||||||
version = "0.22";
|
version = "0.23";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
@ -28,7 +29,7 @@ buildPythonPackage rec {
|
|||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version;
|
inherit version;
|
||||||
pname = "Pint";
|
pname = "Pint";
|
||||||
hash = "sha256-LROfarvPMBbK19POwFcH/pCKxPmc9Zrt/W7mZ7emRDM=";
|
hash = "sha256-4VCbkWBtvFJSfGAKTvdP+sEv/3Boiv8g6QckCTRuybQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -43,6 +44,7 @@ buildPythonPackage rec {
|
|||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-subtests
|
pytest-subtests
|
||||||
|
pytest-benchmark
|
||||||
numpy
|
numpy
|
||||||
matplotlib
|
matplotlib
|
||||||
uncertainties
|
uncertainties
|
||||||
@ -53,8 +55,8 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# https://github.com/hgrecco/pint/issues/1825
|
# https://github.com/hgrecco/pint/issues/1898
|
||||||
"test_equal_zero_nan_NP"
|
"test_load_definitions_stage_2"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user