Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

657 investigate numpy 200 support #660

Open
wants to merge 49 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
6546e08
update numpy version
veenstrajelmer Jul 4, 2024
2e58bad
deleted poetry.lock
veenstrajelmer Jul 4, 2024
102136c
update numpy version
veenstrajelmer Jul 4, 2024
dbbe8e1
dropped py3.8 support to let poetry resolve properly
veenstrajelmer Jul 4, 2024
a0aeccf
numpy 1.25 for all python versions
veenstrajelmer Jul 4, 2024
5337eec
resolved conflicts
veenstrajelmer Oct 10, 2024
24edfba
loosen netcdf4 requirements
veenstrajelmer Oct 10, 2024
8ce20f9
removed poetry.lock
veenstrajelmer Oct 10, 2024
3b18c31
updated dpendency versions
veenstrajelmer Oct 10, 2024
f9d21b0
numpy 2 test
veenstrajelmer Oct 10, 2024
0776a84
lowered numpy and updated lockfile
veenstrajelmer Oct 10, 2024
e9bb086
simplified version specifications
veenstrajelmer Oct 10, 2024
453124e
updated deps
veenstrajelmer Oct 10, 2024
21802be
poetry lock without 3.8
veenstrajelmer Oct 10, 2024
ed8c86c
dropped python 3.8 support to please poetry
veenstrajelmer Oct 10, 2024
3ccfe76
dropped python 3.8 support to please poetry
veenstrajelmer Oct 10, 2024
ced944c
renable python 3.8 to test
veenstrajelmer Oct 10, 2024
df4a842
revert
veenstrajelmer Oct 10, 2024
23f7e88
python 3.8 again
veenstrajelmer Oct 10, 2024
d1e8e74
update poetry lock
veenstrajelmer Oct 10, 2024
1ee6628
extra tests
veenstrajelmer Oct 11, 2024
d6e00c1
updated poetry action
veenstrajelmer Oct 11, 2024
9dc7ae3
updated ci to avoid deprecation warnings node.js
veenstrajelmer Oct 11, 2024
428d747
updated ci to avoid deprecation warnings node.js
veenstrajelmer Oct 11, 2024
467df1d
specify pandas version
veenstrajelmer Oct 11, 2024
3e0b9d6
test with numpy>2 for py3.12
veenstrajelmer Oct 11, 2024
9dc31dc
numpy 2 support
veenstrajelmer Oct 11, 2024
81c6006
numpy 2 support
veenstrajelmer Oct 11, 2024
74f462d
numpy 2 support
veenstrajelmer Oct 11, 2024
a19a623
list env contents
veenstrajelmer Oct 11, 2024
d2e6b8b
list env contents
veenstrajelmer Oct 11, 2024
da47f5f
list env contents
veenstrajelmer Oct 11, 2024
b113fa1
remove snake from poetry.lock to facilitate poetry show on github
veenstrajelmer Oct 11, 2024
15ad030
omit poetry config
veenstrajelmer Oct 11, 2024
dc01edb
revert github actions poetry v2 to see if warnings dissolve
veenstrajelmer Oct 11, 2024
0c9616b
netcdf4_classic instead
veenstrajelmer Oct 11, 2024
51aa6f5
netcdf4_classic instead
veenstrajelmer Oct 11, 2024
c59ae1d
revert
veenstrajelmer Oct 11, 2024
57579bc
temporary higher numpy for py 3.12
veenstrajelmer Oct 11, 2024
af44d58
temporary higher numpy for py 3.12
veenstrajelmer Oct 11, 2024
48c9b33
revert
veenstrajelmer Oct 11, 2024
626f064
updated comment
veenstrajelmer Oct 11, 2024
44ab76e
released pytest restriction to avoid warnings
veenstrajelmer Oct 11, 2024
e5996f6
released pytest restriction to avoid warnings
veenstrajelmer Oct 11, 2024
360d890
temporarily removed deps
veenstrajelmer Oct 11, 2024
e4269ae
temporarily removed deps
veenstrajelmer Oct 11, 2024
b2449b4
temporarily removed deps
veenstrajelmer Oct 11, 2024
469d189
reverted
veenstrajelmer Oct 11, 2024
a4bbea0
reverted
veenstrajelmer Oct 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.12"]
python-version: ["3.8", "3.9", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.8.2
poetry-version: 1.8.3
- name: Cache Poetry virtualenv
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: ~/.virtualenvs
Expand All @@ -40,11 +40,16 @@ jobs:
run: poetry install
if: steps.cache.outputs.cache-hit != 'true'

- name: list env contents
run: |
poetry show
pip list

- name: Test with pytest
run: poetry run pytest --cov . --cov-report xml:coverage-reports/coverage-hydrolib-core.xml --junitxml=xunit-reports/xunit-result-hydrolib-core.xml

- name: Autoformat code if the check fails
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python-version == 3.8) }}
if: ${{ (matrix.os == 'ubuntu-latest') && (matrix.python-version == 3.12) }}
run: |
poetry run isort .
poetry run black .
Expand Down
Loading
Loading