Skip to content

Commit

Permalink
Pin OS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wpreimes committed Jan 8, 2025
1 parent 7fbd1c3 commit 14b19dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# and OS versions as possible (especially windows to create .whl packages,
# see step "Create wheel and dist package")
python-version: ['3.9', '3.10', '3.11', '3.12']
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
os: ["ubuntu-22.04", "windows-2022", "macos-14"]
name: py${{ matrix.python-version }}@${{ matrix.os }}
runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
elif [ "${{ runner.os }}" == "Windows" ]; then
OS="win"
fi
pip install setuptools_scm twine cibuildwheel
python setup.py sdist --dist-dir artifacts/dist_whl
export CIBW_BUILD="cp${PY}-${OS}*"
Expand Down
8 changes: 1 addition & 7 deletions src/pytesmo/interpolate/dctpls.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ class ValueRange:
max: float


exit_flags = {
1: 'OK',
2: 'less than 2 data samples',
3: 'Inner loop did not converge',
}

logger = pytesmolog
streamHandler = logging.StreamHandler(sys.stdout)
formatter = logging.Formatter(
Expand Down Expand Up @@ -359,7 +353,7 @@ def smoothn(
axis: Optional[Union[int, Tuple[int, ...]]] = None,
data_weights: Optional[np.ndarray] = None,
smoothOrder: Optional[int] = 2,
init_guess=None,
init_guess: Optional[np.ndarray] = None,
isrobust: Optional[bool] = True,
MaxIter: Optional[int] = 100,
TolZ: Annotated[float, ValueRange(0.0, 1.0)] = 0.001,
Expand Down

0 comments on commit 14b19dd

Please sign in to comment.