Skip to content

Commit

Permalink
Merge pull request #272 from aodn/1306-fix-error-on-import
Browse files Browse the repository at this point in the history
Compliance-checker use obsoleted numpy.float, use 1.23.5 numpy fixed …
  • Loading branch information
mhidas authored Jan 10, 2023
2 parents fbd0175 + f635d63 commit 8bc59f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy
pip install -r test_requirements.txt
pip install pytest-cov
pip list
- name: Test with pytest
run: |
pytest --cov=./ --cov-report=xml
Expand Down
4 changes: 4 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
pyrsistent<0.17
jsonschema<4.0

# Compliance-checker 5.0.1 have problem with numpy.float / numpy.int
# Starting 1.24.0 numpy.float / numpy.int no longer supported and should use float / int instead.
numpy<1.24.0

0 comments on commit 8bc59f7

Please sign in to comment.