From 0c3cc2b73efd5ec49dd2ff38f78cb7ed579c1285 Mon Sep 17 00:00:00 2001 From: bbm Date: Thu, 26 Mar 2026 12:23:49 -0400 Subject: [PATCH 1/2] add numpy requirement --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index f7367d7..f54e72d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,6 +27,7 @@ python_requires = >=3.8 packages = find: install_requires = pyyaml>=5.4.1 + numpy>=1.26.0 include_package_data = True [options.package_data] From ab3c44ba61ff8745864b5ee89b0ef2ba3e32ea38 Mon Sep 17 00:00:00 2001 From: Brian Benjamin Maranville Date: Thu, 26 Mar 2026 13:18:16 -0400 Subject: [PATCH 2/2] Downgrade numpy requirement to version 1.19.0 ... to support back to python 3.6. We don't really need any new or fancy numpy features in orsopy. --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index f54e72d..77756e6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,10 +27,10 @@ python_requires = >=3.8 packages = find: install_requires = pyyaml>=5.4.1 - numpy>=1.26.0 + numpy>=1.19.0 include_package_data = True [options.package_data] orsopy.slddb.element_table = nabs_geant4_data/*.npz orsopy.fileio = schema/*.* -orsopy.fileio.tests = *.ort \ No newline at end of file +orsopy.fileio.tests = *.ort