Skip to content

Commit 693f9e0

Browse files
committed
build(deps): cap numpy for mypy compatibility
1 parent 8949001 commit 693f9e0

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ jobs:
3030
run: quorabust-train --help
3131
- name: Serve CLI
3232
run: quorabust-serve --help
33+
- name: Report CLI
34+
run: quorabust-report --help

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
optional labeled holdout CSVs.
88
- `GET /models` serving endpoint for safe loaded-model metadata.
99

10+
### Fixed
11+
- Capped NumPy below 2.5 so Mypy can parse dependency stubs with the configured
12+
Python target.
13+
1014
## 0.3.2
1115

1216
### Added

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ authors = [
1313
{ name = "AliSina Karimi", email = "alisinakarimi.2003@gmail.com" },
1414
]
1515
dependencies = [
16-
"numpy>=2.2.6",
16+
"numpy>=2.2.6,<2.5",
1717
"pandas>=2.0",
1818
"scikit-learn>=1.3",
1919
"xgboost>=2.0",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Runtime deps; use `pip install -e ".[dev]"` for tests and lint.
2-
numpy>=1.24
2+
numpy>=2.2.6,<2.5
33
pandas>=2.0
44
scikit-learn>=1.3
55
xgboost>=2.0

0 commit comments

Comments
 (0)