Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
5.59k stars 3.75k forks source link

Bump the python-requirements group across 1 directory with 17 updates #1665

Closed dependabot[bot] closed 4 weeks ago

dependabot[bot] commented 1 month ago

Bumps the python-requirements group with 17 updates in the / directory:

Package From To
annotated-types 0.6.0 0.7.0
anyio 4.3.0 4.4.0
fixedint 0.1.6 0.2.0
hypercorn 0.16.0 0.17.3
importlib-metadata 7.0.0 7.1.0
microsoft-kiota-abstractions 1.3.2 1.3.3
msgraph-sdk 1.1.0 1.4.0
openai[datalib] 1.30.1 1.30.4
opentelemetry-instrumentation-openai 0.18.2 0.21.0
pydantic 2.7.1 2.7.2
pydantic-core 2.18.2 2.18.3
quart 0.19.5 0.19.6
requests 2.31.0 2.32.3
types-pillow 10.2.0.20240511 10.2.0.20240520
typing-extensions 4.11.0 4.12.0
uvicorn 0.29.0 0.30.0
zipp 3.18.2 3.19.0

Updates annotated-types from 0.6.0 to 0.7.0

Release notes

Sourced from annotated-types's releases.

v0.7.0

What's Changed

New Contributors

Full Changelog: https://github.com/annotated-types/annotated-types/compare/v0.6.0...v0.7.0

Commits


Updates anyio from 4.3.0 to 4.4.0

Release notes

Sourced from anyio's releases.

4.4.0

  • Added the BlockingPortalProvider class to aid with constructing synchronous counterparts to asynchronous interfaces that would otherwise require multiple blocking portals
  • Added __slots__ to AsyncResource so that child classes can use __slots__ (#733; PR by Justin Su)
  • Added the TaskInfo.has_pending_cancellation() method
  • Fixed erroneous RuntimeError: called 'started' twice on the same task status when cancelling a task in a TaskGroup created with the start() method before the first checkpoint is reached after calling task_status.started() (#706; PR by Dominik Schwabe)
  • Fixed two bugs with TaskGroup.start() on asyncio:
    • Fixed erroneous RuntimeError: called 'started' twice on the same task status when cancelling a task in a TaskGroup created with the start() method before the first checkpoint is reached after calling task_status.started() (#706; PR by Dominik Schwabe)
    • Fixed the entire task group being cancelled if a TaskGroup.start() call gets cancelled (#685, #710)
  • Fixed a race condition that caused crashes when multiple event loops of the same backend were running in separate threads and simultaneously attempted to use AnyIO for their first time (#425; PR by David Jiricek and Ganden Schaffner)
  • Fixed cancellation delivery on asyncio incrementing the wrong cancel scope's cancellation counter when cascading a cancel operation to a child scope, thus failing to uncancel the host task (#716)
  • Fixed erroneous TypedAttributeLookupError if a typed attribute getter raises KeyError
  • Fixed the asyncio backend not respecting the PYTHONASYNCIODEBUG environment variable when setting the debug flag in anyio.run()
  • Fixed SocketStream.receive() not detecting EOF on asyncio if there is also data in the read buffer (#701)
  • Fixed MemoryObjectStream dropping an item if the item is delivered to a recipient that is waiting to receive an item but has a cancellation pending (#728)
  • Emit a ResourceWarning for MemoryObjectReceiveStream and MemoryObjectSendStream that were garbage collected without being closed (PR by Andrey Kazantcev)
  • Fixed MemoryObjectSendStream.send() not raising BrokenResourceError when the last corresponding MemoryObjectReceiveStream is closed while waiting to send a falsey item (#731; PR by Ganden Schaffner)
Changelog

Sourced from anyio's changelog.

Version history

This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.

UNRELEASED

  • Added support for the from_uri(), full_match(), parser methods/properties in anyio.Path, newly added in Python 3.13

4.4.0

  • Added the BlockingPortalProvider class to aid with constructing synchronous counterparts to asynchronous interfaces that would otherwise require multiple blocking portals

  • Added __slots__ to AsyncResource so that child classes can use __slots__ ([#733](https://github.com/agronholm/anyio/issues/733) <https://github.com/agronholm/anyio/pull/733>_; PR by Justin Su)

  • Added the TaskInfo.has_pending_cancellation() method

  • Fixed erroneous RuntimeError: called 'started' twice on the same task status when cancelling a task in a TaskGroup created with the start() method before the first checkpoint is reached after calling task_status.started() ([#706](https://github.com/agronholm/anyio/issues/706) <https://github.com/agronholm/anyio/issues/706>_; PR by Dominik Schwabe)

  • Fixed two bugs with TaskGroup.start() on asyncio:

    • Fixed erroneous RuntimeError: called 'started' twice on the same task status when cancelling a task in a TaskGroup created with the start() method before the first checkpoint is reached after calling task_status.started() ([#706](https://github.com/agronholm/anyio/issues/706) <https://github.com/agronholm/anyio/issues/706>_; PR by Dominik Schwabe)
    • Fixed the entire task group being cancelled if a TaskGroup.start() call gets cancelled ([#685](https://github.com/agronholm/anyio/issues/685) <https://github.com/agronholm/anyio/issues/685>, [#710](https://github.com/agronholm/anyio/issues/710) <https://github.com/agronholm/anyio/issues/710>)
  • Fixed a race condition that caused crashes when multiple event loops of the same backend were running in separate threads and simultaneously attempted to use AnyIO for their first time ([#425](https://github.com/agronholm/anyio/issues/425) <https://github.com/agronholm/anyio/issues/425>_; PR by David Jiricek and Ganden Schaffner)

  • Fixed cancellation delivery on asyncio incrementing the wrong cancel scope's cancellation counter when cascading a cancel operation to a child scope, thus failing to uncancel the host task ([#716](https://github.com/agronholm/anyio/issues/716) <https://github.com/agronholm/anyio/issues/716>_)

  • Fixed erroneous TypedAttributeLookupError if a typed attribute getter raises KeyError

  • Fixed the asyncio backend not respecting the PYTHONASYNCIODEBUG environment variable when setting the debug flag in anyio.run()

  • Fixed SocketStream.receive() not detecting EOF on asyncio if there is also data in the read buffer ([#701](https://github.com/agronholm/anyio/issues/701) <https://github.com/agronholm/anyio/issues/701>_)

  • Fixed MemoryObjectStream dropping an item if the item is delivered to a recipient that is waiting to receive an item but has a cancellation pending ([#728](https://github.com/agronholm/anyio/issues/728) <https://github.com/agronholm/anyio/issues/728>_)

  • Emit a ResourceWarning for MemoryObjectReceiveStream and MemoryObjectSendStream that were garbage collected without being closed (PR by Andrey Kazantcev)

... (truncated)

Commits
  • 053e8f0 Bumped up the version
  • e7f750b Fixed memory object stream sometimes dropping sent items (#735)
  • 9f5f14b Fixed task group getting cancelled if start() gets cancelled (#717)
  • 8b648bc Adjusted the pull request template
  • 3ff5e9a Rearranged changelog items
  • 541d1f8 [pre-commit.ci] pre-commit autoupdate (#734)
  • 8a07690 Fix MemoryObjectSendStream.send(falsey) not raising BrokenResourceError w...
  • 4b3de97 Adjust the headings in the PR template
  • dfc44cf Added __slots__ to AsyncResource (#733)
  • 96920b0 Fix typo in PR template (#730)
  • Additional commits viewable in compare view


Updates fixedint from 0.1.6 to 0.2.0

Changelog

Sourced from fixedint's changelog.

v0.2.0, 2020-09-16: Add type hints (GH #4) Removed the broken MutableFixedInt.itruediv Added base argument to FixedInt constructor

Commits
  • c6f9439 Version bump to v0.2.0
  • 035bdca Add py.typed and .pyi files to setup.py
  • b25aadc Documentation updates
  • 418c239 Add type hints. Fixes #4.
  • d2dbd20 Remove MutableFixedInt.itruediv (doesn't make sense), add base argument t...
  • See full diff in compare view


Updates hypercorn from 0.16.0 to 0.17.3

Changelog

Sourced from hypercorn's changelog.

0.17.3 2024-05-28

  • Restore set TCP_NODELAY on TCP sockets
  • Support uvloop >= 0.18 and the loop_factory argument
  • Bugfix ensure ExceptionGroup lifespan failures crash the server.

0.17.2 2024-05-27

  • Bugfix pass the correct quic connection to the H3 Protocol.

0.17.1 2024-05-27

  • Bugfix revert set TCP_NODELAY on sockets.

0.17.0 2024-05-27

  • Set TCP_NODELAY on sockets.
  • Support sending trailing headers on h2/h3.
  • Add support for lifespan state.
  • Allow sending of the response before body data arrives.
  • Bugfix properly set host header to ascii string in ProxyFixMiddleware.
  • Bugfix encode headers using latin-1.
  • Bugfix don't double-access log if the response was sent.
  • Bugfix a statsd logging bug.
  • Bugfix handle already-closed on StreamEnded.
  • Bugfix send a 400 response if data is received before the websocket is accepted.
  • Bugfix ensure only a single QUIC timer task per connection.
  • Bugfix ensure responses are sent with empty bodies for WSGI.
Commits
  • c405dea Bump and release 0.17.3
  • bfb0877 Bugfix ensure ExceptionGroup lifespan failures crash the server
  • edd0aac Support uvloop >= 0.18 and the loop_factory argument
  • bc6e1c0 Restore set TCP_NODELAY on TCP sockets
  • 7136c61 Bump and release 0.17.2
  • c03a75f Bugfix pass the correct quic connection to the H3 Protocol
  • 494268a Bump and release 0.17.1
  • 74d5b95 Revert "Set TCP_NODELAY on sockets"
  • a2e7bce Bump and release 0.17.0
  • d16b503 Improve the trailing headers support
  • Additional commits viewable in compare view


Updates importlib-metadata from 7.0.0 to 7.1.0

Changelog

Sourced from importlib-metadata's changelog.

v7.1.0

Features

  • python/cpython#114664

Bugfixes

  • Make MetadataPathFinder.find_distributions a classmethod for consistency with CPython. Closes #484. (#484)
  • Allow MetadataPathFinder.invalidate_caches to be called as a classmethod.

v7.0.2

No significant changes.

v7.0.1

Bugfixes

  • Corrected the interface for SimplePath to encompass the expectations of locate_file and PackagePath.
  • Fixed type annotations to allow strings.
Commits
  • f5d6b5f Finalize
  • 2ef3b5f Merge commit '1711b2c198'
  • 1711b2c Need to include names from test.support for py312 compat.
  • 47b14ac Make MetadataPathFinder.find_distributions a classmethod for consistency with...
  • adc4b12 Ensure tests do not leak references in sys.modules.
  • 07d894d Copy backport of isolated_modules from importlib_resources.
  • e30a16d Consolidated test support logic in jaraco.test.cpython.
  • 41ca039 Moved compatibility tests to the compat package, as they're not included in C...
  • 5950f43 Remove legacy logic for Python 3.7.
  • ffa719b Moved compatibility module to compat package.
  • Additional commits viewable in compare view


Updates microsoft-kiota-abstractions from 1.3.2 to 1.3.3

Commits


Updates msgraph-sdk from 1.1.0 to 1.4.0

Release notes

Sourced from msgraph-sdk's releases.

v1.4.0

Changed

  • Weekly generation with Kiota - 7th May 2024
  • Updated Request Configuration set up, allowing for default request Configuration as well as the Request builder custom Requestconfiguration for backward compatibility.

v1.3.0

Changed

  • Weekly generation with Kiota.

v1.2.0

Added

  • Added support for form and multipart serialization.

Changed

  • Latest metadata updates from 24th March 2024.
Changelog

Sourced from msgraph-sdk's changelog.

[1.4.0] - 2024-05-08

Changed

  • Weekly generation with Kiota - 7th May 2024
  • Updated Request Configuration set up, allowing for default request Configuration as well as the Request builder custom Requestconfiguration for backward compatibility.

[1.3.0] - 2024-04-16

Changed

  • Weekly generation with Kiota.

[1.2.0] - 2024-03-19

Added

  • Added support for form and multipart serialization.

Changed

  • Latest metadata updates from 24th March 2024.
Commits
  • 6907966 Merge pull request #709 from microsoftgraph/hotfix/fix-release
  • 44c0a49 - fixes changelog entry to match version
  • dca1a26 Revert "update astroid package version"
  • 045491a Revert "Bump pylint from 3.1.1 to 3.2.0"
  • 276cb94 update astroid package version
  • ea7716b update version
  • 01c969b Merge branch 'main' of github.com:microsoftgraph/msgraph-sdk-python
  • b29d073 Merge pull request #706 from microsoftgraph/dependabot/pip/pylint-3.2.0
  • 27ccaa0 update version
  • 9255252 Merge pull request #703 from microsoftgraph/v1.0/pipelinebuild/148567
  • Additional commits viewable in compare view


Updates openai[datalib] from 1.30.1 to 1.30.4

Release notes

Sourced from openai[datalib]'s releases.

v1.30.4

1.30.4 (2024-05-28)

Full Changelog: v1.30.3...v1.30.4

Chores

  • add missing all definitions (7fba60f)
  • internal: fix lint issue (f423cd0)

v1.30.3

1.30.3 (2024-05-24)

Full Changelog: v1.30.2...v1.30.3

Chores

Documentation

  • contributing: update references to rye-up.com (dcc34a2)

v1.30.2

1.30.2 (2024-05-23)

Full Changelog: v1.30.1...v1.30.2

Chores

Changelog

Sourced from openai[datalib]'s changelog.

1.30.4 (2024-05-28)

Full Changelog: v1.30.3...v1.30.4

Chores

  • add missing all definitions (7fba60f)
  • internal: fix lint issue (f423cd0)

1.30.3 (2024-05-24)

Full Changelog: v1.30.2...v1.30.3

Chores

Documentation

  • contributing: update references to rye-up.com (dcc34a2)

1.30.2 (2024-05-23)

Full Changelog: v1.30.1...v1.30.2

Chores

Commits


Updates opentelemetry-instrumentation-openai from 0.18.2 to 0.21.0

Release notes

Sourced from opentelemetry-instrumentation-openai's releases.

0.21.0

v0.21.0 (2024-05-27)

Feat

  • vertexai: vertexai.generative_models / llm_model detection (#1141)

Fix

  • bedrock: support simple string in prompts (#1167)
  • langchain: stringification fails for lists of LangChain Documents (#1140)

[main 437bcb6a] bump: version 0.20.0 → 0.21.0 40 files changed, 50 insertions(+), 39 deletions(-)

0.20.0

v0.20.0 (2024-05-26)

Feat

  • mistral: implement instrumentation (#1139)
  • ollama: implement instrumentation (#1138)

Fix

  • anthropic: don't fail if can't count anthropic tokens (#1142)
  • ollama: proper unwrapping; limit instrumentations to versions <1
  • bedrock: instrument bedrock calls for Langchain (with session) (#1135)

[main 365a2412] bump: version 0.19.0 → 0.20.0 40 files changed, 52 insertions(+), 39 deletions(-)

0.19.0

v0.19.0 (2024-05-22)

Feat

  • milvus: add Milvus instrumentation (#1068)

Fix

  • add explicit buckets to pinecone histograms (#1129)
  • pinecone: backport to v2.2.2 (#1122)
  • llm metrics naming + views (#1121)
  • langchain: better serialization of inputs and outputs (#1120)
  • sdk: failsafe against instrumentation initialization errors (#1117)
  • sdk: instrument milvus (#1116)

[main d0439a4f] bump: version 0.18.2 → 0.19.0 35 files changed, 49 insertions(+), 34 deletions(-)

Changelog

Sourced from opentelemetry-instrumentation-openai's changelog.

v0.21.0 (2024-05-27)

Feat

  • vertexai: vertexai.generative_models / llm_model detection (#1141)

Fix

  • bedrock: support simple string in prompts (#1167)
  • langchain: stringification fails for lists of LangChain Documents (#1140)

v0.20.0 (2024-05-26)

Feat

  • mistral: implement instrumentation (#1139)
  • ollama: implement instrumentation (#1138)

Fix

  • anthropic: don't fail if can't count anthropic tokens (#1142)
  • ollama: proper unwrapping; limit instrumentations to versions <1
  • bedrock: instrument bedrock calls for Langchain (with session) (#1135)

v0.19.0 (2024-05-22)

Feat

  • milvus: add Milvus instrumentation (#1068)

Fix

  • add explicit buckets to pinecone histograms (#1129)
  • pinecone: backport to v2.2.2 (#1122)
  • llm metrics naming + views (#1121)
  • langchain: better serialization of inputs and outputs (#1120)
  • sdk: failsafe against instrumentation initialization errors (#1117)
  • sdk: instrument milvus (#1116)
Commits
  • 437bcb6 bump: version 0.20.0 → 0.21.0
  • 2981635 fix(bedrock): support simple string in prompts (#1167)
  • e47a406 fix(langchain): stringification fails for lists of LangChain Documents (#1140)
  • f1be585 feat(vertexai): vertexai.generative_models / llm_model detection (#1141)
  • 365a241 bump: version 0.19.0 → 0.20.0
  • 039f8f7 chore(milvus): bump version.py
  • 1268b72 fix(anthropic): don't fail if can't count anthropic tokens (#1142)
  • 0ef0bc7 fix(ollama): proper unwrapping; limit instrumentations to versions <1
  • 92da4ad feat(mistral): implement instrumentation (#1139)
  • 811afa3 feat(ollama): implement instrumentation (#1138)
  • Additional commits viewable in compare view


Updates pydantic from 2.7.1 to 2.7.2

Release notes

Sourced from pydantic's releases.

v2.7.2 (2024-05-28)

What's Changed

Packaging

Fixes

Full Changelog: https://github.com/pydantic/pydantic/compare/v2.7.1...v2.7.2/

Changelog

Sourced from pydantic's changelog.

v2.7.2 (2024-05-28)

GitHub release

What's Changed

Packaging

Fixes

Commits


Updates pydantic-core from 2.18.2 to 2.18.3

Release notes

Sourced from pydantic-core's releases.

v2.18.3 2024-05-28

What's Changed

Packaging

Fixes

New Contributors

Full Changelog: https://github.com/pydantic/pydantic-core/compare/v2.18.2...v2.18.3

Commits


Updates quart from 0.19.5 to 0.19.6

Changelog

Sourced from quart's changelog.

0.19.6 2024-05-19

  • Bugfix use ContentRange in the right way. See issue #331.
  • Bugfix hold a strong reference to background tasks.
  • Bugfix avoid ResourceWarning in DataBody.aiter.
Commits
  • 2fc6d4f Bump and release 0.19.6
  • f58d3c8 Switch to the new logos
  • f0f4e7c Bump actions/cache from 3.3.2 to 4.0.0
  • dda7951 Bump actions/upload-artifact from 3 to 4
  • 5b90120 Bump actions/download-artifact from 3 to 4
  • f57d5c6 Bump actions/setup-python from 4 to 5
  • e0e9cde Bump dessant/lock-threads from 4 to 5
  • 6a45284 avoid ResourceWarning in DataBody.__aiter__ (#302)
  • 425f685 Bugfix hold a strong reference to background tasks
  • 3508d9a Fix mypy issues
  • Additional commits viewable in compare view


Updates requests from 2.31.0 to 2.32.3

Release notes

Sourced from requests's releases.

v2.32.3

2.32.3 (2024-05-29)

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)

v2.32.2

2.32.2 (2024-05-21)

Deprecations

  • To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing custom HTTPAdapters will need to migrate their code to use this new API. get_connection is considered deprecated in all versions of Requests>=2.32.0.

    A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (#6710)

v2.32.1

2.32.1 (2024-05-20)

Bugfixes

  • Add missing test certs to the sdist distributed on PyPI.

v2.32.0

2.32.0 (2024-05-20)

🐍 PYCON US 2024 EDITION 🐍

Security

Improvements

  • verify=True now reuses a global SSLContext which should improve request time variance between first and subsequent requests. It should also minimize certificate load time on Windows systems when using a Python version built with OpenSSL 3.x. (#6667)
  • Requests now supports optional use of character detection (chardet or charset_normalizer) when repackaged or vendored.

... (truncated)

Changelog

Sourced from requests's changelog.

2.32.3 (2024-05-29)

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)

2.32.2 (2024-05-21)

Deprecations

  • To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing custom HTTPAdapters will need to migrate their code to use this new API. get_connection is considered deprecated in all versions of Requests>=2.32.0.

    A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (#6710)

2.32.1 (2024-05-20)

Bugfixes

  • Add missing test certs to the sdist distributed on PyPI.

2.32.0 (2024-05-20)

Security

Improvements

  • verify=True now reuses a global SSLContext which should improve request time variance between first and subsequent requests. It should also minimize certificate load time on Windows systems when using a Python version built with OpenSSL 3.x. (#6667)
  • Requests now supports optional use of character detection (chardet or charset_normalizer) when repackaged or vendored. This enables pip and o... _Description has been truncated_