Skip to content

Commit db5ecfa

Browse files
committed
Merge remote-tracking branch 'upstream/main' into enable_cupy_and_jax_testing
2 parents 816dafb + 70f0f88 commit db5ecfa

File tree

94 files changed

+1769
-838
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1769
-838
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.0.1
2+
current_version = 1.0.2
33
parse = (?P<major>\d+)\.(?P<minor>\d+)(\.(?P<patch>\d+))?
44
serialize =
55
{major}.{minor}.{patch}

.github/workflows/daily-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
daily-ci:
1515
strategy:
1616
matrix:
17-
python-version: ["3.8", "3.9", "3.10"]
17+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1818
tox-module-factor: ["cartesian", "eve", "next", "storage"]
1919
os: ["ubuntu-latest"]
2020
requirements-file: ["requirements-dev.txt", "min-requirements-test.txt", "min-extra-requirements-test.txt"]

.github/workflows/test-cartesian-fallback.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ["3.8", "3.9", "3.10"]
19+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2020
backends: [internal-cpu, dace-cpu]
2121

2222
steps:

.github/workflows/test-cartesian.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
python-version: ["3.8", "3.9", "3.10"]
26+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2727
backends: [internal-cpu, dace-cpu]
2828
steps:
2929
- uses: actions/checkout@v2

.github/workflows/test-eve-fallback.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
test-eve:
1818
strategy:
1919
matrix:
20-
python-version: ["3.8", "3.9", "3.10"]
20+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2121
os: ["ubuntu-latest"]
2222

2323
runs-on: ${{ matrix.os }}

.github/workflows/test-eve.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
test-eve:
2121
strategy:
2222
matrix:
23-
python-version: ["3.8", "3.9", "3.10"]
23+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2424
os: ["ubuntu-latest"]
2525
fail-fast: false
2626

@@ -68,4 +68,3 @@ jobs:
6868
# with:
6969
# name: info-py${{ matrix.python-version }}-${{ matrix.os }}
7070
# path: info.txt
71-

.github/workflows/test-next-fallback.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
test-next:
1616
strategy:
1717
matrix:
18-
python-version: ["3.10"]
18+
python-version: ["3.10", "3.11"]
1919
tox-env-factor: ["nomesh", "atlas"]
2020
os: ["ubuntu-latest"]
2121

.github/workflows/test-next.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
test-next:
1919
strategy:
2020
matrix:
21-
python-version: ["3.10"]
21+
python-version: ["3.10", "3.11"]
2222
tox-env-factor: ["nomesh", "atlas"]
2323
os: ["ubuntu-latest"]
2424
fail-fast: false

.github/workflows/test-storage-fallback.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
test-storage:
1919
strategy:
2020
matrix:
21-
python-version: ["3.8", "3.9", "3.10"]
21+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2222
backends: [internal-cpu, dace-cpu]
2323
os: ["ubuntu-latest"]
2424

.github/workflows/test-storage.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
test-storage:
2222
strategy:
2323
matrix:
24-
python-version: ["3.8", "3.9", "3.10"]
24+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2525
backends: [internal-cpu, dace-cpu]
2626
os: ["ubuntu-latest"]
2727
fail-fast: false
@@ -70,4 +70,3 @@ jobs:
7070
# with:
7171
# name: info-py${{ matrix.python-version }}-${{ matrix.os }}
7272
# path: info.txt
73-

.pre-commit-config.yaml

+19-19
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ repos:
6262
## version = re.search('black==([0-9\.]*)', open("constraints.txt").read())[1]
6363
## print(f"rev: '{version}' # version from constraints.txt")
6464
##]]]
65-
rev: '23.9.1' # version from constraints.txt
65+
rev: '23.11.0' # version from constraints.txt
6666
##[[[end]]]
6767
hooks:
6868
- id: black
@@ -73,7 +73,7 @@ repos:
7373
## version = re.search('isort==([0-9\.]*)', open("constraints.txt").read())[1]
7474
## print(f"rev: '{version}' # version from constraints.txt")
7575
##]]]
76-
rev: '5.12.0' # version from constraints.txt
76+
rev: '5.13.0' # version from constraints.txt
7777
##[[[end]]]
7878
hooks:
7979
- id: isort
@@ -97,14 +97,14 @@ repos:
9797
## print(f"- {pkg}==" + str(re.search(f'\n{pkg}==([0-9\.]*)', constraints)[1]))
9898
##]]]
9999
- darglint==1.8.1
100-
- flake8-bugbear==23.9.16
101-
- flake8-builtins==2.1.0
100+
- flake8-bugbear==23.12.2
101+
- flake8-builtins==2.2.0
102102
- flake8-debugger==4.1.2
103103
- flake8-docstrings==1.7.0
104104
- flake8-eradicate==1.5.0
105105
- flake8-mutable==1.2.0
106106
- flake8-pyproject==1.2.3
107-
- pygments==2.16.1
107+
- pygments==2.17.2
108108
##[[[end]]]
109109
# - flake8-rst-docstrings # Disabled for now due to random false positives
110110
exclude: |
@@ -146,9 +146,9 @@ repos:
146146
## version = re.search('mypy==([0-9\.]*)', open("constraints.txt").read())[1]
147147
## print(f"#========= FROM constraints.txt: v{version} =========")
148148
##]]]
149-
#========= FROM constraints.txt: v1.5.1 =========
149+
#========= FROM constraints.txt: v1.7.1 =========
150150
##[[[end]]]
151-
rev: v1.5.1 # MUST match version ^^^^ in constraints.txt (if the mirror is up-to-date)
151+
rev: v1.7.1 # MUST match version ^^^^ in constraints.txt (if the mirror is up-to-date)
152152
hooks:
153153
- id: mypy
154154
additional_dependencies: # versions from constraints.txt
@@ -162,26 +162,26 @@ repos:
162162
##]]]
163163
- astunparse==1.6.3
164164
- attrs==23.1.0
165-
- black==23.9.1
166-
- boltons==23.0.0
165+
- black==23.11.0
166+
- boltons==23.1.1
167167
- cached-property==1.5.2
168168
- click==8.1.7
169-
- cmake==3.27.5
169+
- cmake==3.27.9
170170
- cytoolz==0.12.2
171-
- deepdiff==6.5.0
171+
- deepdiff==6.7.1
172172
- devtools==0.12.2
173-
- frozendict==2.3.8
173+
- frozendict==2.3.10
174174
- gridtools-cpp==2.3.1
175-
- importlib-resources==6.0.1
175+
- importlib-resources==6.1.1
176176
- jinja2==3.1.2
177-
- lark==1.1.7
178-
- mako==1.2.4
179-
- nanobind==1.5.2
180-
- ninja==1.11.1
177+
- lark==1.1.8
178+
- mako==1.3.0
179+
- nanobind==1.8.0
180+
- ninja==1.11.1.1
181181
- numpy==1.24.4
182-
- packaging==23.1
182+
- packaging==23.2
183183
- pybind11==2.11.1
184-
- setuptools==68.2.2
184+
- setuptools==69.0.2
185185
- tabulate==0.9.0
186186
- typing-extensions==4.5.0
187187
- xxhash==3.0.0

AUTHORS.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- Deconinck, Florian. SSAI/NASA-GSFC
1010
- Ehrengruber, Till. ETH Zurich - CSCS
1111
- Elbert, Oliver D. NOAA-GFDL
12+
- Faghih-Naini, Sara. ECMWF
1213
- Farabullini, Nicoletta. ETH Zurich - C2SM
1314
- George, Rhea. Allen Institute for AI
1415
- González Paredes, Enrique. ETH Zurich - CSCS

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
Notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44

5+
## [1.0.2] - 2024-01-24
6+
7+
### Cartesian
8+
9+
- Compatibility of `gt4py.next` Fields with `gt4py.cartesian` computations.
10+
- Fixes for DaCe 0.15.1 compatibility.
11+
- Added `log10` as native function.
12+
- Make `scipy` optional: get `scipy` by installing `gt4py[full]` for best performance with `numpy` backend.
13+
14+
### Storage
15+
16+
- Refactored low-level storage allocation.
17+
18+
### Next
19+
20+
See commit history.
21+
522
## [1.0.1] - 2023-02-20
623

724
First version including the experimental `gt4py.next` aka _Declarative GT4Py_. The `gt4py.next` package is excluded from semantic versioning.

0 commit comments

Comments
 (0)