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 dependencies group with 11 updates #152

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 12, 2024

Bumps the dependencies group with 11 updates:

Package From To
ctranslate2 4.3.0 4.3.1
transformers 4.41.1 4.41.2
sentence-transformers 2.7.0 3.0.1
protobuf 5.27.0 5.27.1
pymupdf 1.24.4 1.24.5
redis 5.0.4 5.0.5
torch 2.3.0 2.3.1
pyright 1.1.364 1.1.367
pytest 8.2.1 8.2.2
pylint 3.2.2 3.2.3
ruff 0.4.5 0.4.8

Updates ctranslate2 from 4.3.0 to 4.3.1

Release notes

Sourced from ctranslate2's releases.

CTranslate2 4.3.1

Note: Because of exceeding project's size on Pypi (> 20 GB), the release v4.3.0 was pushed unsuccessfully.

Fixes and improvements

  • Improve the compilation (#1706 and #1705)
  • Fix position bias in tensor parallel mode (#1714)
Changelog

Sourced from ctranslate2's changelog.

v4.3.1 (2024-06-10)

Note: Because of exceeding project's size on Pypi (> 20 GB), the release v4.3.0 was pushed unsuccessfully.

Fixes and improvements

  • Improve the compilation (#1706 and #1705)
  • Fix position bias in tensor parallel mode (#1714)
Commits

Updates transformers from 4.41.1 to 4.41.2

Release notes

Sourced from transformers's releases.

Release v4.41.2

Mostly fixing some stuff related to trust_remote_code=True and from_pretrained

The local_file_only was having a hard time when a .safetensors file did not exist. This is not expected and instead of trying to convert, we should just fallback to loading the .bin files.

Commits

Updates sentence-transformers from 2.7.0 to 3.0.1

Release notes

Sourced from sentence-transformers's releases.

v3.0.1 - Patch introducing new Trainer features, model card improvements and evaluator fixes

This patch release introduces some improvements for the SentenceTransformerTrainer, as well as some updates for the automatic model card generation. It also patches some minor evaluator bugs and a bug with MatryoshkaLoss. Lastly, every single Sentence Transformer model can now be saved and loaded with the safer model.safetensors files.

Install this version with

# Full installation:
pip install sentence-transformers[train]==3.0.1
Inference only:
pip install sentence-transformers==3.0.1

SentenceTransformerTrainer improvements

  • Implement gradient checkpointing for lower memory usage during training (#2717)
  • Implement support for push_to_hub=True Training Argument, also implement trainer.push_to_hub(...) (#2718)

Model Cards

This patch release improves on the automatically generated model cards in several ways:

  • Your training datasets are now automatically linked if they're on Hugging Face (#2711)
  • A new generated_from_trainer tag is now also added (#2710)
  • The automatically included widget examples are now improved, especially for question-answering. Previously, the widget could give examples of comparing two questions with eachother (#2713)
  • If you save a model locally, then load it again and upload it, it would previously still show
...
# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
...

This now gets replaced with your new model ID on Hugging Face (#2714)

  • The exact training dataset size is now included in the model metadata, rather than as a bucket of e.g. 1K<n<10K (#2728)

Evaluators fixes

  • The primary metric of evaluators in SequentialEvaluator would be ignored in the scores calculation (#2700)
  • Fix confusing print statement in TranslationEvaluator when using print_wrong_matches=True (#1894)
  • Fix bug that prevents you from customizing the primary_metric in InformationRetrievalEvaluator (#2701)
  • Allow passing a list of evaluators to the STTrainer rather than a SequentialEvaluator (#2717)

Losses fixes

  • Fix MatryoshkaLoss crash if the first dimension is not the biggest (#2719)

Security

  • Integrate safetensors with all modules, including Dense, LSTM, CNN, etc. to prevent needing pickled pytorch_model.bin anymore (#2722)

All changes

... (truncated)

Commits
  • 8a02e45 Merge branch 'master' into v3.0-release
  • f012ab3 typo: SentenceTransformersTrainingArguments -> SentenceTransformerTrainingArg...
  • d079878 Specify the exact dataset size as a tag, will be bucketized by HF eventually ...
  • 6ea9903 [feat] Integrate safetensors with Dense, etc. modules too. (#2722)
  • 8ded768 Merge pull request #2727 from tomaarsen/can_return_loss
  • d9c2b0c Merge pull request #2726 from tomaarsen/fix/no_evaluator
  • 08b340b Set can_return_loss=True globally, instead of via the data collator
  • 4d3e357 Fix edge case with evaluator being None
  • b5e98e1 Merge pull request #2724 from tomaarsen/improve_typing
  • 936f283 Add py.typed to satify mypy (etc.) requirements
  • Additional commits viewable in compare view

Updates protobuf from 5.27.0 to 5.27.1

Commits
  • 3d9f7c4 Updating version.json and repo version numbers to: 27.1
  • 368b9b2 Merge pull request #17019 from protocolbuffers/cp-27
  • 2717ae7 Internal change
  • 9a37881 Always report plugin support errors from protoc.
  • f61d89c Avoid ODR violations from bootstrapped protos
  • 887e95d Fix a bug in edition defaults calculation.
  • d2edc49 Merge pull request #17002 from protocolbuffers/cp-csharp
  • 0e9dd4c Handle groups in C# JsonParser (#16970)
  • 838626d Merge pull request #16989 from protocolbuffers/cp-27
  • 8ffc1d0 Move back deprecation of java utf8 feature to 2024.
  • Additional commits viewable in compare view

Updates pymupdf from 1.24.4 to 1.24.5

Release notes

Sourced from pymupdf's releases.

PyMuPDF-1.24.5 released

PyMuPDF-1.24.5 has been released.

Wheels for Windows, Linux and MacOS, and the sdist, are available on pypi.org and can be installed in the usual way, for example:

python -m pip install --upgrade pymupdf

[Linux-aarch64 wheels will be built and uploaded later.]

Changes in version 1.24.5 (2024-05-30)

  • Fixed issues:

  • Other:

    • Some more fixes to use MuPDF floating formatting.
    • Removed/disabled some unnecessary diagnostics.
    • Fixed utils.do_links() crash.
    • Experimental new functions pymupdf.apply_pages() and pymupdf.get_text().
    • Addresses wrong label generation for label styles "a" and "A".
Changelog

Sourced from pymupdf's changelog.

Change Log

Changes in version 1.24.5 (2024-05-30)

  • Fixed issues:

    • Fixed 3479 <https://github.com/pymupdf/PyMuPDF/issues/3479>_: regression: fill_textbox: IndexError: pop from empty list
    • Fixed 3488 <https://github.com/pymupdf/PyMuPDF/issues/3488>_: set_toc method error
  • Other:

    • Some more fixes to use MuPDF floating formatting.
    • Removed/disabled some unnecessary diagnostics.
    • Fixed utils.do_links() crash.
    • Experimental new functions pymupdf.apply_pages() and pymupdf.get_text().
    • Addresses wrong label generation for label styles "a" and "A".

Changes in version 1.24.4 (2024-05-16)

  • Fixed 3418 <https://github.com/pymupdf/PyMuPDF/issues/3418>_: Re-introduced bug, text align add_redact_annot

  • Fixed 3472 <https://github.com/pymupdf/PyMuPDF/issues/3472>_: insert_pdf gives SystemError

  • Other:

    • Fixed sysinstall test failing to remove all of prior installation before new install.
    • Fixed utils.do_links() crash.
    • Correct TextPage creation Code.
    • Unified various diagnostics.
    • Fix bug in page_merge().

Changes in version 1.24.3 (2024-05-09)

  • The Python module is now called pymupdf. fitz is still supported for backwards compatibility.

  • Use MuPDF-1.24.2.

  • Fixed issues:

    • Fixed 3357 <https://github.com/pymupdf/PyMuPDF/issues/3357>_: PyMuPDF==1.24.0 will hanging when using page.get_text("text")
    • Fixed 3376 <https://github.com/pymupdf/PyMuPDF/issues/3376>_: Redacting results are not as expected in 1.24.x.
    • Fixed 3379 <https://github.com/pymupdf/PyMuPDF/issues/3379>_: Documentation mismatch for get_text_blocks return value order.
    • Fixed 3381 <https://github.com/pymupdf/PyMuPDF/issues/3381>_: Contents stream contains floats in scientific notation
    • Fixed 3402 <https://github.com/pymupdf/PyMuPDF/issues/3402>_: Cannot add Widgets containing inter-field-calculation JavaScript

... (truncated)

Commits
  • ec4497b Update changelog, version numbers and release dates for release 1.24.5.
  • 8ec2407 Documentation: Updates for more file support.
  • f26b673 Addresses wrong label generation
  • 036f9a9 .github/workflows/test_pyodide.yml: default to hard-coded mupdf, not master.
  • a799bde Add support for concurrent processing of pages.
  • 838d8f1 scripts/test.py: fixed naming of -f value to be 'fitz'.
  • df1c280 src/extra.i: removed some unused code.
  • d7228b9 changes.txt: mark #3472 fixed in 1.24.4.
  • 03a802d Fixed utils.do_links() crash.
  • b4068db src/utils.py: disable various expected calls to pymupdf.exception_info().
  • Additional commits viewable in compare view

Updates redis from 5.0.4 to 5.0.5

Release notes

Sourced from redis's releases.

5.0.5

Changes

🐛 Bug Fixes

  • Fix parsing of INFO response (#3265)
Commits

Updates torch from 2.3.0 to 2.3.1

Release notes

Sourced from torch's releases.

PyTorch 2.3.1 Release, bug fix release

This release is meant to fix the following issues (regressions / silent correctness):

Torch.compile:

Distributed:

MPS:

Packaging:

Other:

Release tracker pytorch/pytorch#125425 contains all relevant pull requests related to this release as well as links to related issues.

Commits

Updates pyright from 1.1.364 to 1.1.367

Commits

Updates pytest from 8.2.1 to 8.2.2

Release notes

Sourced from pytest's releases.

8.2.2

pytest 8.2.2 (2024-06-04)

Bug Fixes

  • #12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
  • #12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
  • #12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.

Improved Documentation

  • #12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
  • #12356: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.
  • #12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
Commits
  • 329d371 Prepare release version 8.2.2
  • 214d098 Merge pull request #12414 from bluetech/backport-12409
  • 153a436 [8.2.x] fixtures: fix catastrophic performance problem in reorder_items
  • b41d5a5 Merge pull request #12412 from pytest-dev/backport-12408-to-8.2.x
  • 9bb73d7 [8.2.x] cacheprovider: fix "Directory not empty" crash from cache directory c...
  • 4569a01 [8.2.x] doc: Update trainings/events (#12402)
  • 1d103e5 [8.2.x] Clarify pytest_ignore_collect docs (#12386)
  • 240a252 [8.2.x] Add html_baseurl to sphinx conf.py (#12372)
  • a5ee3c4 Merge pull request #12370 from pytest-dev/backport-12368-to-8.2.x
  • f7358ae [8.2.x] unittest: fix class instances no longer released on test teardown sin...
  • Additional commits viewable in compare view

Updates pylint from 3.2.2 to 3.2.3

Commits

Updates ruff from 0.4.5 to 0.4.8

Release notes

Sourced from ruff's releases.

v0.4.8

Changes

Performance

  • Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#11457)

Preview features

  • [flake8-bugbear] Implement return-in-generator (B901) (#11644)
  • [flake8-pyi] Implement PYI063 (#11699)
  • [pygrep_hooks] Check blanket ignores via file-level pragmas (PGH004) (#11540)

Rule changes

  • [pyupgrade] Update UP035 for Python 3.13 and the latest version of typing_extensions (#11693)
  • [numpy] Update NPY001 rule for NumPy 2.0 (#11735)

Server

  • Formatting a document with syntax problems no longer spams a visible error popup (#11745)

CLI

  • Add RDJson support for --output-format flag (#11682)

Bug fixes

  • [pyupgrade] Write empty string in lieu of panic when fixing UP032 (#11696)
  • [flake8-simplify] Simplify double negatives in SIM103 (#11684)
  • Ensure the expression generator adds a newline before type statements (#11720)
  • Respect per-file ignores for blanket and redirected noqa rules (#11728)

Contributors

v0.4.7

... (truncated)

Changelog

Sourced from ruff's changelog.

0.4.8

Performance

  • Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#11457)

Preview features

  • [flake8-bugbear] Implement return-in-generator (B901) (#11644)
  • [flake8-pyi] Implement PYI063 (#11699)
  • [pygrep_hooks] Check blanket ignores via file-level pragmas (PGH004) (#11540)

Rule changes

  • [pyupgrade] Update UP035 for Python 3.13 and the latest version of typing_extensions (#11693)
  • [numpy] Update NPY001 rule for NumPy 2.0 (#11735)

Server

  • Formatting a document with syntax problems no longer spams a visible error popup (#11745)

CLI

  • Add RDJson support for --output-format flag (#11682)

Bug fixes

  • [pyupgrade] Write empty string in lieu of panic when fixing UP032 (#11696)
  • [flake8-simplify] Simplify double negatives in SIM103 (#11684)
  • Ensure the expression generator adds a newline before type statements (#11720)
  • Respect per-file ignores for blanket and redirected noqa rules (#11728)

0.4.7

Preview features

  • [flake8-pyi] Implement PYI064 (#11325)
  • [flake8-pyi] Implement PYI066 (#11541)
  • [flake8-pyi] Implement PYI057 (#11486)
  • [pyflakes] Enable F822 in __init__.py files by default (#11370)

Formatter

  • Fix incorrect placement of trailing stub function comments (#11632)

Server

  • Respect file exclusions in ruff server (#11590)
  • Add support for documents not exist on disk (#11588)
  • Add Vim and Kate setup guide for ruff server (#11615)

... (truncated)

Commits
  • a8cf709 Bump version to v0.4.8 (#11755)
  • 895eb3e [red-knot] refactor CFG outside of symbol table (#11746)
  • 2e0a975 Disallow access to Parsed output, use the API instead (#11741)
  • b021b5b Use Tokens from parsed type annotation or parsed source (#11740)
  • eed6d78 Update type annotation parsing API to return Parsed (#11739)
  • 8338db6 ruff server: Formatting a document with syntax problems no longer spams a v...
  • d056d09 [red-knot] add if-statement support to FlowGraph (#11673)
  • 1645be0 Update NPY001 rule for NumPy 2.0 (#11735)
  • 2c86502 CI: add job to run tests under minimum supported rust version (msrv) (#11737)
  • 2567e14 Lexer should consider BOM for the start offset (#11732)
  • Additional commits viewable in compare view

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

Bumps the dependencies group with 11 updates:

| Package | From | To |
| --- | --- | --- |
| [ctranslate2](https://github.com/OpenNMT/CTranslate2) | `4.3.0` | `4.3.1` |
| [transformers](https://github.com/huggingface/transformers) | `4.41.1` | `4.41.2` |
| [sentence-transformers](https://github.com/UKPLab/sentence-transformers) | `2.7.0` | `3.0.1` |
| [protobuf](https://github.com/protocolbuffers/protobuf) | `5.27.0` | `5.27.1` |
| [pymupdf](https://github.com/pymupdf/pymupdf) | `1.24.4` | `1.24.5` |
| [redis](https://github.com/redis/redis-py) | `5.0.4` | `5.0.5` |
| [torch](https://github.com/pytorch/pytorch) | `2.3.0` | `2.3.1` |
| [pyright](https://github.com/RobertCraigie/pyright-python) | `1.1.364` | `1.1.367` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.2.1` | `8.2.2` |
| [pylint](https://github.com/pylint-dev/pylint) | `3.2.2` | `3.2.3` |
| [ruff](https://github.com/astral-sh/ruff) | `0.4.5` | `0.4.8` |


Updates `ctranslate2` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/OpenNMT/CTranslate2/releases)
- [Changelog](https://github.com/OpenNMT/CTranslate2/blob/master/CHANGELOG.md)
- [Commits](OpenNMT/CTranslate2@v4.3.0...v4.3.1)

Updates `transformers` from 4.41.1 to 4.41.2
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v4.41.1...v4.41.2)

Updates `sentence-transformers` from 2.7.0 to 3.0.1
- [Release notes](https://github.com/UKPLab/sentence-transformers/releases)
- [Commits](UKPLab/sentence-transformers@v2.7.0...v3.0.1)

Updates `protobuf` from 5.27.0 to 5.27.1
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](protocolbuffers/protobuf@v5.27.0...v5.27.1)

Updates `pymupdf` from 1.24.4 to 1.24.5
- [Release notes](https://github.com/pymupdf/pymupdf/releases)
- [Changelog](https://github.com/pymupdf/PyMuPDF/blob/main/changes.txt)
- [Commits](pymupdf/PyMuPDF@1.24.4...1.24.5)

Updates `redis` from 5.0.4 to 5.0.5
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](redis/redis-py@v5.0.4...v5.0.5)

Updates `torch` from 2.3.0 to 2.3.1
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.3.0...v2.3.1)

Updates `pyright` from 1.1.364 to 1.1.367
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](RobertCraigie/pyright-python@v1.1.364...v1.1.367)

Updates `pytest` from 8.2.1 to 8.2.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.2.1...8.2.2)

Updates `pylint` from 3.2.2 to 3.2.3
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v3.2.2...v3.2.3)

Updates `ruff` from 0.4.5 to 0.4.8
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@v0.4.5...v0.4.8)

---
updated-dependencies:
- dependency-name: ctranslate2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: transformers
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: sentence-transformers
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pymupdf
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: torch
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pyright
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 12, 2024
@github-actions github-actions bot merged commit 65a007c into main Jun 12, 2024
9 of 12 checks passed
@dependabot dependabot bot deleted the dependabot/pip/dependencies-ade6b4545b branch June 12, 2024 10:28
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.

None yet

0 participants