python312Packages.ansitable: 0.11.2 -> 0.11.3; fix build (#352659)

Changed files
+20 -25
pkgs
development
python-modules
ansitable
spatialmath-python
+6 -4
pkgs/development/python-modules/ansitable/default.nix
···
colored,
pytestCheckHook,
numpy,
+
pandas,
}:
buildPythonPackage rec {
pname = "ansitable";
-
version = "0.11.2";
+
version = "0.11.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-MQ6VLjFDt/dEHDK8PbQsBdfzogJCm+pzyVYDbqkDOao=";
+
hash = "sha256-navayezkSSHgwOysC3fbgTQahRZjIV24JzIAQl+X5Jk=";
};
-
nativeBuildInputs = [ setuptools ];
+
build-system = [ setuptools ];
-
propagatedBuildInputs = [ colored ];
+
dependencies = [ colored ];
pythonImportsCheck = [ "ansitable" ];
nativeCheckInputs = [
pytestCheckHook
numpy
+
pandas
];
meta = with lib; {
+14 -21
pkgs/development/python-modules/spatialmath-python/default.nix
···
{
lib,
+
stdenv,
buildPythonPackage,
fetchPypi,
pythonOlder,
···
numpy,
scipy,
typing-extensions,
-
coverage,
-
flake8,
-
pytest,
-
pytest-timeout,
-
pytest-xvfb,
-
sympy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "spatialmath-python";
-
version = "1.1.11";
+
version = "1.1.13";
pyproject = true;
disabled = pythonOlder "3.7";
···
src = fetchPypi {
pname = "spatialmath_python";
inherit version;
-
hash = "sha256-9EUlDGkpV/a73XWvrbtZLK8wrR8Am5EOkv3iSf9J4rM=";
+
hash = "sha256-BhIB4VapnARkzyhps8xRWnQTAlRB8aVPDpNuN/FNezo=";
};
-
nativeBuildInputs = [
+
build-system = [
oldest-supported-numpy
setuptools
];
pythonRemoveDeps = [ "pre-commit" ];
-
propagatedBuildInputs = [
+
pythonRelaxDeps = [ "matplotlib" ];
+
+
dependencies = [
ansitable
matplotlib
numpy
···
typing-extensions
];
-
optional-dependencies = {
-
dev = [
-
coverage
-
flake8
-
pytest
-
pytest-timeout
-
pytest-xvfb
-
sympy
-
];
-
};
-
pythonImportsCheck = [ "spatialmath" ];
nativeCheckInputs = [ pytestCheckHook ];
+
+
disabledTestPaths = [
+
# tests hang
+
"tests/test_spline.py"
+
];
+
+
env.MPLBACKEND = lib.optionalString stdenv.hostPlatform.isDarwin "Agg";
meta = with lib; {
description = "Provides spatial maths capability for Python";