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

Bump the python-requirements group with 5 updates #1029

Merged
merged 3 commits into from
Dec 6, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 2023

Bumps the python-requirements group with 5 updates:

Package From To
anyio 3.7.1 4.1.0
fixedint 0.1.6 0.2.0
importlib-metadata 6.8.0 7.0.0
openai[datalib] 1.3.6 1.3.7
tiktoken 0.5.1 0.5.2

Updates anyio from 3.7.1 to 4.1.0

Release notes

Sourced from anyio's releases.

4.1.0

  • Adapted to API changes made in Trio v0.23:
    • Call trio.to_thread.run_sync() using the abandon_on_cancel keyword argument instead of cancellable
    • Removed a checkpoint when exiting a task group
    • Renamed the cancellable argument in anyio.to_thread.run_sync() to abandon_on_cancel (and deprecated the old parameter name)
    • Bumped minimum version of Trio to v0.23
  • Added support for voluntary thread cancellation via anyio.from_thread.check_cancelled()
  • Bumped minimum version of trio to v0.23
  • Exposed the ResourceGuard class in the public API (#627)
  • Fixed RuntimeError: Runner is closed when running higher-scoped async generator fixtures in some cases (#619)
  • Fixed discrepancy between asyncio and trio where reraising a cancellation exception in an except* block would incorrectly bubble out of its cancel scope (#634)

4.0.0

  • BACKWARDS INCOMPATIBLE Replaced AnyIO's own ExceptionGroup class with the PEP 654 BaseExceptionGroup and ExceptionGroup
  • BACKWARDS INCOMPATIBLE Changes to cancellation semantics:
    • Any exceptions raising out of a task groups are now nested inside an ExceptionGroup (or BaseExceptionGroup if one or more BaseException were included)
    • Fixed task group not raising a cancellation exception on asyncio at exit if no child tasks were spawned and an outer cancellation scope had been cancelled before
    • Ensured that exiting a TaskGroup always hits a yield point, regardless of whether there are running child tasks to be waited on
    • On asyncio, cancel scopes will defer cancelling tasks that are scheduled to resume with a finished future
    • On asyncio and Python 3.9/3.10, cancel scopes now only suppress cancellation exceptions if the cancel message matches the scope
    • Task groups on all backends now raise a single cancellation exception when an outer cancel scope is cancelled, and no exceptions other than cancellation exceptions are raised in the group
  • BACKWARDS INCOMPATIBLE Changes the pytest plugin to run all tests and fixtures in the same task, allowing fixtures to set context variables for tests and other fixtures
  • BACKWARDS INCOMPATIBLE Changed anyio.Path.relative_to() and anyio.Path.is_relative_to() to only accept one argument, as passing multiple arguments is deprecated as of Python 3.12
  • BACKWARDS INCOMPATIBLE Dropped support for spawning tasks from old-style coroutine functions (@asyncio.coroutine)
  • BACKWARDS INCOMPATIBLE The policy option on the asyncio backend was changed to loop_factory to accommodate asyncio.Runner
  • Changed anyio.run() to use asyncio.Runner (or a back-ported version of it on Pythons older than 3.11) on the asyncio backend
  • Dropped support for Python 3.7
  • Added support for Python 3.12
  • Bumped minimum version of trio to v0.22
  • Added the anyio.Path.is_junction() and anyio.Path.walk() methods
  • Added create_unix_datagram_socket and create_connected_unix_datagram_socket to create UNIX datagram sockets (PR by Jean Hominal)
  • Fixed from_thread.run and from_thread.run_sync not setting sniffio on asyncio. As a result:
    • Fixed from_thread.run_sync failing when used to call sniffio-dependent functions on asyncio
    • Fixed from_thread.run failing when used to call sniffio-dependent functions on asyncio from a thread running trio or curio
    • Fixed deadlock when using from_thread.start_blocking_portal(backend="asyncio") in a thread running trio or curio (PR by Ganden Schaffner)
  • Improved type annotations:
    • The item_type argument of create_memory_object_stream was deprecated. To indicate the item type handled by the stream, use create_memory_object_stream[T_Item]() instead. Type checking should no longer fail when annotating memory object streams with uninstantiable item types (PR by Ganden Schaffner)
  • Added the CancelScope.cancelled_caught property which tells users if the cancel scope suppressed a cancellation exception
  • Fixed fail_after() raising an unwarranted TimeoutError when the cancel scope was cancelled before reaching its deadline
  • Fixed MemoryObjectReceiveStream.receive() causing the receiving task on asyncio to remain in a cancelled state if the operation was cancelled after an item was queued to be received by the task (but before the task could actually receive the item)
  • Fixed TaskGroup.start() on asyncio not responding to cancellation from the outside
  • Fixed tasks started from BlockingPortal not notifying synchronous listeners (concurrent.futures.wait()) when they're cancelled
  • Removed unnecessary extra waiting cycle in Event.wait() on asyncio in the case where the event was not yet set
  • Fixed processes spawned by anyio.to_process() being "lost" as unusable to the process pool when processes that have idled over 5 minutes are pruned at part of the to_process.run_sync() call, leading to increased memory consumption (PR by Anael Gorfinkel)

Changes since 4.0.0rc1:

  • Fixed the type annotation of TaskGroup.start_soon() to accept any awaitables (already in v3.7.0 but was missing from 4.0.0rc1)
  • Changed CancelScope to also consider the cancellation count (in addition to the cancel message) on asyncio to determine if a cancellation exception should be swallowed on scope exit, to combat issues where third party libraries catch the CancelledError and raise another, thus erasing the original cancel message
  • Worked around a CPython bug that caused TLSListener.handle_handshake_error() on asyncio to log "NoneType: None" instead of the error (PR by Ganden Schaffner)

... (truncated)

Changelog

Sourced from anyio's changelog.

Version history

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

UNRELEASED

  • Add support for byte-based paths in connect_unix, create_unix_listeners, create_unix_datagram_socket, and create_connected_unix_datagram_socket. (PR by Lura Skye.)

4.1.0

  • Adapted to API changes made in Trio v0.23:

    • Call trio.to_thread.run_sync() using the abandon_on_cancel keyword argument instead of cancellable
    • Removed a checkpoint when exiting a task group
    • Renamed the cancellable argument in anyio.to_thread.run_sync() to abandon_on_cancel (and deprecated the old parameter name)
    • Bumped minimum version of Trio to v0.23
  • Added support for voluntary thread cancellation via anyio.from_thread.check_cancelled()

  • Bumped minimum version of trio to v0.23

  • Exposed the ResourceGuard class in the public API ([#627](https://github.com/agronholm/anyio/issues/627) <https://github.com/agronholm/anyio/issues/627>_)

  • Fixed RuntimeError: Runner is closed when running higher-scoped async generator fixtures in some cases ([#619](https://github.com/agronholm/anyio/issues/619) <https://github.com/agronholm/anyio/issues/619>_)

  • Fixed discrepancy between asyncio and trio where reraising a cancellation exception in an except* block would incorrectly bubble out of its cancel scope ([#634](https://github.com/agronholm/anyio/issues/634) <https://github.com/agronholm/anyio/issues/634>_)

4.0.0

  • BACKWARDS INCOMPATIBLE Replaced AnyIO's own ExceptionGroup class with the PEP 654 BaseExceptionGroup and ExceptionGroup

  • BACKWARDS INCOMPATIBLE Changes to cancellation semantics:

    • Any exceptions raising out of a task groups are now nested inside an ExceptionGroup (or BaseExceptionGroup if one or more BaseException were included)
    • Fixed task group not raising a cancellation exception on asyncio at exit if no child tasks were spawned and an outer cancellation scope had been cancelled before
    • Ensured that exiting a TaskGroup always hits a yield point, regardless of whether there are running child tasks to be waited on
    • On asyncio, cancel scopes will defer cancelling tasks that are scheduled to resume with a finished future
    • On asyncio and Python 3.9/3.10, cancel scopes now only suppress cancellation exceptions if the cancel message matches the scope
    • Task groups on all backends now raise a single cancellation exception when an outer

... (truncated)

Commits
  • 46a45c7 Bumped up the version
  • 8079a22 Added links to closed issues
  • 3a01793 Added a "Queues" section to the docs for anyone looking for queues
  • 3186fb9 Implemented voluntary cancellation in worker threads (#629)
  • c360b99 Fixed asyncio CancelScope not recognizing its own cancellation exception (#...
  • 523381a Install uvloop on Python 3.12 too for tests
  • f0707cd Fixed RuntimeError: Runner is closed in the pytest plugin (#635)
  • 97b7b08 Fixed ExceptionGroup example (#637)
  • 0eab46a [pre-commit.ci] pre-commit autoupdate (#636)
  • 019835a Updated pre-commit modules
  • 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 importlib-metadata from 6.8.0 to 7.0.0

Changelog

Sourced from importlib-metadata's changelog.

v7.0.0

Deprecations and Removals

  • Removed EntryPoint access by numeric index (tuple behavior).

v6.11.0

Features

  • Added Distribution.origin supplying the direct_url.json in a SimpleNamespace. (#404)

v6.10.0

Features

  • Added diagnose script. (#461)

v6.9.0

Features

  • Added EntryPoints.repr (#473)
Commits
  • fb492e1 Finalize
  • 37113c2 Removed EntryPoint access by numeric index (tuple behavior).
  • 84418f8 Finalize
  • 537349c Merge pull request #465 from python/feature/origin
  • 51b3be4 Merge branch 'main' into feature/origin
  • e886c99 Use a SiteBuilder class to build files in the site, traversing the class hier...
  • f480907 Add test capturing expectation. Ref #404
  • 8439918 Add changelog
  • 7238302 Restore pypy tests now that 3.10 is the standard. Bypasses issue in #463.
  • 02bbfb0 Finalize
  • Additional commits viewable in compare view

Updates openai[datalib] from 1.3.6 to 1.3.7

Release notes

Sourced from openai[datalib]'s releases.

v1.3.7

1.3.7 (2023-12-01)

Full Changelog: v1.3.6...v1.3.7

Bug Fixes

  • client: correct base_url setter implementation (#919) (135d9cf)
  • client: don't cause crashes when inspecting the module (#897) (db029a5)
  • client: ensure retried requests are closed (#902) (e025e6b)

Chores

  • internal: add tests for proxy change (#899) (71a13d0)
  • internal: remove unused type var (#915) (4233bcd)
  • internal: replace string concatenation with f-strings (#908) (663a8f6)
  • internal: replace string concatenation with f-strings (#909) (caab767)

Documentation

Changelog

Sourced from openai[datalib]'s changelog.

1.3.7 (2023-12-01)

Full Changelog: v1.3.6...v1.3.7

Bug Fixes

  • client: correct base_url setter implementation (#919) (135d9cf)
  • client: don't cause crashes when inspecting the module (#897) (db029a5)
  • client: ensure retried requests are closed (#902) (e025e6b)

Chores

  • internal: add tests for proxy change (#899) (71a13d0)
  • internal: remove unused type var (#915) (4233bcd)
  • internal: replace string concatenation with f-strings (#908) (663a8f6)
  • internal: replace string concatenation with f-strings (#909) (caab767)

Documentation

Commits
  • e369566 release: 1.3.7
  • f6f38a9 fix(client): correct base_url setter implementation (#919)
  • 4d9ece0 chore(internal): remove unused type var (#915)
  • 104e5a5 chore(internal): replace string concatenation with f-strings (#909)
  • 6817fcd chore(internal): replace string concatenation with f-strings (#908)
  • fb5ba01 docs(readme): update example snippets (#907)
  • bcfbab7 docs: fix typo in readme (#904)
  • 7aad340 fix(client): ensure retried requests are closed (#902)
  • 2e7e897 chore(internal): add tests for proxy change (#899)
  • 84c85bd fix(client): don't cause crashes when inspecting the module (#897)
  • See full diff in compare view

Updates tiktoken from 0.5.1 to 0.5.2

Changelog

Sourced from tiktoken's changelog.

[v0.5.2]

  • Build wheels for Python 3.12
  • Update version of PyO3 to allow multiple imports
  • Avoid permission errors when using default cache logic
Commits

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 python-requirements group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [anyio](https://github.com/agronholm/anyio) | `3.7.1` | `4.1.0` |
| [fixedint](https://github.com/nneonneo/fixedint) | `0.1.6` | `0.2.0` |
| [importlib-metadata](https://github.com/python/importlib_metadata) | `6.8.0` | `7.0.0` |
| [openai[datalib]](https://github.com/openai/openai-python) | `1.3.6` | `1.3.7` |
| [tiktoken](https://github.com/openai/tiktoken) | `0.5.1` | `0.5.2` |


Updates `anyio` from 3.7.1 to 4.1.0
- [Release notes](https://github.com/agronholm/anyio/releases)
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/anyio@3.7.1...4.1.0)

Updates `fixedint` from 0.1.6 to 0.2.0
- [Changelog](https://github.com/nneonneo/fixedint/blob/master/CHANGES)
- [Commits](nneonneo/fixedint@v0.1.6...v0.2.0)

Updates `importlib-metadata` from 6.8.0 to 7.0.0
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
- [Commits](python/importlib_metadata@v6.8.0...v7.0.0)

Updates `openai[datalib]` from 1.3.6 to 1.3.7
- [Release notes](https://github.com/openai/openai-python/releases)
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md)
- [Commits](openai/openai-python@v1.3.6...v1.3.7)

Updates `tiktoken` from 0.5.1 to 0.5.2
- [Release notes](https://github.com/openai/tiktoken/releases)
- [Changelog](https://github.com/openai/tiktoken/blob/main/CHANGELOG.md)
- [Commits](openai/tiktoken@0.5.1...0.5.2)

---
updated-dependencies:
- dependency-name: anyio
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-requirements
- dependency-name: fixedint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-requirements
- dependency-name: importlib-metadata
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-requirements
- dependency-name: openai[datalib]
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: tiktoken
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
...

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 Dec 4, 2023
@pamelafox pamelafox merged commit c00395a into main Dec 6, 2023
10 checks passed
@pamelafox pamelafox deleted the dependabot/pip/python-requirements-6a34b78f0c branch December 6, 2023 19:26
HughRunyan pushed a commit to RMI/RMI_chatbot that referenced this pull request Mar 26, 2024
* Bump the python-requirements group with 5 updates

Bumps the python-requirements group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [anyio](https://github.com/agronholm/anyio) | `3.7.1` | `4.1.0` |
| [fixedint](https://github.com/nneonneo/fixedint) | `0.1.6` | `0.2.0` |
| [importlib-metadata](https://github.com/python/importlib_metadata) | `6.8.0` | `7.0.0` |
| [openai[datalib]](https://github.com/openai/openai-python) | `1.3.6` | `1.3.7` |
| [tiktoken](https://github.com/openai/tiktoken) | `0.5.1` | `0.5.2` |


Updates `anyio` from 3.7.1 to 4.1.0
- [Release notes](https://github.com/agronholm/anyio/releases)
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/anyio@3.7.1...4.1.0)

Updates `fixedint` from 0.1.6 to 0.2.0
- [Changelog](https://github.com/nneonneo/fixedint/blob/master/CHANGES)
- [Commits](nneonneo/fixedint@v0.1.6...v0.2.0)

Updates `importlib-metadata` from 6.8.0 to 7.0.0
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
- [Commits](python/importlib_metadata@v6.8.0...v7.0.0)

Updates `openai[datalib]` from 1.3.6 to 1.3.7
- [Release notes](https://github.com/openai/openai-python/releases)
- [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md)
- [Commits](openai/openai-python@v1.3.6...v1.3.7)

Updates `tiktoken` from 0.5.1 to 0.5.2
- [Release notes](https://github.com/openai/tiktoken/releases)
- [Changelog](https://github.com/openai/tiktoken/blob/main/CHANGELOG.md)
- [Commits](openai/tiktoken@0.5.1...0.5.2)

---
updated-dependencies:
- dependency-name: anyio
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-requirements
- dependency-name: fixedint
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-requirements
- dependency-name: importlib-metadata
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-requirements
- dependency-name: openai[datalib]
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: tiktoken
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating reqs for real

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pamela Fox <pamela.fox@gmail.com>
Co-authored-by: Pamela Fox <pamelafox@microsoft.com>
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.

1 participant