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
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,30 @@ jobs:
run: |
python -m pytest -c .github/workflows/pytest.ini mhkit/tests/${{ matrix.module }}/

windows-wheel-check:
# Verifies each mhkit extras group can be installed on Windows from prebuilt wheels alone,
# which is intented to mimic a user without windows MSVC compilers installed
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
module:
[wave, tidal, river, dolfyn, power, loads, mooring, acoustics, utils, all]
python-version: ['3.13']

steps:
- uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Check ${{ matrix.module }} extra installs from wheels only on Windows
run: |
python -m pip install --upgrade pip
pip download --dest wheelhouse --only-binary=:all: --no-binary mhkit ".[${{ matrix.module }}]"

notebook-matrix:
runs-on: ubuntu-latest
needs:
Expand Down
7 changes: 1 addition & 6 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,4 @@ dependencies:
- matplotlib>=3.9.1
- fatpack
- cartopy
# rex is installed from PyPI (NLR-rex), not conda-forge. The conda-forge
# `nrel-rex` is frozen at 0.2.84, which predates the s3:// fsspec support
# needed to read the wave hindcast .h5 files directly from S3. The [hsds] extra
# pulls the HSDS client dependencies the hindcast reads use.
- pip:
- NLR-rex[hsds]>=0.5.0
- NREL-rex
2 changes: 1 addition & 1 deletion mhkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

configure_warnings()

__version__ = "v1.1.1"
__version__ = "v1.1.2"

__copyright__ = """
Copyright 2019, Alliance for Energy Innovation, LLC under the terms of
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ wave = [
"scikit-learn>=1.5.1",
"statsmodels>=0.14.2",
"pytz",
"NLR-rex[hsds]>=0.5.0",
"NREL-rex",
"beautifulsoup4",
"bottleneck",
"lxml",
Expand Down