Build(deps): Bump the python group across 1 directory with 6 updates - #929
Build(deps): Bump the python group across 1 directory with 6 updates#929dependabot[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b1d7eda2a7
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| @@ -1,5 +1,5 @@ | |||
| [build-system] | |||
| requires = ["setuptools==80.9.0", "setuptools-scm==9.2.0"] | |||
| requires = ["setuptools==83.0.0", "setuptools-scm==10.2.0"] | |||
There was a problem hiding this comment.
Keep the build backend compatible with Python 3.9
For Python 3.9 source/editable installs, this exact build requirement now asks pip to install setuptools==83.0.0, but setuptools 83 requires Python 3.10+, while this project still advertises requires-python = ">=3.9,<3.15". That makes pip install from sdist/Git fail before the package metadata can be built for any Python 3.9 user; either keep setuptools below 83 for the build env or drop Python 3.9 support in the project metadata.
Useful? React with 👍 / 👎.
| "tyro ; (sys_platform != 'darwin' or platform_machine != 'arm64')", | ||
| "accelerate>=0.34.1 ; (sys_platform != 'darwin' or platform_machine != 'arm64')", | ||
| "trl>=0.18.2,!=0.19.0,<=0.24.0 ; (sys_platform != 'darwin' or platform_machine != 'arm64')", | ||
| "trl>=0.18.2,!=0.19.0,<=1.8.0 ; (sys_platform != 'darwin' or platform_machine != 'arm64')", |
There was a problem hiding this comment.
Update the core TRL constraint too
The default dependency now permits TRL 1.8, but the core extra still has trl>=0.18.2,!=0.19.0,<=0.24.0, and huggingface/base/intelgpu all pull that extra transitively. In contexts that install .[core] (including this repo's CI setup), pip has to satisfy both constraints and will stay capped at 0.24.0, so the new TRL range is not actually exercised for those install modes; update or de-duplicate the extra constraint along with this line.
Useful? React with 👍 / 👎.
| "transformers>=4.51.3,!=4.52.0,!=4.52.1,!=4.52.2,!=4.52.3,!=4.53.0,!=4.54.0,!=4.55.0,!=4.55.1,!=4.57.4,!=4.57.5,!=5.0.0,!=5.1.0,<=5.5.0", | ||
| "datasets>=3.4.1,!=4.0.*,!=4.1.0,<4.4.0", | ||
| "transformers>=4.51.3,!=4.52.0,!=4.52.1,!=4.52.2,!=4.52.3,!=4.53.0,!=4.54.0,!=4.55.0,!=4.55.1,!=4.57.4,!=4.57.5,!=5.0.0,!=5.1.0,<=5.13.1", | ||
| "datasets>=4.0,<5.1", |
There was a problem hiding this comment.
Exclude the broken datasets 4.4/4.5 releases
This widened range re-admits datasets==4.4.0 through 4.5.0, but the repo already has a drift test documenting that this exact range triggers _thread.RLock_recursion_count failures in the Arrow loader and should be avoided. Any user with an environment constraint that resolves to 4.4.x or 4.5.0 can now install an unsupported datasets version, so preserve the exclusion when widening the upper bound.
Useful? React with 👍 / 👎.
Updates the requirements on [torch](https://github.com/pytorch/pytorch), [trl](https://github.com/huggingface/trl), [transformers](https://github.com/huggingface/transformers), [datasets](https://github.com/huggingface/datasets), [setuptools](https://github.com/pypa/setuptools) and [setuptools-scm](https://github.com/pypa/setuptools-scm) to permit the latest version. Updates `torch` to 2.13.0 - [Release notes](https://github.com/pytorch/pytorch/releases) - [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md) - [Commits](pytorch/pytorch@v2.4.0...v2.13.0) Updates `trl` to 1.9.0 - [Release notes](https://github.com/huggingface/trl/releases) - [Changelog](https://github.com/huggingface/trl/blob/main/RELEASE.md) - [Commits](huggingface/trl@v0.18.2...v1.9.0) Updates `transformers` to 5.14.1 - [Release notes](https://github.com/huggingface/transformers/releases) - [Commits](huggingface/transformers@v4.51.3...v5.14.1) Updates `datasets` to 5.0.0 - [Release notes](https://github.com/huggingface/datasets/releases) - [Commits](huggingface/datasets@3.4.1...5.0.0) Updates `setuptools` from 80.9.0 to 83.0.0 - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](pypa/setuptools@v80.9.0...v83.0.0) Updates `setuptools-scm` from 9.2.0 to 10.2.1 - [Release notes](https://github.com/pypa/setuptools-scm/releases) - [Changelog](https://github.com/pypa/setuptools-scm/blob/main/RELEASE_SYSTEM.md) - [Commits](pypa/setuptools-scm@v9.2.0...setuptools-scm-v10.2.1) --- updated-dependencies: - dependency-name: datasets dependency-version: 5.0.0 dependency-type: direct:production dependency-group: python - dependency-name: setuptools dependency-version: 83.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: python - dependency-name: setuptools-scm dependency-version: 10.2.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: python - dependency-name: torch dependency-version: 2.13.0 dependency-type: direct:production dependency-group: python - dependency-name: transformers dependency-version: 5.13.1 dependency-type: direct:production dependency-group: python - dependency-name: trl dependency-version: 1.8.0 dependency-type: direct:production dependency-group: python ... Signed-off-by: dependabot[bot] <support@github.com>
b1d7eda to
287aa0a
Compare
Updates the requirements on torch, trl, transformers, datasets, setuptools and setuptools-scm to permit the latest version.
Updates
torchto 2.13.0Release notes
Sourced from torch's releases.
... (truncated)
Changelog
Sourced from torch's changelog.
... (truncated)
Commits
cf30153[release/2.13] Strip +PTX from CUDA arch list on release/RC builds (#188914) ...3e3e24b[release/2.13] Restrict cuda-bindings to Python < 3.15 for CUDA 12.9 builds (...7986b06[release/2.13] Bump binary build timeout 280 -> 400 minutes (#188551)0bdbc26[release/2.13] Add CUDA 12.9 to TORCH_CUDA_ARCH_LIST tables (#188443)9cabb45[release/2.13] Update manywheel docker image pin to 78e737ad (#188409)78e737a[release/2.13] Revert "Tighten generalized scatter graph target (#184075)" (#...0bb9b5b[release/2.13] Revert "dynamo: round-trip torch.cuda.stream ctx mgr across gr...aaac2bf[release/2.13] Revert "[Reland] Port D104346887/PR 182675 for index_add fast ...9330813Fix build_with_debinfo.py broken by CONFIGURE_DEPENDS globbing (#188192)4e077a7Remove setuptools upper bound (#188190)Updates
trlto 1.9.0Release notes
Sourced from trl's releases.
... (truncated)
Commits
35def3eRelease: v1.9 (#6495)1f44f15[DistillationTrainer refactor] Fixnum_items_in_batchto count generated co...56d93a0[DistillationTrainer refactor] Deprecatemessages-format datasets (#6474)860f1b6[DistillationTrainer refactor] Accept apromptcolumn alongsidemessages...d08f613Filter triton AnnAssign DeprecationWarning on Python 3.14 (#6467)c4a97eeFilter reworded torch.jit.script_method warning on Python 3.14 (#6465)3151ed3Fix misleading name of BEMACallback bias_power=0.0 test (#6464)edbce2bSilence PEFT ensure_weight_tying warning in DPO and KTO liger tests (#6463)d2b72b7Raise when DPO/KTO cannot precompute correct reference log-probs at eval time...d9294d1[DistillationTrainer refactor] Removelmbdaand the off-policy training bra...Updates
transformersto 5.14.1Release notes
Sourced from transformers's releases.
Commits
a08ace4Release: v4.14.11ccf4f1Fix deepgemm on multiple devices (#47323)c98cc10[FP8] Bump kernels version (#47344)e035e45Fix assisted decoding for models with EncoderDecoder cache & OlmoHybrid (#47361)0eb5e03Fix sdpa prefill with position_bias (#47359)2fa8c19v5.14.06c9318efix feature extraction8f23330Small improvement (#47348)76613e6Add Inkling model (#47347)f5a67a4🚨 Pass tp_plan from lm_heads (#47253)Updates
datasetsto 5.0.0Release notes
Sourced from datasets's releases.
... (truncated)
Commits
68ac1a9Release: 5.0.0 (#8239)cfe4492Support composed splits in streaming datasets (#8220)fd67320Keep None as a real null in Json() columns instead of the string "null" (#8231)10cdc81Fix iterable skip over full Arrow blocks (#8236)b7c064dParse agent traces messages for SFT usingteich(#8232)31e92f1fix: embed_external_files=True for mesh support (#8224)d168d5ffeat: add TsFile (Apache IoTDB) packaged builder with per-device wide format ...992f3cffix(map): fix progress bar exceeding total when load_from_cache_file=False (#...8474a91Fix single lance file form pylance 7.0 (#8225)d4284e9feat: add 3D mesh support and MeshFolder builder (#8055)Updates
setuptoolsfrom 80.9.0 to 83.0.0Changelog
Sourced from setuptools's changelog.
... (truncated)
Commits
6519f72Bump version: 82.0.1 → 83.0.0d1151b1Merge pull request #5250 from pypa/feature/distutils-d7633fbeda2df31eCapture removal of dry_run parameter in changelog.00144dcMoved newsfragment to the release where it occurred.a4a5a2bAdd news fragment.77470c2Merge https://github.com/pypa/distutils into feature/distutils-d7633fbed3c43897Merge pull request #5247 from pypa/copilot/fix-pypy-version-issuebb6ea66Bump PyPy from 3.10 to 3.11 in CI workflowa2bc3acFix broken intersphinx reference to build's installation docs2d6a739Use stacked parametrize decorators instead of itertools.productUpdates
setuptools-scmfrom 9.2.0 to 10.2.1Release notes
Sourced from setuptools-scm's releases.
... (truncated)
Commits
ac108b2Merge pull request #1475 from pypa/release/mainb3beed6Prepare release: setuptools-scm v10.2.1ec67f8cMerge pull request #1474 from RonnyPfannschmidt/fix/1473-omit-scm-metadata-fr...08f22bdfix: lazy-import bdist_wheel and simplify unlink82768f0fix: omit SCM egg-info JSON from wheels5b91e2fMerge pull request #1460 from pypa/dependabot/uv/uv-f4f52c089d4ac1724Merge pull request #1463 from pypa/release/main474cc9cPrepare release: vcs-versioning v2.2.229c8f6cMerge pull request #1462 from RonnyPfannschmidt/fix/vcs-versioning-pytest-tim...25d32eefix: add missing pytest-timeout to vcs-versioning test dependencies (#1461)