Skip to content

Commit a988404

Browse files
marcomanganoewu63
andauthored
Updating minimum dependency requirements (#388)
* Update minimum scipy and numpy versions * Updated dependencies as per new policy * Specify just minor version * Dependencies consistent with stable docker image * test: enforcing minimum python version * missing comma * Actually updating minimum python version * Update environment.yml for windows build * Update windows-build.yml * Minor version bump --------- Co-authored-by: Ella Wu <602725+ewu63@users.noreply.github.com>
1 parent 01d5111 commit a988404

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies:
22
# build
3-
- python >=3.8
4-
- numpy >=1.16
3+
- python >=3.9
4+
- numpy >=1.21
55
- ipopt
66
- swig
77
- meson >=1.3.2
@@ -13,6 +13,6 @@ dependencies:
1313
# testing
1414
- parameterized
1515
- testflo
16-
- scipy >1.2
16+
- scipy >=1.7
1717
- mdolab-baseclasses >=1.3.1
1818
- sqlitedict >=1.6

.github/workflows/windows-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v2
1717
- uses: conda-incubator/setup-miniconda@v2
1818
with:
19-
python-version: 3.8
19+
python-version: 3.9
2020
miniforge-variant: Mambaforge
2121
channels: conda-forge,defaults
2222
channel-priority: strict

pyoptsparse/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.10.2"
1+
__version__ = "2.11.0"
22

33
from .pyOpt_history import History
44
from .pyOpt_variable import Variable

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def copy_shared_libraries():
103103
keywords="optimization",
104104
install_requires=[
105105
"sqlitedict>=1.6",
106-
"numpy>=1.16",
107-
"scipy>1.2",
106+
"numpy>=1.21",
107+
"scipy>=1.7",
108108
"mdolab-baseclasses>=1.3.1",
109109
],
110110
extras_require={
@@ -134,7 +134,7 @@ def copy_shared_libraries():
134134
package_data={
135135
"": ["*.so", "*.lib", "*.pyd", "*.pdb", "*.dylib", "assets/*", "LICENSE"],
136136
},
137-
python_requires=">=3.7",
137+
python_requires=">=3.9",
138138
entry_points={
139139
"gui_scripts": [
140140
"optview = pyoptsparse.postprocessing.OptView:main",

0 commit comments

Comments
 (0)