Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
versions: [{python: "3.10", numpy: "1.22"}, {python: "3.11", numpy: "1.25"}, {python: "3.12", numpy: "2.1"}]
versions: [{python: "3.11", numpy: "1.25"}, {python: "3.12", numpy: "2.3"}]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
strategy:
fail-fast: false
matrix:
numpy_version: ["1.21.6", "1.25.2", "2.1.3"]
numpy_version: ["1.25.2", "2.3.5"]
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.10"
python-version: "3.11"
channels: conda-forge,defaults
channel-priority: strict
activate-environment: pyos-build
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.15.0"
__version__ = "2.15.1"

from .pyOpt_history import History
from .pyOpt_variable import Variable
Expand Down
2 changes: 1 addition & 1 deletion pyoptsparse/pyOpt_constraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def finalize(self, variables: OrderedDict, dvOffset, index: int):
dvStart.append(dvOffset[dvGroup][0])

# This sort wrt using the keys in dvOffset
self.wrt = [x for (y, x) in sorted(zip(dvStart, self.wrt))]
self.wrt = [x for (y, x) in sorted(zip(dvStart, self.wrt, strict=False))]

# Now we know which dvGroups this constraint will have a
# derivative with respect to (i.e. what is in the wrt list)
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ name = "pyoptsparse"
description = "Python package for formulating and solving nonlinear constrained optimization problems"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.9"
requires-python = ">=3.11"
dependencies = [
"packaging",
"sqlitedict>=1.6",
"numpy>=1.21",
"scipy>=1.7",
"numpy>=1.25",
"scipy>=1.11",
"mdolab-baseclasses>=1.3.1"
]
dynamic = ["version"] # version is dynamically populated from meson project
Expand Down
Loading