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

build(deps): bump the production group with 3 updates #989

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2025

Bumps the production group with 3 updates: numpy, polars and transformers.

Updates numpy from 2.2.1 to 2.2.2

Release notes

Sourced from numpy's releases.

2.2.2 (Jan 18, 2025)

NumPy 2.2.2 Release Notes

NumPy 2.2.2 is a patch release that fixes bugs found after the 2.2.1 release. The number of typing fixes/updates is notable. This release supports Python versions 3.10-3.13.

Contributors

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

  • Alicia Boya García +
  • Charles Harris
  • Joren Hammudoglu
  • Kai Germaschewski +
  • Nathan Goldbaum
  • PTUsumit +
  • Rohit Goswami
  • Sebastian Berg

Pull requests merged

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

  • #28050: MAINT: Prepare 2.2.x for further development
  • #28055: TYP: fix void arrays not accepting str keys in __setitem__
  • #28066: TYP: fix unnecessarily broad integer binop return types (#28065)
  • #28112: TYP: Better ndarray binop return types for float64 &...
  • #28113: TYP: Return the correct bool from issubdtype
  • #28114: TYP: Always accept date[time] in the datetime64 constructor
  • #28120: BUG: Fix auxdata initialization in ufunc slow path
  • #28131: BUG: move reduction initialization to ufunc initialization
  • #28132: TYP: Fix interp to accept and return scalars
  • #28137: BUG: call PyType_Ready in f2py to avoid data races
  • #28145: BUG: remove unnecessary call to PyArray_UpdateFlags
  • #28160: BUG: Avoid data race in PyArray_CheckFromAny_int
  • #28175: BUG: Fix f2py directives and --lower casing
  • #28176: TYP: Fix overlapping overloads issue in 2->1 ufuncs
  • #28177: TYP: preserve shape-type in ndarray.astype()
  • #28178: TYP: Fix missing and spurious top-level exports

Checksums

MD5

749cb2adf8043551aae22bbf0ed3130a  numpy-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl
bc79fa2e44316b7ce9bacb48a993ed91  numpy-2.2.2-cp310-cp310-macosx_11_0_arm64.whl
c6b2caa2bbb645b5950dccb77efb1dbb  numpy-2.2.2-cp310-cp310-macosx_14_0_arm64.whl
8c410efac169af880cacbbac8a731658  numpy-2.2.2-cp310-cp310-macosx_14_0_x86_64.whl

... (truncated)

Commits
  • fd8a68e Merge pull request #28184 from charris/prepare-2.2.2
  • 0d106a5 REL: Prepare for the NumPy 2.2.2 release [wheel build]
  • dfdd35a Merge pull request #28175 from charris/backport-28056
  • e4517a8 Merge pull request #28176 from charris/backport-28168
  • 2c0432b Merge pull request #28178 from charris/backport-28170
  • 2230a08 Merge pull request #28177 from charris/backport-28169
  • b04e32c TYP: Fix missing and spurious top-level exports
  • 6a5f537 TYP: preserve shape-type in ndarray.astype()
  • f782790 TYP: Fix overlapping overloads issue in 2->1 ufuncs
  • a19acf1 BUG: Fix casing for f2py directives
  • Additional commits viewable in compare view

Updates polars from 1.19.0 to 1.21.0

Release notes

Sourced from polars's releases.

Python Polars 1.21.0

🚀 Performance improvements

  • Use BitmapBuilder in yet more places (#20868)
  • Make an owned version of append (#20800)
  • Use BitmapBuilder in a lot more places (#20776)

✨ Enhancements

  • Stabilize methods/functions (#20850)
  • Add linear_space (#20678)
  • Improve string → temporal parsing in read_excel and read_ods (#20845)
  • Implement df.unique() on new-streaming engine (#20875)
  • Experimental credential provider support for Delta read/scan/write (#20842)
  • Allow column expressions in DataFrame unnest (#20846)
  • Auto-initialize Python credential providers in more cases (#20843)
  • Add unique operations for Decimal dtype (#20855)
  • Add NDJson sink for the new streaming engine (#20805)
  • Support nested keys in window functions (#20837)
  • Add CSV sink for the new streaming engine (#20804)
  • Periodically check python signals ('CTRL-C' handling) (#20826)
  • Experimental unity catalog client (#20798)
  • Support cumulative aggregations for Decimal dtype (#20802)
  • Account for SurrealDB Python API updates (handle both SurrealDB and AsyncSurrealDB classes) in read_database (#20799)
  • Drop nest-asyncio in favor of custom logic (#20793)
  • Improve window function caching strategy (#20791)
  • Support lakefs:// URI for delta scanner (#20757)
  • Additional support for loading numpy.float16 values (as Float32) (#20769)

🐞 Bug fixes

  • Warn if asof keys not sorted (#20887)
  • Ensure explicit values given to column_widths override autofit in write_excel (#20893)
  • Avoid name collisions and panicking in object conversion (#20890)
  • Incorrect scale used in log and exp for Decimal type (#20888)
  • Don't deep clone manuallydrop in GroupsPosition (#20886)
  • Fix DuplicateError when selecting columns after join_where or cross join + filter (#20865)
  • Incorrect Decimal value for fill_null(strategy="one") (#20844)
  • Fix one edge case (out of many) of int128 literals not working (#20830)
  • Add height check to frame-level row indexing when key is int (#20778)
  • Remove assert that panics on group_by followed by head(n), where n is larger then the frame height (#20819)
  • Selectors should raise on + between themselves (#20825)
  • Fix panic InvalidHeaderValue scanning from S3 on Windows (#20820)
  • Fix clip for Decimal returning wrong values (#20814)
  • Incorrect height from slicing after projecting only the file path column (#20817)
  • Shift mask when skipping Bitpacked values in Parquet (#20810)
  • Error instead of truncate if length mismatch for several str functions (#20781)
  • Support cumulative aggregations for Decimal dtype (#20802)
  • Allow is_in values to be given as custom Collection (#20801)
  • Propagate null instead of panicking in pl.repeat_by() (#20787)

... (truncated)

Commits
  • 1993d59 ci: Disable 'catalog' in build (#20897)
  • d6f975c Python Polars 1.21.0 (#20895)
  • 7bf42dd feat(python): Stabilize methods/functions (#20850)
  • 332bd7d chore: Implement negative slice for new streaming IPC (#20866)
  • 8b5b05a fix: Warn if asof keys not sorted (#20887)
  • 884feeb fix(python): Ensure explicit values given to column_widths override autofi...
  • c465164 feat: Add linear_space (#20678)
  • e98e09b refactor(rust): Remove last instances of itoa (#20881)
  • 22c7879 refactor(rust): Reduce bloat in static_array_collect by using BitmapBuilders ...
  • 45b8e8b refactor(rust): Use defunctionalization in polars-core scalar.rs in order to ...
  • Additional commits viewable in compare view

Updates transformers from 4.48.0 to 4.48.2

Release notes

Sourced from transformers's releases.

Patch release v4.48.2

Sorry because the fixes for num_items_in_batches are not done yet 😓 To follow along see this PR, a new patch will be available soon!

Now, we mostly had BC issue with python version 3.9:

Then we had a small regression for DBRX saving:

Finally we have a fix for gemma and the hybrid attention architectures:

Miscellaneous:

Patch release v4.48.1

Yet again we are dawned with a gradient accumulation fix! There is also a refactoring of the attention that let a small typo in, we made sure PHI is no longer broken!

Moonshine had a small issue when wrapping generate so we removed that!

🤗

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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

@dependabot dependabot bot requested a review from lars-reimann as a code owner February 1, 2025 05:39
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 1, 2025
@dependabot dependabot bot force-pushed the dependabot/pip/production-b4749e1ca9 branch from ee6bedb to f28ecba Compare February 6, 2025 09:18
Bumps the production group with 3 updates: [numpy](https://github.com/numpy/numpy), [polars](https://github.com/pola-rs/polars) and [transformers](https://github.com/huggingface/transformers).


Updates `numpy` from 2.2.1 to 2.2.2
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.2.1...v2.2.2)

Updates `polars` from 1.19.0 to 1.21.0
- [Release notes](https://github.com/pola-rs/polars/releases)
- [Commits](pola-rs/polars@py-1.19.0...py-1.21.0)

Updates `transformers` from 4.48.0 to 4.48.2
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v4.48.0...v4.48.2)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production
- dependency-name: polars
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production
- dependency-name: transformers
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/production-b4749e1ca9 branch from f28ecba to 3fb1c08 Compare February 6, 2025 09:34
Copy link
Contributor

github-actions bot commented Feb 6, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ REPOSITORY git_diff yes no 0.28s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.22%. Comparing base (786bbe7) to head (0842b8e).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #989   +/-   ##
=======================================
  Coverage   95.22%   95.22%           
=======================================
  Files         135      135           
  Lines        8145     8145           
=======================================
  Hits         7756     7756           
  Misses        389      389           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lars-reimann lars-reimann merged commit 8ffff25 into main Feb 6, 2025
10 checks passed
@lars-reimann lars-reimann deleted the dependabot/pip/production-b4749e1ca9 branch February 6, 2025 10:00
@lars-reimann
Copy link
Member

🎉 This PR is included in version 0.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label Feb 26, 2025
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 released Included in a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant