Skip to content

Commit

Permalink
Pin typer and numpy version to help tests (#354)
Browse files Browse the repository at this point in the history
* Pin typer version to help tests

* Also pin numpy to get past other warnings

* Update setup.py and test Python 3.10

* Fix python version syntax

* Disable codecov upload for now
  • Loading branch information
brockfanning committed Jul 19, 2024
1 parent b03823b commit 9cff64e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ['3.7', '3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v2
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Test with pytest
run: |
python -m pytest --cov=sdg --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
#- name: Upload coverage to Codecov
# uses: codecov/codecov-action@v2
# with:
# fail_ci_if_error: true
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ Jinja2
rfc3986<2
git+https://github.com/dougmet/yamlmd
openpyxl==3.1.0
typer==0.11.0
numpy<2
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'rfc3986<2',
'pyyaml',
'gitpython',
'numpy',
'numpy<2',
'pandas>=1,<2',
'yamlmd',
'jsonschema',
Expand All @@ -38,6 +38,7 @@
'natsort',
'openpyxl==3.1.0',
'pydantic>=1,<2',
'typer==0.11.0',
],
dependency_links=[
"git+https://github.com/dougmet/yamlmd",
Expand Down

0 comments on commit 9cff64e

Please sign in to comment.