Skip to content

Commit

Permalink
Merge pull request #67 from csdms/mdpiper/drop-3.9
Browse files Browse the repository at this point in the history
Drop Python 3.9
  • Loading branch information
mdpiper authored Mar 27, 2024
2 parents 6efb041 + a4a076e commit e20e998
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
nox -s test --python ${{ matrix.python-version }}
- name: Test BMI
if: ${{ matrix.python-version == '3.9' }} # stuck at py39 pending pymt update
if: ${{ matrix.python-version == '3.12' }}
run: |
nox -s test-bmi --python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: topography
channels:
- conda-forge
dependencies:
- python >=3.9
- python >=3.10
- pip
- requests
- numpy
Expand Down
10 changes: 5 additions & 5 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
HERE = pathlib.Path(__file__)
ROOT = HERE.parent
PATHS = [PACKAGE, "docs", "examples", "tests", HERE.name]
PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12"]
PYTHON_VERSIONS = ["3.10", "3.11", "3.12"]


@nox.session(python=PYTHON_VERSIONS)
Expand All @@ -36,15 +36,15 @@ def test(session: nox.Session) -> None:
@nox.session(name="test-bmi", python=PYTHON_VERSIONS, venv_backend="conda")
def test_bmi(session: nox.Session) -> None:
"""Test the Basic Model Interface."""
session.conda_install("bmi-tester", "pymt>=1.3")
session.install("bmi-tester>=0.5.9")
session.install(".")
session.run(
"bmi-test",
"bmi_topography:BmiTopography",
f"{PACKAGE}:BmiTopography",
"--config-file",
"./examples/config.yaml",
f"{ROOT}/examples/config.yaml",
"--root-dir",
"./examples",
"examples",
"-vvv",
)

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ keywords = [
license = {text = "MIT License"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -37,7 +36,7 @@ classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"requests",
"numpy",
Expand Down

0 comments on commit e20e998

Please sign in to comment.