Skip to content

Commit

Permalink
Updating minimum dependency requirements (#388)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
marcomangano and ewu63 committed Apr 25, 2024
1 parent 01d5111 commit a988404
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/environment.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies:
# build
- python >=3.8
- numpy >=1.16
- python >=3.9
- numpy >=1.21
- ipopt
- swig
- meson >=1.3.2
Expand All @@ -13,6 +13,6 @@ dependencies:
# testing
- parameterized
- testflo
- scipy >1.2
- scipy >=1.7
- mdolab-baseclasses >=1.3.1
- sqlitedict >=1.6
2 changes: 1 addition & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyoptsparse/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.10.2"
__version__ = "2.11.0"

from .pyOpt_history import History
from .pyOpt_variable import Variable
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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={
Expand Down Expand Up @@ -134,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",
Expand Down

0 comments on commit a988404

Please sign in to comment.