Skip to content

chore(deps): bump anyio from 4.11.0 to 4.14.2 in /envs/websearch_env - #1202

Merged
cursor[bot] merged 3 commits into
mainfrom
dependabot/uv/envs/websearch_env/anyio-4.14.2
Sep 18, 2026
Merged

cursor[bot] merged 3 commits into
mainfrom
dependabot/uv/envs/websearch_env/anyio-4.14.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 18, 2026

Copy link
Copy Markdown
Contributor

Bumps anyio from 4.11.0 to 4.14.2.

Release notes

Sourced from anyio's releases.

4.14.2

  • Changed ByteReceiveStream.receive() implementations to raise a ValueError when max_bytes is not a positive integer (#1191)
  • Fixed CapacityLimiter.total_tokens rejecting float("inf") when the limiter was instantiated outside of an event loop. The adapter setter checked for infinity by identity (value is math.inf), so only the exact math.inf singleton was accepted, while every backend setter (using math.isinf()) accepts any positive infinity (#1189; PR by @​greymoth-jp).
  • Fixed to_process.run_sync() deadlocking when the worker function writes enough data to sys.stderr to fill the (undrained) pipe buffer. The worker process now redirects sys.stderr to os.devnull as well, matching the documented behavior
  • Fixed TLSStream.wrap() matching an internationalized (unicode) host name against the peer certificate using IDNA 2003 (via the standard library) instead of IDNA 2008, which could cause the host name to be matched against the wrong certificate (#1208)
  • Fixed anyio.open_process() (and run_process()) ignoring the extra_groups argument, as it mistakenly passed the value of the group argument instead (#1209)
  • Fixed CapacityLimiter.acquire_nowait() and CapacityLimiter.acquire_nowait_on_behalf_of() raising trio.WouldBlock instead of anyio.WouldBlock on the trio backend when there are no tokens available (#1218)
  • Fixed CapacityLimiter on the asyncio backend over-granting tokens (borrowed_tokens exceeding total_tokens and available_tokens going negative) when a non-blocking acquire was made in the window between a token being released and the notified waiter resuming. The freed token is now reserved for the woken waiter right away, so the non-blocking acquire correctly raises WouldBlock (#1170; PR by @​gaoflow)
  • Fixed unnecessary CPU spin when delivering cancellation from CancelScope on asyncio under certain conditions, including improper cancel scope nesting (#1111)

4.14.1

  • Fixed teardown of higher-scoped async fixtures failing on asyncio with RuntimeError: Attempted to exit cancel scope in a different task than it was entered in when an async test raise an outcome exception (e.g., pytest.skip(), pytest.xfail(), or pytest.fail()) (#1179; PR by @​EmmanuelNiyonshuti)
  • Fixed CapacityLimiter.total_tokens rejecting a value of 0 when the limiter was instantiated outside of an event loop, contradicting the documented behavior of allowing 0 total tokens (#1183; PR by @​nyxst4ck)

4.14.0

  • Added support for Python 3.15

  • Added an asynchronous implementation of the itertools module (#998; PR by @​11kkw)

  • Added the local_port parameter to connect_tcp() to allow binding to a specific local port before connecting (#1067; PR by @​nullwiz)

  • Added support for custom capacity limiters in async path and file I/O functions and classes

  • Added the create_task() task group method for easier asyncio migration (returns a TaskHandle) (#1098)

  • Changed TaskGroup.start_soon() to return a TaskHandle

  • Added an option for TaskGroup.start() to return a TaskHandle (which then contains the start value in the start_value property)

  • Added the cancel() convenience method to TaskGroup as a shortcut for cancelling the task group's cancel scope

  • Improved the error message when a known backend is not installed to suggest the install command (#1115; PR by @​EmmanuelNiyonshuti)

  • Improved anyio.Path to preserve subclass types by returning Self in methods that return path objects (#1130; PR by @​EmmanuelNiyonshuti)

  • Changed the parameter type annotation in anyio.Path.write_bytes() to accept any ReadableBuffer, thus allowing it to accept bytearray and memoryview to match pathlib.Path.write_bytes() (#1135; PR by @​SAY-5)

  • Changed several type annotations to only accept callables returning coroutine-like objects instead of arbitrary awaitables:

    • TaskGroup.start_soon()
    • TaskGroup.start()
    • anyio.from_thread.run()

    This reverts an earlier change from v3.7.0 which was made in error. (#1153)

  • Changed anyio.run to support callables returning arbitrary awaitables at runtime on all backends. Previously, this only worked on asyncio (#1171; PR by @​gschaffner)

  • Changed several classes (and their subclasses) to have __slots__ (with __weakref__):

    • anyio.CancelScope

... (truncated)

Commits
  • c384f99 Bumped up the version
  • dbba29d Fixed 100% CPU spin on cancel scope misuse (#1217)
  • 6bbc6c3 Fix CapacityLimiter over-granting tokens on asyncio (#1172)
  • 6f82b25 Refactored TestTLSStream.test_receive_invalid_max_bytes() to be less flaky
  • be24b04 Relaxed timeouts to fix test flakiness
  • 8113506 Fix test flakiness caused by slow callback duration logging
  • 1e988b6 Fixed CapacityLimiter raising trio.WouldBlock instead of anyio.WouldBlock (#1...
  • 44713f3 Pin setup-uv to a commit sha across downstream jobs (#1213)
  • f1b7301 Fixed stderr writes in a worker subprocess causing a deadlock (#1207)
  • 212be93 Fix flaky test_tcp_listener_same_port using a hardcoded port (#1206)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note

Low Risk
Lockfile-only dependency resolution with no application code changes; anyio 4.14.x is a routine patch/minor upgrade with asyncio and TLS fixes.

Overview
Updates envs/carla_env/uv.lock and envs/grid_world_env/uv.lock so the resolved anyio package moves from 4.12.1 to 4.14.2 (new sdist/wheel hashes only in carla; same bump in grid_world).

The grid_world lockfile also reflects a fuller resolve against the editable root openenv at 0.5.1.dev0: adds packaging, caps fastmcp to <4.0.0, registers optional harbor and novita extras (and jsonschema under dev), and tweaks secretstorage dependency markers (platform conditions dropped on cryptography / jeepney).

Reviewed by Cursor Bugbot for commit f2bacbb. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [anyio](https://github.com/agronholm/anyio) from 4.11.0 to 4.14.2.
- [Release notes](https://github.com/agronholm/anyio/releases)
- [Commits](agronholm/anyio@4.11.0...4.14.2)

---
updated-dependencies:
- dependency-name: anyio
  dependency-version: 4.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added Dependencies python:uv Pull requests that update python:uv code labels Sep 18, 2026
@burtenshaw burtenshaw added environment size: small Small pull request labels Sep 18, 2026 — with Cursor
@bot-ci-comment

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alignment Review Report

Automated Checks

  • Lint: FAIL — but pre-existing baseline only, not caused by this PR. bash .claude/hooks/lint.sh reports 56 files across src/, tests/, and other envs/ would be reformatted (usort + ruff). None are under envs/websearch_env/, and this PR changes only uv.lock, which the formatters don't touch. No lint finding is attributable to this change.
  • Debug code: FOUND — also pre-existing baseline only. check-debug.sh lists print(/TODO occurrences, all under src/, a tree this PR does not modify. Not attributable to this change.
  • Lockfile consistency: PASS. uv lock --check --offline resolves 124 packages (exit 0), so the updated uv.lock is consistent with envs/websearch_env/pyproject.toml.

Change Summary

Dependabot bumps the transitive dependency anyio 4.11.0 → 4.14.2 in envs/websearch_env/uv.lock (only file changed; +12/-13). anyio is not a direct dependency in pyproject.toml — it's pulled in via fastapi/uvicorn/starlette/httpx/openai/openenv. The diff also carries the usual re-resolution byproducts: simplified environment markers on pandas (2.3.3 / 3.0.2) and secretstorage, and removal of sniffio from anyio's own dependency list. sniffio remains resolved in the graph (still required by openai 2.32.0), so nothing is orphaned.

Open RFCs Context

All RFCs are In Review or Draft; none govern dependency pinning or transitive versions, so none are relevant here:

  • In Review: 000 (project phases), 001 (abstractions), 002 (env spec), 003 (MCP support), 005 (agentic harnesses), 008 (auto-validation), 012 (harbor capture providers)
  • Draft: 010 (echo-env token world model), 011 (ARD catalog discovery)
  • 004 (rubrics): no status header present

Tier 1: Fixes Required

None. The lint/debug hook findings are pre-existing repo baseline and unrelated to this lock-file-only change.

Tier 2: Alignment Discussion

Principle Conflicts

None identified. A transitive dependency lock bump does not affect the Gymnasium-style API, client/server separation, reward-in-environment, MCP/WebSocket boundaries, or type-safety invariants.

RFC Conflicts

None identified. No open RFC covers dependency versioning.

Summary

  • 0 mechanical issues to fix (lint/debug findings are pre-existing baseline, not from this PR)
  • 0 alignment points for human review
  • 0 RFC conflicts to discuss

Verified low-risk transitive dependency bump — uv lock --check passes and the lockfile stays consistent with pyproject.toml.

Open in Web View Automation 

Sent by Cursor Automation: Pre-review

cursoragent and others added 2 commits September 18, 2026 22:07
…io security refresh

Co-authored-by: benjamin.burtenshaw <benjamin.burtenshaw@huggingface.co>
Batch the remaining open anyio security lock updates onto this PR so they
land in one CI/merge cycle after #1201.

Co-authored-by: benjamin.burtenshaw <benjamin.burtenshaw@huggingface.co>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Batched the remaining open anyio 4.14.2 env lock updates (grid_world / reasoning_gym / carla) onto this PR at f2bacbba so one CI cycle covers all four. Will merge when green; #1204/#1205/#1206 can then close as superseded.

Open in Web View Automation 

Sent by Cursor Automation: Release

@@ -46,17 +46,16 @@ wheels = [

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Batched grid_world (#1204), reasoning_gym (#1205), and carla (#1206) anyio 4.14.2 lock updates into this PR (f2bacbba) to avoid serial behind-main CI cycles. Please treat those three as superseded once this merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies environment python:uv Pull requests that update python:uv code size: small Small pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants