Skip to content

Commit

Permalink
Bump the runtime-dependencies group across 1 directory with 2 updates (
Browse files Browse the repository at this point in the history
…#1525)

* Bump the runtime-dependencies group across 1 directory with 3 updates

Bumps the runtime-dependencies group with 3 updates in the / directory: [numpy](https://github.com/numpy/numpy), [scipy](https://github.com/scipy/scipy) and [xarray](https://github.com/pydata/xarray).


Updates `numpy` from 2.0.1 to 2.1.0
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.0.1...v2.1.0)

Updates `scipy` from 1.14.0 to 1.14.1
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.14.0...v1.14.1)

Updates `xarray` from 2024.6.0 to 2024.7.0
- [Release notes](https://github.com/pydata/xarray/releases)
- [Changelog](https://github.com/pydata/xarray/blob/main/HOW_TO_RELEASE.md)
- [Commits](pydata/xarray@v2024.06.0...v2024.07.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: runtime-dependencies
- dependency-name: scipy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: runtime-dependencies
- dependency-name: xarray
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: runtime-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* 🚧 Revert raising of numpy version since we know it isn't compatible

* 🩹 Forward port fix error with xarray==2024.7.0 from main

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: s-weigand <s.weigand.phy@gmail.com>
  • Loading branch information
dependabot[bot] and s-weigand authored Aug 25, 2024
1 parent a5fdc38 commit 06d4c98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion glotaran/optimization/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,10 @@ def align_groups(
# as an alternative to the more elegant xarray built-in which is limited to 32 datasets
# aligned_group_labels = aligned_groups.str.join(dim="dataset").data
aligned_group_labels = np.asarray(
["".join(sub_arr.values) for _, sub_arr in aligned_groups.groupby("global")]
tuple(
"".join(sub_arr.to_numpy().flatten())
for _, sub_arr in aligned_groups.groupby("global", squeeze=False)
)
)

group_definitions: dict[str, list[str]] = {}
Expand Down
4 changes: 2 additions & 2 deletions requirements_pinned.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ openpyxl==3.1.5
pandas==2.2.2
pydantic==2.8.2
ruamel.yaml==0.18.6
scipy==1.14.0
scipy==1.14.1
sdtfile==2024.5.24
tabulate==0.9.0
xarray==2024.6.0
xarray==2024.7.0

0 comments on commit 06d4c98

Please sign in to comment.