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

chore(deps): update all non-major dependencies #522

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 18, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitejs/plugin-vue (source) 5.1.3 -> 5.1.4 age adoption passing confidence
@vueuse/integrations (source) 11.0.3 -> 11.1.0 age adoption passing confidence
aiohttp ==3.10.2 -> ==3.10.5 age adoption passing confidence
eslint (source) 8.57.0 -> 8.57.1 age adoption passing confidence
monaco-editor ^0.51.0 -> ^0.52.0 age adoption passing confidence
openai ==1.46.0 -> ==1.47.0 age adoption passing confidence
requests (source, changelog) ==2.32.2 -> ==2.32.3 age adoption passing confidence
selenium ==4.24.0 -> ==4.25.0 age adoption passing confidence
selenium-webdriver (source) 4.24.0 -> 4.24.1 age adoption passing confidence
sentence-transformers ==3.1.0 -> ==3.1.1 age adoption passing confidence
start-server-and-test 2.0.7 -> 2.0.8 age adoption passing confidence
tailwindcss (source) 3.4.11 -> 3.4.12 age adoption passing confidence
viem (source) 2.21.7 -> 2.21.10 age adoption passing confidence
vite (source) 5.3.6 -> 5.4.6 age adoption passing confidence
vue (source) 3.5.5 -> 3.5.6 age adoption passing confidence

Release Notes

vitejs/vite-plugin-vue (@​vitejs/plugin-vue)

v5.1.4

vueuse/vueuse (@​vueuse/integrations)

v11.1.0

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub
aio-libs/aiohttp (aiohttp)

v3.10.5

Compare Source

=========================

Bug fixes

  • Fixed :meth:aiohttp.ClientResponse.json() not setting status when :exc:aiohttp.ContentTypeError is raised -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    :issue:8742.

Miscellaneous internal changes

  • Improved performance of the WebSocket reader -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    :issue:8736, :issue:8747.


v3.10.4

Compare Source

v3.10.3

Compare Source

========================

Bug fixes

  • Fixed multipart reading when stream buffer splits the boundary over several read() calls -- by :user:Dreamsorcerer.

    Related issues and pull requests on GitHub:
    :issue:8653.

  • Fixed :py:class:aiohttp.TCPConnector doing blocking I/O in the event loop to create the SSLContext -- by :user:bdraco.

    The blocking I/O would only happen once per verify mode. However, it could cause the event loop to block for a long time if the SSLContext creation is slow, which is more likely during startup when the disk cache is not yet present.

    Related issues and pull requests on GitHub:
    :issue:8672.

Miscellaneous internal changes

  • Improved performance of :py:meth:~aiohttp.ClientWebSocketResponse.receive and :py:meth:~aiohttp.web.WebSocketResponse.receive when there is no timeout. -- by :user:bdraco.

    The timeout context manager is now avoided when there is no timeout as it accounted for up to 50% of the time spent in the :py:meth:~aiohttp.ClientWebSocketResponse.receive and :py:meth:~aiohttp.web.WebSocketResponse.receive methods.

    Related issues and pull requests on GitHub:
    :issue:8660.

  • Improved performance of starting request handlers with Python 3.12+ -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    :issue:8661.

  • Improved performance of HTTP keep-alive checks -- by :user:bdraco.

    Previously, when processing a request for a keep-alive connection, the keep-alive check would happen every second; the check is now rescheduled if it fires too early instead.

    Related issues and pull requests on GitHub:
    :issue:8662.

  • Improved performance of generating random WebSocket mask -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    :issue:8667.


eslint/eslint (eslint)

v8.57.1

Compare Source

microsoft/monaco-editor (monaco-editor)

v0.52.0

Compare Source

  • Comment added inside of IModelContentChangedEvent
openai/openai-python (openai)

v1.47.0

Compare Source

Full Changelog: v1.46.1...v1.47.0

Features
  • client: send retry count header (21b0c00)
Chores

v1.46.1

Compare Source

Full Changelog: v1.46.0...v1.46.1

Bug Fixes
Chores
psf/requests (requests)

v2.32.3

Compare Source

Bugfixes

  • Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of
    HTTPAdapter. (#​6716)
  • Fixed issue where Requests started failing to run on Python versions compiled
    without the ssl module. (#​6724)
SeleniumHQ/selenium (selenium-webdriver)

v4.24.1

Compare Source

UKPLab/sentence-transformers (sentence-transformers)

v3.1.1: - Patch hard negative mining & remove numpy<2 restriction

Compare Source

This patch release fixes hard negatives mining for models that don't automatically normalize their embeddings and it lifts the numpy<2 restriction that was previously required.

Install this version with

### Full installation:
pip install sentence-transformers[train]==3.1.1

### Inference only:
pip install sentence-transformers==3.1.1

Hard Negatives Mining Patch (#​2944)

The mine_hard_negatives utility introduced in the previous release would fail if use_faiss=True & the model does not automatically normalize its embeddings. This release patches that, allowing the utility to work with all Sentence Transformer models:

from sentence_transformers.util import mine_hard_negatives
from sentence_transformers import SentenceTransformer
from datasets import load_dataset

### Load a Sentence Transformer model
model = SentenceTransformer("mixedbread-ai/mxbai-embed-large-v1").bfloat16()

### Load a dataset to mine hard negatives from
dataset = load_dataset("sentence-transformers/natural-questions", split="train[:10000]")
print(dataset)
"""
Dataset({
    features: ['query', 'answer'],
    num_rows: 10000
})
"""

### Mine hard negatives
dataset = mine_hard_negatives(
    dataset=dataset,
    model=model,
    range_min=10,
    range_max=50,
    max_score=0.8,
    margin=0.1,
    num_negatives=5,
    sampling_strategy="random",
    batch_size=128,
    use_faiss=True,
)
'''
Batches: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 75/75 [00:21<00:00,  3.51it/s]
Batches: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 79/79 [00:03<00:00, 25.77it/s]
Querying FAISS index: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  3.98it/s]
Metric       Positive       Negative     Difference
Count          10,000         47,711
Mean           0.7600         0.5376         0.2299
Median         0.7673         0.5379         0.2274
Std            0.0658         0.0387         0.0629
Min            0.3858         0.3732         0.1044
25%            0.7219         0.5129         0.1833
50%            0.7673         0.5379         0.2274
75%            0.8058         0.5617         0.2724
Max            0.9341         0.7024         0.4780
Skipped 48770 potential negatives (9.56%) due to the margin of 0.1.
Could not find enough negatives for 2289 samples (4.58%). Consider adjusting the range_max, range_min, margin and max_score parameters if you'd like to find more valid negatives.
'''
print(dataset)
'''
Dataset({
    features: ['query', 'answer', 'negative'],
    num_rows: 47711
})
'''
print(dataset[0])
'''
{
    'query': 'where is the us navy base in japan located',
    'answer': 'United States Fleet Activities Yokosuka The United States Fleet Activities Yokosuka (横須賀海 軍施設, Yokosuka kaigunshisetsu) or Commander Fleet Activities Yokosuka (司令官艦隊活動横須賀, Shirei-kan kantai katsudō Yokosuka) is a United States Navy base in Yokosuka, Japan. Its mission is to maintain and operate base facilities for the logistic, recreational, administrative support and service of the U.S. Naval Forces Japan, Seventh Fleet and other operating forces assigned in the Western Pacific. CFAY is the largest strategically important U.S. naval installation in the western Pacific.[1] As of August 2013[update], it was commanded by Captain David Glenister.',
    'negative': "2011 Tōhoku earthquake and tsunami The earthquake took place at 14:46 JST (UTC 05:46) around 67\xa0km (42\xa0mi) from the nearest point on Japan's coastline, and initial estimates indicated the tsunami would have taken 10 to 30\xa0minutes to reach the areas first affected, and then areas farther north and south based on the geography of the coastline.[127][128] Just over an hour after the earthquake at 15:55 JST, a tsunami was observed flooding Sendai Airport, which is located near the coast of Miyagi Prefecture,[129][130] with waves sweeping away cars and planes and flooding various buildings as they traveled inland.[131][132] The impact of the tsunami in and around Sendai Airport was filmed by an NHK News helicopter, showing a number of vehicles on local roads trying to escape the approaching wave and being engulfed by it.[133] A 4-metre-high (13\xa0ft) tsunami hit Iwate Prefecture.[134] Wakabayashi Ward in Sendai was also particularly hard hit.[135] At least 101 designated tsunami evacuation sites were hit by the wave.[136]"
}
'''
dataset.push_to_hub("natural-questions-hard-negatives", "triplet")

Thanks to @​omarnj-lab for pointing out the bug to me.

Numpy restriction lifted (#​2937)

The v3.1.0 Sentence Transformers release required numpy<2 to prevent crashes on Windows. However, various third-parties (e.g. scipy) have now been recompiled & released, allowing the Windows tests to pass again.

If you experience the following snippet:

A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2.

Then consider 1) upgrading the dependency from which the error occurred or 2) downgrading numpy to below v2:

pip install -U numpy<2

Thanks to @​kozlek for pointing this out to me and helping getting it resolved.

All changes

Full Changelog: UKPLab/sentence-transformers@v3.1.0...v3.1.1

bahmutov/start-server-and-test (start-server-and-test)

v2.0.8

Compare Source

tailwindlabs/tailwindcss (tailwindcss)

v3.4.12

Compare Source

wevm/viem (viem)

v2.21.10

Compare Source

Patch Changes

v2.21.9

Compare Source

Patch Changes
  • 312160a Thanks @​jxom! - Fixed issue where watchBlock would not respect the emitOnBegin property for WebSocket Transports.

  • b509c6e Thanks @​jxom! - Fixed mnemonicToAccount options type.

v2.21.8

Compare Source

Patch Changes
vitejs/vite (vite)

v5.4.6

Compare Source

Please refer to CHANGELOG.md for details.

v5.4.5

Compare Source

Please refer to CHANGELOG.md for details.

v5.4.4

Compare Source

Please refer to CHANGELOG.md for details.

v5.4.3

Compare Source

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 17.23%. Comparing base (10be8c9) to head (7155f08).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #522   +/-   ##
=======================================
  Coverage   17.23%   17.23%           
=======================================
  Files         111      111           
  Lines        7971     7971           
  Branches      190      190           
=======================================
  Hits         1374     1374           
  Misses       6522     6522           
  Partials       75       75           

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

@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 4d0a6c2 to dad31eb Compare September 19, 2024 04:31
@renovate renovate bot changed the title chore(deps): update dependency requests to v2.32.3 chore(deps): update all non-major dependencies Sep 19, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from dad31eb to d9271a9 Compare September 19, 2024 09:43
@renovate renovate bot changed the title chore(deps): update all non-major dependencies fix(deps): update all non-major dependencies Sep 19, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from bf7c8a2 to 53b988b Compare September 19, 2024 14:51
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from e8490ea to be6b00e Compare September 20, 2024 12:03
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 1f80708 to 44ad8c9 Compare September 21, 2024 01:20
@renovate renovate bot changed the title fix(deps): update all non-major dependencies chore(deps): update all non-major dependencies Sep 21, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 2151605 to 924d93d Compare September 22, 2024 12:20
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 924d93d to 7155f08 Compare September 22, 2024 16:47
@renovate renovate bot merged commit 914275e into main Sep 23, 2024
22 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch September 23, 2024 12:45
Copy link
Contributor

🎉 This PR is included in version 0.9.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant