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 across 1 directory with 7 updates #227

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 15, 2024

Bumps the dependencies group with 7 updates in the / directory:

Package From To
uvloop 0.20.0 0.21.0
transformers 4.44.2 4.45.2
sentence-transformers 3.1.1 3.2.0
pymupdf 1.24.10 1.24.11
redis 5.0.8 5.1.1
pyright 1.1.382 1.1.384
ruff 0.6.7 0.6.9

Updates uvloop from 0.20.0 to 0.21.0

Release notes

Sourced from uvloop's releases.

v0.21.0

Changes

  • Add cleanup_socket param on create_unix_server() (#623) (by @​fantix in d6114d2)

Fixes

v0.21.0beta1

No release notes provided.

Commits

Updates transformers from 4.44.2 to 4.45.2

Release notes

Sourced from transformers's releases.

Release v4.45.2

Patch release v4.45.2

Mostly some warnings that were not properly removed ⚠️ :

🔴 Had a small regression with dynamic Cache 🔴 *Cache: revert DynamicCache init for BC #33861 by @​gante

A small fix for idefic 🐩 :

And a fix for Siglip 🤧 !

Patch Release v4.45.1

Patches for v4.45.1

Llama 3.2, mllama, Qwen2-Audio, Qwen2-VL, OLMoE, Llava Onevision, Pixtral, FalconMamba, Modular Transformers

New model additions

mllama

The Llama 3.2-Vision collection of multimodal large language models (LLMs) is a collection of pretrained and instruction-tuned image reasoning generative models in 11B and 90B sizes (text + images in / text out). The Llama 3.2-Vision instruction-tuned models are optimized for visual recognition, image reasoning, captioning, and answering general questions about an image. The models outperform many of the available open source and closed multimodal models on common industry benchmarks.

image

Qwen2-VL

The Qwen2-VL is a major update from the previous Qwen-VL by the Qwen team.

An extract from the Qwen2-VL blogpost available here is as follows:

Qwen2-VL is the latest version of the vision language models based on Qwen2 in the Qwen model familities. Compared with Qwen-VL, Qwen2-VL has the capabilities of:

  • SoTA understanding of images of various resolution & ratio: Qwen2-VL achieves state-of-the-art performance on visual understanding benchmarks, including MathVista, DocVQA, RealWorldQA, MTVQA, etc.
  • Understanding videos of 20min+: Qwen2-VL can understand videos over 20 minutes for high-quality video-based question answering, dialog, content creation, etc.
  • Agent that can operate your mobiles, robots, etc.: with the abilities of complex reasoning and decision making, Qwen2-VL can be integrated with devices like mobile phones, robots, etc., for automatic operation based on visual environment and text instructions.
  • Multilingual Support: to serve global users, besides English and Chinese, Qwen2-VL now supports the understanding of texts in different languages inside images, including most European languages, Japanese, Korean, Arabic, Vietnamese, etc.

image

... (truncated)

Commits

Updates sentence-transformers from 3.1.1 to 3.2.0

Release notes

Sourced from sentence-transformers's releases.

v3.2.0 - ONNX and OpenVINO backends offering 2-3x speedup; Static Embeddings offering 50x-500x speedups at ~10-20% performance cost

This release introduces 2 new efficient computing backends for SentenceTransformer models: ONNX and OpenVINO + optimization & quantization, allowing for speedups up to 2x-3x; static embeddings via Model2Vec allowing for lightning-fast models (i.e., 50x-500x speedups) at a ~10%-20% performance cost; and various small improvements and fixes.

Install this version with

# Training + Inference
pip install sentence-transformers[train]==3.2.0
Inference only, use one of:
pip install sentence-transformers==3.2.0
pip install sentence-transformers[onnx-gpu]==3.2.0
pip install sentence-transformers[onnx]==3.2.0
pip install sentence-transformers[openvino]==3.2.0

Faster ONNX and OpenVINO Backends for SentenceTransformer (#2712)

Introducing a new backend keyword argument to the SentenceTransformer initialization, allowing values of "torch" (default), "onnx", and "openvino". These come with new installations:

pip install sentence-transformers[onnx-gpu]
# or ONNX for CPU only:
pip install sentence-transformers[onnx]
# or
pip install sentence-transformers[openvino]

It's as simple as:

from sentence_transformers import SentenceTransformer
model = SentenceTransformer("all-MiniLM-L6-v2", backend="onnx")
sentences = ["This is an example sentence", "Each sentence is converted"]
embeddings = model.encode(sentences)

If you specify a backend and your model repository or directory contains an ONNX/OpenVINO model file, it will automatically be used! And if your model repository or directory doesn't have one already, an ONNX/OpenVINO model will be automatically exported. Just remember to model.push_to_hub or model.save_pretrained into the same model repository or directory to avoid having to re-export the model every time.

All keyword arguments passed via model_kwargs will be passed on to ORTModel.from_pretrained or OVBaseModel.from_pretrained. The most useful arguments are:

  • provider: (Only if backend="onnx") ONNX Runtime provider to use for loading the model, e.g. "CPUExecutionProvider" . See https://onnxruntime.ai/docs/execution-providers/ for possible providers. If not specified, the strongest provider (E.g. "CUDAExecutionProvider") will be used.
  • file_name: The name of the ONNX file to load. If not specified, will default to "model.onnx" or otherwise "onnx/model.onnx" for ONNX, and "openvino_model.xml" and "openvino/openvino_model.xml" for OpenVINO. This argument is useful for specifying optimized or quantized models.
  • export: A boolean flag specifying whether the model will be exported. If not provided, export will be set to True if the model repository or directory does not already contain an ONNX or OpenVINO model.

For example:

from sentence_transformers import SentenceTransformer
model = SentenceTransformer(
"all-MiniLM-L6-v2",
backend="onnx",
model_kwargs={
</tr></table>

... (truncated)

Commits
  • 402198f Release v3.2.0
  • adbf0ba Add backends: ONNX & OpenVINO + ONNX optimization, quantization (#2712)
  • 130bdea Add from_model2vec/from_distillation to docs (#2978)
  • f85b502 Refine mine_hard_negatives arguments (#2977)
  • 7855327 [feat] Add lightning-fast StaticEmbedding module based on model2vec (#2961)
  • 07ae865 [ENH] Improve code quality in CrossEncoder.rank + test (#2947)
  • b6f1142 Add negatives in CachedGISTEmbedLoss (#2946)
  • a7cc68f [model cards] Keep evaluation order in training logs if there's multiple ev...
  • 4f43de6 [feat] Add query prompts to Information Retrieval Evaluator (#2951)
  • 80393d0 [fix] Only save first module in root if "save_in_root" is specified. (#2957)
  • See full diff in compare view

Updates pymupdf from 1.24.10 to 1.24.11

Release notes

Sourced from pymupdf's releases.

PyMuPDF-1.24.11 released

PyMuPDF-1.24.11 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.11 (2024-10-03)

  • Use MuPDF-1.24.10.

  • Fixed issues:

  • Wheels now use the Python Stable ABI:

    • There is one PyMuPDF wheel for each platform.
    • Each wheel works with all supported Python versions.
    • Each wheel is built using the oldest supported Python version (currently 3.8).
    • There is no PyMuPDFb wheel.
  • Other:

    • Improvements to get_text_words() with sort=True.
    • Tests now always get the latest versions of required Python packages.
    • Removed dependency on setuptools.
    • Added item to PyMuPDF-1.24.10 changes below - fix of #3630.
Changelog

Sourced from pymupdf's changelog.

Change Log

Changes in version 1.24.11 (2024-10-03)

  • Use MuPDF-1.24.10.

  • Fixed issues:

    • Fixed 3624 <https://github.com/pymupdf/PyMuPDF/issues/3624>_: Pdf file transform to image have a black block
    • Fixed 3859 <https://github.com/pymupdf/PyMuPDF/issues/3859>_: doc.need_appearances() fails with "AttributeError: module 'pymupdf.mupdf' has no attribute 'PDF_TRUE' "
    • Fixed 3863 <https://github.com/pymupdf/PyMuPDF/issues/3863>_: apply_redactions() does not work as expected
    • Fixed 3905 <https://github.com/pymupdf/PyMuPDF/issues/3905>_: open stream can raise a FzErrorFormat error instead of FileDataError
  • Wheels now use the Python Stable ABI:

    • There is one PyMuPDF wheel for each platform.
    • Each wheel works with all supported Python versions.
    • Each wheel is built using the oldest supported Python version (currently 3.8).
    • There is no PyMuPDFb wheel.
  • Other:

    • Improvements to get_text_words() with sort=True.
    • Tests now always get the latest versions of required Python packages.
    • Removed dependency on setuptools.
    • Added item to PyMuPDF-1.24.10 changes below - fix of #3630.

Changes in version 1.24.10 (2024-09-02)

  • Use MuPDF-1.24.9.

  • Fixed issues:

    • Fixed 3450 <https://github.com/pymupdf/PyMuPDF/issues/3450>_: get_pixmap function takes too long to process
    • Fixed 3569 <https://github.com/pymupdf/PyMuPDF/issues/3569>_: Invalid OCGs not ignored by SVG image creation
    • Fixed 3603 <https://github.com/pymupdf/PyMuPDF/issues/3603>_: ObjStm compression and PDF linearization doesn't work together
    • Fixed 3650 <https://github.com/pymupdf/PyMuPDF/issues/3650>_: Linebreak inserted between each letter
    • Fixed 3661 <https://github.com/pymupdf/PyMuPDF/issues/3661>_: Update Document to check the /XYZ len
    • Fixed 3698 <https://github.com/pymupdf/PyMuPDF/issues/3698>_: documentation issue - old code in the annotations documentation
    • Fixed 3705 <https://github.com/pymupdf/PyMuPDF/issues/3705>_: Document.select() behaves weirdly in some particular kind of pdf files
    • Fixed 3706 <https://github.com/pymupdf/PyMuPDF/issues/3706>_: extend Document.getitem type annotation to reflect that the method also accepts slices
    • Fixed 3727 <https://github.com/pymupdf/PyMuPDF/issues/3727>_: Method get_pixmap() make the program exit without any exceptions or messages
    • Fixed 3767 <https://github.com/pymupdf/PyMuPDF/issues/3767>_: Cannot get Tessdata with Tesseract-OCR 5
    • Fixed 3773 <https://github.com/pymupdf/PyMuPDF/issues/3773>_: Link.set_border gives TypeError: '<' not supported between instances of 'NoneType' and 'int'
    • Fixed 3774 <https://github.com/pymupdf/PyMuPDF/issues/3774>_: fitz.version` does not work anymore
    • Fixed 3789 <https://github.com/pymupdf/PyMuPDF/issues/3789>_: ValueError: not enough values to unpack (expected 3, got 2) is thrown when call insert_pdf
    • Fixed 3820 <https://github.com/pymupdf/PyMuPDF/issues/3820>_: class improves namedDest handling

... (truncated)

Commits
  • eeaa3f1 Update version numbers and dates for release of 1.24.11.
  • 758a77c scripts/gh_release.py: Do nothing if Github scheduled workflow on non-PyMuPDF...
  • 13dd9cb setup.py: default to MuPDF-1.24.10.
  • 883b891 tests/test_pixmap.py: test_3493(): work around unexpected exception on Github.
  • da2bfe6 tests/: fix test failures with sysinstalls.
  • 7a286f7 Improved building for Python stable ABI / limited API.
  • bce515c pipcl.py: class Package: added py_limited_api setting.
  • 0ed97b0 tests/: added a test for #3624 Pdf file transform to image have a black block.
  • 2c05e5e tests/: added test for #3863 apply_redactions() does not work as expected.
  • 0b8b0ba tests/gentle_compare.py: added pixmaps_rms().
  • Additional commits viewable in compare view

Updates redis from 5.0.8 to 5.1.1

Release notes

Sourced from redis's releases.

5.1.1

Changes

5.1.1

🐛 Bug Fixes

  • Fixed return type for Redis Set commands to be Set instead of List (#3399)
  • Fixed bug with partial Hiredis availability (#3400)
  • Fixed bug with async pipeline and cluster fails with some commands (#3402)

5.1.0

🚀 New Features

How to start with Client-side caching?

  1. Install redis-py 5.1.0
  2. Use the following code snippet:
r = Redis(protocol=3, cache_config=CacheConfig())
cache = r.get_cache()
r.set("foo", "bar")
get key from redis and save in local cache
print(r.get("foo"))
get key from local cache
print(cache.get(CacheKey(command="GET", redis_keys=("foo",))).cache_value)
change key in redis (cause invalidation)
r.set("foo", "barbar")
Retrieves a new value from server and cache it
print(r.get("foo"))
Make sure that new value was cached
print(cache.get(CacheKey(command="GET", redis_keys=("foo",))).cache_value)

Check documentation to get more examples

🔥 Breaking Changes

  • Timeseries insertion filters for close samples (#3228)
  • Enhanced classes string representation (#3001)
  • Partial clean up of Python 3.7 compatibility (#2928)
  • Handle Redis Set data type as Python list to avoid a limitations with nested dictionaries (#3324)

Contributors

We'd like to thank all the contributors who worked on this release!

@​vladvildanov @​dmaier-redislabs @​vineethvkumar @​ramchandra-st @​RafalBielickiIM @​jules-ch

... (truncated)

Commits

Updates pyright from 1.1.382 to 1.1.384

Release notes

Sourced from pyright's releases.

v1.1.384

No release notes provided.

v1.1.383

No release notes provided.

v1.1.382.post1

No release notes provided.

v1.1.382.post0

This release fixes a regression with nodeenv support in the v1.1.382 release

Commits

Updates ruff from 0.6.7 to 0.6.9

Release notes

Sourced from ruff's releases.

0.6.9

Release Notes

Preview features

  • Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
  • [refurb] Mark FURB118 fix as unsafe (#13613)

Rule changes

  • [pydocstyle] Don't raise D208 when last line is non-empty (#13372)
  • [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#13573)

Configuration

  • [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) (#13601)

Bug fixes

  • Support ruff discovery in pip build environments (#13591)
  • [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#13609)
  • [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#13527)
  • [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator (#13611)
  • [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] (#13518)

Documentation

  • Update GitHub Action link to astral-sh/ruff-action (#13551)

Install ruff 0.6.9

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-installer.ps1 | iex"

Download ruff 0.6.9

File Platform Checksum
ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum
ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum

... (truncated)

Changelog

Sourced from ruff's changelog.

0.6.9

Preview features

  • Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
  • [refurb] Mark FURB118 fix as unsafe (#13613)

Rule changes

  • [pydocstyle] Don't raise D208 when last line is non-empty (#13372)
  • [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#13573)

Configuration

  • [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) (#13601)

Bug fixes

  • Support ruff discovery in pip build environments (#13591)
  • [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#13609)
  • [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#13527)
  • [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator (#13611)
  • [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] (#13518)

Documentation

  • Update GitHub Action link to astral-sh/ruff-action (#13551)

0.6.8

Preview features

  • Remove unnecessary parentheses around match case clauses (#13510)
  • Parenthesize overlong if guards in match..case clauses (#13513)
  • Detect basic wildcard imports in ruff analyze graph (#13486)
  • [pylint] Implement boolean-chained-comparison (R1716) (#13435)

Rule changes

  • [lake8-simplify] Detect SIM910 when using variadic keyword arguments, i.e., **kwargs (#13503)
  • [pyupgrade] Avoid false negatives with non-reference shadowed bindings of loop variables (UP028) (#13504)

Bug fixes

  • Detect tuples bound to variadic positional arguments i.e. *args (#13512)
  • Exit gracefully on broken pipe errors (#13485)
  • Avoid panic when analyze graph hits broken pipe (#13484)

Performance

... (truncated)

Commits
  • 975be9c Bump version to 0.6.9 (#13624)
  • 99e4566 Mark FURB118 fix as unsafe (#13613)
  • 7ad07c2 Add allow-unused-imports setting for unused-import rule (F401) (#13601)
  • 4aefe52 Support ruff discovery in pip build environments (#13591)
  • cc1f766 Preserve trivia (i.e. comments) in PLR5501 (#13573)
  • fdd0a22 Move to maintained mirror of prettier (#13592)
  • 3728d5b [pyupgrade] Fix UP043 to apply to collections.abc.Generator and `collecti...
  • 7e3894f Avoid short circuiting B017 for multiple context managers (#13609)
  • c3b40da Use backticks for code in red-knot messages (#13599)
  • ef45185 Allow users to provide custom diagnostic messages when unwrapping calls (#13597)
  • 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

…dates

Bumps the dependencies group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [uvloop](https://github.com/MagicStack/uvloop) | `0.20.0` | `0.21.0` |
| [transformers](https://github.com/huggingface/transformers) | `4.44.2` | `4.45.2` |
| [sentence-transformers](https://github.com/UKPLab/sentence-transformers) | `3.1.1` | `3.2.0` |
| [pymupdf](https://github.com/pymupdf/pymupdf) | `1.24.10` | `1.24.11` |
| [redis](https://github.com/redis/redis-py) | `5.0.8` | `5.1.1` |
| [pyright](https://github.com/RobertCraigie/pyright-python) | `1.1.382` | `1.1.384` |
| [ruff](https://github.com/astral-sh/ruff) | `0.6.7` | `0.6.9` |



Updates `uvloop` from 0.20.0 to 0.21.0
- [Release notes](https://github.com/MagicStack/uvloop/releases)
- [Commits](MagicStack/uvloop@v0.20.0...v0.21.0)

Updates `transformers` from 4.44.2 to 4.45.2
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v4.44.2...v4.45.2)

Updates `sentence-transformers` from 3.1.1 to 3.2.0
- [Release notes](https://github.com/UKPLab/sentence-transformers/releases)
- [Commits](UKPLab/sentence-transformers@v3.1.1...v3.2.0)

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

Updates `redis` from 5.0.8 to 5.1.1
- [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.8...v5.1.1)

Updates `pyright` from 1.1.382 to 1.1.384
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](RobertCraigie/pyright-python@v1.1.382...v1.1.384)

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

---
updated-dependencies:
- dependency-name: uvloop
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: transformers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sentence-transformers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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-minor
  dependency-group: dependencies
- dependency-name: pyright
  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 Oct 15, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 16, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Oct 16, 2024
@dependabot dependabot bot deleted the dependabot/pip/dependencies-2947cc2bae branch October 16, 2024 10:16
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.

0 participants