Skip to content

Commit 96e331b

Browse files
authored
Fix dependencies (#42)
* Add back lower bound on matplotlib-base * Add back mpas_tools lower bound * Get mypy from conda-forge * Update QA dependencies to all match
1 parent 2554bd4 commit 96e331b

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ exclude: "docs|node_modules|migrations|.git|.tox"
22
default_stages: [commit]
33
fail_fast: true
44

5+
# make sure these always match dev.yml and qa in pyproject.toml
56
repos:
67
- repo: https://github.com/pre-commit/pre-commit-hooks
78
rev: v5.0.0

conda/dev.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ dependencies:
1717
# =================
1818
- beautifulsoup4
1919
- lxml
20-
- matplotlib-base
21-
- mpas_tools
20+
- matplotlib-base >=3.8.2
21+
- mpas_tools >=0.21.0
2222
- netcdf4
2323
- numpy >=2.0,<3.0
2424
- output_viewer=1.3.3
@@ -38,16 +38,14 @@ dependencies:
3838
# =======================
3939
# Run `pre-commit autoupdate` to get the latest pinned versions of 'rev' in
4040
# `.pre-commit.config.yaml`, then update the pinned versions here.
41+
# Make sure to also update qa in pyproject.toml
4142
- black ==25.1.0
4243
- flake8 ==7.3.0
4344
- isort ==6.0.1
44-
#- mypy ==1.18.2
45+
- mypy ==1.18.2
4546
- pre-commit ==4.3.0
4647
- types-PyYAML >=6.0.0
4748
# Developer Tools
4849
# =======================
4950
- tbump=6.9.0
5051
- ipykernel
51-
# pip dependencies
52-
- pip:
53-
- mypy==1.18.2

pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@ docs = [
4141
"sphinx-multiversion",
4242
]
4343

44+
# make sure these always match dev.yml and .pre-commit-config.yaml
4445
qa = [
45-
"black==24.10.1",
46-
"flake8==7.1.1",
47-
"flake8-isort==6.1.0",
48-
"isort==5.13.2",
49-
"mypy==1.11.2",
50-
"pre-commit >=3.0.0",
46+
"black==25.1.0",
47+
"flake8==7.3.0",
48+
"flake8-isort==6.1.1",
49+
"isort==6.0.1",
50+
"mypy==1.18.2",
51+
"pre-commit==4.3.0",
5152
"types-PyYAML >=6.0.0",
5253
]
5354

0 commit comments

Comments
 (0)