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

Bump the runtime-dependencies group across 1 directory with 5 updates #1555

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 8, 2024

Bumps the runtime-dependencies group with 5 updates in the / directory:

Package From To
asteval 1.0.3 1.0.5
netcdf4 1.7.1.post2 1.7.2
numpy 2.0.2 2.1.3
pandas 2.2.2 2.2.3
xarray 2024.9.0 2024.10.0

Updates asteval from 1.0.3 to 1.0.5

Release notes

Sourced from asteval's releases.

1.0.5

bugfix:

  • more work on handling errors, including fixing #133 and adding more comprehensive tests for #129 and #132

1.0.4

bugfix:

  • fix error handling that might result in null exception
Commits
  • 8d7326d improve error management; shunt .run() with string to .eval()
  • cc1f757 strengthen tests to assure length of errors, testing both .call() and .run()
  • 36dc5f1 more tests and updates for exception handling
  • 84ab7d7 more changes for #133 and exception handling
  • 84ed2f3 improve expection handling with raise_errors=True, fixing GH133
  • 3c55649 add test for GH133
  • fcb2a39 emergency fix for handling errors, exposed by lmfit
  • See full diff in compare view

Updates netcdf4 from 1.7.1.post2 to 1.7.2

Changelog

Sourced from netcdf4's changelog.

since version 1.7.2 release

  • fix type hint for createEnumType (issue #1378)
  • add python 3.13 to windows wheel builds (PR #1377)

version 1.7.2 (tag v1.7.2rel)

  • add static type hints (PRs #1302, #1349)
  • Expose nc_rc_set, nc_rc_get (via rc_set, rc_get module functions). (PR #1348)
  • Add Variable.get_fill_value and allow fill_value='default' to set _FillValue attribute using default fill values. (issue #1374, PR #1375).
  • Fix NETCDF3 endian error (issue #1373, PR #1355).

version 1.7.1 (tag v1.7.1rel)

  • include nc_complex source code from v0.2.0 tag (instead of using submodule).
  • add aarch64 wheels.

version 1.7.0 (tag v1.7.0rel)

  • add support for complex numbers via auto_complex keyword to Dataset (PR #1295)
  • fix for deprecated Cython DEF and IF statements using compatibility header with shims for unavailable functionality (PR #1277)
  • use szip as the library name on Windows (PR #1304)
  • add support for MS-MPI MPI_Message detection (PR #1305)
  • fix for issue #1306 - surprising result when indexing vlen str with non-contiguous indices.
  • Fix bug in set_collective introduced in PR #1277 (collective mode was always set).

version 1.6.5 (tag v1.6.5rel)

  • fix for issue #1271 (mask ignored if bool MA assigned to uint8 var)
  • include information on specific object when reporting errors from netcdf-c
  • python 3.12 wheels added, support for python 3.7 removed.

version 1.6.4 (tag v1.6.4rel)

  • set path to SSL certificates internally, so https DAP URLs work with wheels (issue #1246, requires nc_rc_set function available starting with netcdf-c 4.9.1, plus bugfix in netcdf-c PR #2690). Added certifi as a dependency.
  • Added isopen method to MFDataset object to check if underlying files are open.

version 1.6.3 (tag v1.6.3rel)

  • Use nc_put_vars for strided writes for netcdf-c >= 4.6.2 (issue #1222).
  • _Unsigned="false" should be same as not having _Unsigned set (issue #1232). _Unsigned now must be set to "true" or "True" for variable to be interpreted as unsigned, instead of just having _Unsigned be set (to anything).

... (truncated)

Commits

Updates numpy from 2.0.2 to 2.1.3

Release notes

Sourced from numpy's releases.

2.1.3 (Nov 2, 2024)

NumPy 2.1.3 Release Notes

NumPy 2.1.3 is a maintenance release that fixes bugs and regressions discovered after the 2.1.2 release. This release also adds support for free threaded Python 3.13 on Windows.

The Python versions supported by this release are 3.10-3.13.

Improvements

  • Fixed a number of issues around promotion for string ufuncs with StringDType arguments. Mixing StringDType and the fixed-width DTypes using the string ufuncs should now generate much more uniform results.

    (gh-27636)

Changes

  • numpy.fix now won't perform casting to a floating data-type for integer and boolean data-type input arrays.

    (gh-26766)

Contributors

A total of 15 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

  • Abhishek Kumar +
  • Austin +
  • Benjamin A. Beasley +
  • Charles Harris
  • Christian Lorentzen
  • Marcel Telka +
  • Matti Picus
  • Michael Davidsaver +
  • Nathan Goldbaum
  • Peter Hawkins
  • Raghuveer Devulapalli
  • Ralf Gommers
  • Sebastian Berg
  • dependabot[bot]
  • kp2pml30 +

Pull requests merged

A total of 21 pull requests were merged for this release.

... (truncated)

Changelog

Sourced from numpy's changelog.

This is a walkthrough of the NumPy 2.1.0 release on Linux, modified for building with GitHub Actions and cibuildwheels and uploading to the anaconda.org staging repository for NumPy <https://anaconda.org/multibuild-wheels-staging/numpy>_. The commands can be copied into the command line, but be sure to replace 2.1.0 by the correct version. This should be read together with the :ref:general release guide <prepare_release>.

Facility preparation

Before beginning to make a release, use the requirements/*_requirements.txt files to ensure that you have the needed software. Most software can be installed with pip, but some will require apt-get, dnf, or whatever your system uses for software. You will also need a GitHub personal access token (PAT) to push the documentation. There are a few ways to streamline things:

  • Git can be set up to use a keyring to store your GitHub personal access token. Search online for the details.
  • You can use the keyring app to store the PyPI password for twine. See the online twine documentation for details.

Prior to release

Add/drop Python versions

When adding or dropping Python versions, three files need to be edited:

  • .github/workflows/wheels.yml # for github cibuildwheel
  • tools/ci/cirrus_wheels.yml # for cibuildwheel aarch64/arm64 builds
  • pyproject.toml # for classifier and minimum version check.

Make these changes in an ordinary PR against main and backport if necessary. Add [wheel build] at the end of the title line of the commit summary so that wheel builds will be run to test the changes. We currently release wheels for new Python versions after the first Python rc once manylinux and cibuildwheel support it. For Python 3.11 we were able to release within a week of the rc1 announcement.

Backport pull requests

Changes that have been marked for this release must be backported to the maintenance/2.1.x branch.

Update 2.1.0 milestones

... (truncated)

Commits
  • 98464cc Merge pull request #27690 from charris/prepare-2.1.3
  • cbda85b REL: Prepare for the NumPy 2.1.3 release [wheel build]
  • daa8699 Merge pull request #27672 from charris/backport-27666
  • 614ca19 Merge pull request #27673 from charris/backport-27636
  • e6b02d7 DOC: add release note
  • 54fd729 BUG: substantially simplify and fix issue with justification promoter
  • a90fe7c BUG: fix more issues with string ufunc promotion
  • a121864 BUG: fixes for StringDType/unicode promoters
  • f055fb9 BUG: Fix a reference count leak in npy_find_descr_for_scalar.
  • 5895c02 Merge pull request #27669 from charris/backport-27663
  • Additional commits viewable in compare view

Updates pandas from 2.2.2 to 2.2.3

Release notes

Sourced from pandas's releases.

Pandas 2.2.3

We are pleased to announce the release of pandas 2.2.3. This release includes some new features, bug fixes, and performance improvements. We recommend that all users upgrade to this version.

See the full whatsnew for a list of all the changes. Pandas 2.2.3 supports Python 3.9 and higher.

The release will be available on the defaults and conda-forge channels:

conda install pandas

Or via PyPI:

python3 -m pip install --upgrade pandas

Please report any issues with the release on the pandas issue tracker.

Thanks to all the contributors who made this release possible.

Commits

Updates xarray from 2024.9.0 to 2024.10.0

Release notes

Sourced from xarray's releases.

v2024.10.0

This release brings official support for xarray.DataTree, and compatibility with zarr-python v3!

Aside from these two huge features, it also improves support for vectorised interpolation and fixes various bugs.

Thanks to the 31 contributors to this release: Alfonso Ladino, DWesl, Deepak Cherian, Eni, Etienne Schalk, Holly Mandel, Ilan Gold, Illviljan, Joe Hamman, Justus Magin, Kai Mühlbauer, Karl Krauth, Mark Harfouche, Martey Dodoo, Matt Savoie, Maximilian Roos, Patrick Hoefler, Peter Hill, Renat Sibgatulin, Ryan Abernathey, Spencer Clark, Stephan Hoyer, Tom Augspurger, Tom Nicholas, Vecko, Virgile Andreani, Yvonne Fröhlich, carschandler, joseph nowak, mgunyho and owenlittlejohns

What's Changed

... (truncated)

Commits
  • 165177e v2024.10.0 release summary (#9678)
  • fbe73ef drop the length from numpy's fixed-width string dtypes (#9586)
  • f24cae3 fixing behaviour for group parameter in open_datatree (#9666)
  • 519f05e Use zarr v3 dimension_names (#9669)
  • 5b2e6f1 fix(zarr): use inplace array.resize for zarr 2 and 3 (#9673)
  • 1f5889a implement dask methods on DataTree (#9670)
  • 521b087 support chunks in open_groups and open_datatree (#9660)
  • b133fdc Compatibility for zarr-python 3.x (#9552)
  • 4798707 Update to_dataframe doc to match current behavior (#9662)
  • 5632c8e Reduce graph size through writing indexes directly into graph for ``map_block...
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
numpy [>= 1.25.a, < 1.26]

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Summary by Sourcery

Build:

  • Update runtime dependencies: asteval to 1.0.5, netcdf4 to 1.7.2, numpy to 2.1.3, pandas to 2.2.3, and xarray to 2024.10.0.

Bumps the runtime-dependencies group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [asteval](https://github.com/lmfit/asteval) | `1.0.3` | `1.0.5` |
| [netcdf4](https://github.com/Unidata/netcdf4-python) | `1.7.1.post2` | `1.7.2` |
| [numpy](https://github.com/numpy/numpy) | `2.0.2` | `2.1.3` |
| [pandas](https://github.com/pandas-dev/pandas) | `2.2.2` | `2.2.3` |
| [xarray](https://github.com/pydata/xarray) | `2024.9.0` | `2024.10.0` |



Updates `asteval` from 1.0.3 to 1.0.5
- [Release notes](https://github.com/lmfit/asteval/releases)
- [Commits](lmfit/asteval@1.0.3...1.0.5)

Updates `netcdf4` from 1.7.1.post2 to 1.7.2
- [Release notes](https://github.com/Unidata/netcdf4-python/releases)
- [Changelog](https://github.com/Unidata/netcdf4-python/blob/master/Changelog)
- [Commits](https://github.com/Unidata/netcdf4-python/commits)

Updates `numpy` from 2.0.2 to 2.1.3
- [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.2...v2.1.3)

Updates `pandas` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](pandas-dev/pandas@v2.2.2...v2.2.3)

Updates `xarray` from 2024.9.0 to 2024.10.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.09.0...v2024.10.0)

---
updated-dependencies:
- dependency-name: asteval
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: runtime-dependencies
- dependency-name: netcdf4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: runtime-dependencies
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: runtime-dependencies
- dependency-name: pandas
  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] <[email protected]>
@dependabot dependabot bot requested review from a team as code owners November 8, 2024 19:11
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 8, 2024
@dependabot dependabot bot requested review from jsnel and s-weigand November 8, 2024 19:11
Copy link
Contributor

sourcery-ai bot commented Nov 8, 2024

Reviewer's Guide by Sourcery

This pull request updates several runtime dependencies to their latest versions. The key changes include updating numpy to support version 2.1.3, along with version bumps for asteval, netcdf4, pandas, and xarray. The changes primarily consist of bug fixes, performance improvements, and compatibility updates.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update numpy version constraint to allow newer minor version
  • Changed upper bound from <2.1 to <2.2 in setup.cfg
  • Allows compatibility with numpy 2.1.3
setup.cfg
requirements_dev.txt
Update runtime dependencies to latest versions
  • asteval updated from 1.0.3 to 1.0.5 with improved error handling
  • netcdf4 updated from 1.7.1.post2 to 1.7.2 with type hints and bug fixes
  • numpy updated from 2.0.2 to 2.1.3 with string ufunc improvements
  • pandas updated from 2.2.2 to 2.2.3 with bug fixes
  • xarray updated from 2024.9.0 to 2024.10.0 with DataTree support and zarr-python v3 compatibility
setup.cfg
requirements_dev.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Copy link

sonarcloud bot commented Nov 8, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants