From e23034a62c99e3d1b8511e68d55f9bb444c09831 Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Tue, 27 Feb 2024 14:20:49 -0500 Subject: [PATCH 01/10] Update minimum scipy and numpy versions --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index d7860e7d..30602a18 100644 --- a/setup.py +++ b/setup.py @@ -103,8 +103,8 @@ def copy_shared_libraries(): keywords="optimization", install_requires=[ "sqlitedict>=1.6", - "numpy>=1.16", - "scipy>1.2", + "numpy>=1.21", + "scipy>=1.7", "mdolab-baseclasses>=1.3.1", ], extras_require={ From b33988f9aa9414c42a7056b91e0b445fdffa5333 Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Mon, 11 Mar 2024 10:42:46 -0400 Subject: [PATCH 02/10] Updated dependencies as per new policy --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 30602a18..6e880ae9 100644 --- a/setup.py +++ b/setup.py @@ -103,8 +103,8 @@ def copy_shared_libraries(): keywords="optimization", install_requires=[ "sqlitedict>=1.6", - "numpy>=1.21", - "scipy>=1.7", + "numpy>=1.22.4", + "scipy>=1.8.1", "mdolab-baseclasses>=1.3.1", ], extras_require={ From b78814acb408fd1ffb6d5adb5fcd1952aca64858 Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Mon, 11 Mar 2024 12:10:04 -0400 Subject: [PATCH 03/10] Specify just minor version --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6e880ae9..db863d5e 100644 --- a/setup.py +++ b/setup.py @@ -103,8 +103,8 @@ def copy_shared_libraries(): keywords="optimization", install_requires=[ "sqlitedict>=1.6", - "numpy>=1.22.4", - "scipy>=1.8.1", + "numpy>=1.22", + "scipy>=1.8", "mdolab-baseclasses>=1.3.1", ], extras_require={ From 1352c9ea63ddfe57d8cd749326fbb6daba6f28f2 Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:43:35 -0400 Subject: [PATCH 04/10] Dependencies consistent with stable docker image --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index db863d5e..30602a18 100644 --- a/setup.py +++ b/setup.py @@ -103,8 +103,8 @@ def copy_shared_libraries(): keywords="optimization", install_requires=[ "sqlitedict>=1.6", - "numpy>=1.22", - "scipy>=1.8", + "numpy>=1.21", + "scipy>=1.7", "mdolab-baseclasses>=1.3.1", ], extras_require={ From 4dc9de5a473bcd4842cebb6970e36ee73966c6ae Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:46:19 -0400 Subject: [PATCH 05/10] test: enforcing minimum python version --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 30602a18..78fdd080 100644 --- a/setup.py +++ b/setup.py @@ -101,6 +101,7 @@ def copy_shared_libraries(): long_description="pyOptSparse is a Python package for formulating and solving nonlinear constrained optimization problems", platforms=["Linux"], keywords="optimization", + python_requires=">=3.9" install_requires=[ "sqlitedict>=1.6", "numpy>=1.21", From 8bd793e5df39ecca5f17313d0ef1f202fb972016 Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:46:38 -0400 Subject: [PATCH 06/10] missing comma --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 78fdd080..b4642cdf 100644 --- a/setup.py +++ b/setup.py @@ -101,7 +101,7 @@ def copy_shared_libraries(): long_description="pyOptSparse is a Python package for formulating and solving nonlinear constrained optimization problems", platforms=["Linux"], keywords="optimization", - python_requires=">=3.9" + python_requires=">=3.9", install_requires=[ "sqlitedict>=1.6", "numpy>=1.21", From 700f78aae9e75666cc85ef03cbefd587744e6f7e Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:54:28 -0400 Subject: [PATCH 07/10] Actually updating minimum python version --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b4642cdf..646d3408 100644 --- a/setup.py +++ b/setup.py @@ -101,7 +101,6 @@ def copy_shared_libraries(): long_description="pyOptSparse is a Python package for formulating and solving nonlinear constrained optimization problems", platforms=["Linux"], keywords="optimization", - python_requires=">=3.9", install_requires=[ "sqlitedict>=1.6", "numpy>=1.21", @@ -135,7 +134,7 @@ def copy_shared_libraries(): package_data={ "": ["*.so", "*.lib", "*.pyd", "*.pdb", "*.dylib", "assets/*", "LICENSE"], }, - python_requires=">=3.7", + python_requires=">=3.9", entry_points={ "gui_scripts": [ "optview = pyoptsparse.postprocessing.OptView:main", From 6407836d01ec3c524d9318545f488fa50cc38ecc Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Mon, 25 Mar 2024 13:05:21 -0400 Subject: [PATCH 08/10] Update environment.yml for windows build --- .github/environment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/environment.yml b/.github/environment.yml index 2cac37e7..10437bc1 100644 --- a/.github/environment.yml +++ b/.github/environment.yml @@ -1,7 +1,7 @@ dependencies: # build - - python >=3.8 - - numpy >=1.16 + - python >=3.9 + - numpy >=1.21 - ipopt - swig - meson >=1.3.2 @@ -13,6 +13,6 @@ dependencies: # testing - parameterized - testflo - - scipy >1.2 + - scipy >=1.7 - mdolab-baseclasses >=1.3.1 - sqlitedict >=1.6 From 2b5763a9e5cf795114535ee0658dc4d96718edfd Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Mon, 25 Mar 2024 13:17:05 -0400 Subject: [PATCH 09/10] Update windows-build.yml --- .github/workflows/windows-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index c5123515..ecca3662 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 - uses: conda-incubator/setup-miniconda@v2 with: - python-version: 3.8 + python-version: 3.9 miniforge-variant: Mambaforge channels: conda-forge,defaults channel-priority: strict From 832d3a1d36aea8ce9cc4707d93692156cbbaf05f Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Tue, 26 Mar 2024 09:56:55 -0400 Subject: [PATCH 10/10] Minor version bump --- pyoptsparse/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyoptsparse/__init__.py b/pyoptsparse/__init__.py index aa852adb..365985b2 100644 --- a/pyoptsparse/__init__.py +++ b/pyoptsparse/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.10.2" +__version__ = "2.11.0" from .pyOpt_history import History from .pyOpt_variable import Variable