From 65335c51da36631d8116ad8233c724ffce1d34a5 Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Date: Fri, 22 Nov 2024 10:48:07 +0100 Subject: [PATCH] build: allow Numpy 1.X (#626) Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> --- doc/changelog/626.documentation.md | 1 + pyproject.toml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 doc/changelog/626.documentation.md diff --git a/doc/changelog/626.documentation.md b/doc/changelog/626.documentation.md new file mode 100644 index 000000000..e1dfa31f4 --- /dev/null +++ b/doc/changelog/626.documentation.md @@ -0,0 +1 @@ +build: allow Numpy 1.X \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index a8b487bd3..91125f195 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,8 +29,8 @@ dependencies = ["ansys-dpf-core>=0.7.2", "ansys-tools-path>=0.6.0", "ansys-platform-instancemanagement~=1.0", "pyvista>=0.43.4", - "hollerith==0.4.1", - "numpy>=2.0.0", + "hollerith>=0.4.1", + "numpy>=1", "pandas>=2.0", "appdirs>=1.4.4" ] @@ -38,6 +38,7 @@ dependencies = ["ansys-dpf-core>=0.7.2", [project.optional-dependencies] tests = [ "matplotlib==3.9.2", + "hollerith==0.5.2", "numpy==2.1.3", "pytest==8.3.3", "pytest-cov==6.0.0",