Skip to content

Commit b190e1d

Browse files
authored
Merge pull request #312 from akrherz/py314
Python 3.14
2 parents 8eab4d1 + 91e7ee2 commit b190e1d

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
PYTHON_VERSION: ["3.10", "3.11", "3.13"]
18+
PYTHON_VERSION: ["3.10", "3.13", "3.14"]
1919
env:
2020
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
2121
steps:
@@ -47,7 +47,6 @@ jobs:
4747
condarc: |
4848
channels:
4949
- conda-forge
50-
- defaults
5150
create-args: >-
5251
python=${{ env.PYTHON_VERSION }}
5352
environment-name: prod
@@ -63,7 +62,7 @@ jobs:
6362
python -m pip install . -vv --no-deps
6463
cp pywwa_settings.json-example pywwa_settings.json
6564
# This is a bit brittle, but loads some data
66-
python util/ugcs_update.py --filename=fz08mr23 --date=2023-03-08
65+
python util/ugcs_update.py --filename=fz18mr25 --date=2025-03-18
6766
python util/merge_hvtec_nwsli.py hvtec.list.20251006.csv
6867
python util/copy_iem_network.py MN_ASOS
6968
python util/copy_iem_network.py NY_COOP
@@ -117,7 +116,7 @@ jobs:
117116
pywwa-spammer --help
118117
119118
- name: Upload coverage to Codecov
120-
if: ${{ env.PYTHON_VERSION == '3.13' }}
119+
if: ${{ env.PYTHON_VERSION == '3.14' }}
121120
uses: codecov/codecov-action@v5
122121
with:
123122
file: coverage.xml

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
types: [python]
1111

1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: "v0.14.9"
13+
rev: "v0.14.10"
1414
hooks:
1515
- id: ruff
1616
args: [--fix, --exit-non-zero-on-fix]

tests/workflows/test_alaska_marine.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
"""Test alaska_marine workflow."""
22

33
import pytest
4+
from pyiem.util import utc
45

6+
import pywwa
57
from pywwa.testing import get_example_file
68
from pywwa.workflows import alaska_marine
79

810

911
@pytest.mark.parametrize("database", ["postgis"])
1012
def test_workflow(cursor):
1113
"""Test failure in the wild."""
14+
pywwa.CTX["utcnow"] = utc(2025, 1, 1, 12)
1215
alaska_marine.process_data(cursor, get_example_file("CWFAER_0.txt"))
1316
alaska_marine.process_data(cursor, get_example_file("CWFAER_1.txt"))
1417
alaska_marine.process_data(cursor, get_example_file("CWFAER_2.txt"))

0 commit comments

Comments
 (0)