Skip to content

Commit

Permalink
remove numpy<2 reqiurement
Browse files Browse the repository at this point in the history
pytables claims they support numpy2 but neglected to update their
pyproject.toml
  • Loading branch information
kjmeagher committed Aug 14, 2024
1 parent c2241af commit b4a664f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
cache-dependency-path: pyproject.toml
- name: Install SimWeights
run: |
python3 -m pip install flit 'numpy<2'
python3 -m pip install flit
python3 -m flit install --symlink --deps=production --extras=test
if [ "$RUNNER_OS" == "Linux" ]; then
python3 -m pip install nuflux
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ repos:
- id: prettier
files: \.ya?ml$
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.13.0
rev: v2.14.0
hooks:
- id: pretty-format-toml
args: [--autofix]
- repo: https://github.com/fsfe/reuse-tool
rev: v3.1.0a1
rev: v4.0.3
hooks:
- id: reuse
- repo: https://github.com/codespell-project/codespell
Expand All @@ -30,21 +30,21 @@ repos:
- id: blacken-docs
args: [-l 100]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
rev: v1.11.1
hooks:
- id: mypy
files: simweights
additional_dependencies: [numpy]
exclude: ^contrib/
- repo: https://github.com/pycqa/pylint
rev: v3.2.4
rev: v3.2.6
hooks:
- id: pylint
files: simweights
exclude: ^contrib/
additional_dependencies: [numpy, pandas]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
rev: v0.5.7
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand Down

0 comments on commit b4a664f

Please sign in to comment.