Repository navigation
chore(deps): bump the dependencies group with 8 updates - #5902
Conversation
Bumps the dependencies group with 8 updates: | Package | From | To | | --- | --- | --- | | [click](https://github.com/pallets/click) | `8.5.0` | `8.5.1` | | [tree-sitter](https://github.com/tree-sitter/py-tree-sitter) | `0.26.0` | `0.26.1` | | [turbohtml](https://github.com/tox-dev/turbohtml) | `1.15.4` | `1.15.10` | | [watchdog](https://github.com/gorakhargosh/watchdog) | `7.0.0` | `7.1.0` | | [ty](https://github.com/astral-sh/ty) | `0.0.95` | `0.0.99` | | [ruff](https://github.com/astral-sh/ruff) | `0.17.3` | `0.17.4` | | [datamodel-code-generator](https://github.com/datamodel-code-generator/datamodel-code-generator) | `0.88.0` | `0.91.0` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.170.14` | `6.170.15` | Updates `click` from 8.5.0 to 8.5.1 - [Release notes](https://github.com/pallets/click/releases) - [Changelog](https://github.com/pallets/click/blob/main/CHANGES.md) - [Commits](pallets/click@8.5.0...8.5.1) Updates `tree-sitter` from 0.26.0 to 0.26.1 - [Release notes](https://github.com/tree-sitter/py-tree-sitter/releases) - [Commits](tree-sitter/py-tree-sitter@v0.26.0...v0.26.1) Updates `turbohtml` from 1.15.4 to 1.15.10 - [Release notes](https://github.com/tox-dev/turbohtml/releases) - [Changelog](https://github.com/tox-dev/turbohtml/blob/main/docs/changelog.rst) - [Commits](tox-dev/turbohtml@1.15.4...1.15.10) Updates `watchdog` from 7.0.0 to 7.1.0 - [Release notes](https://github.com/gorakhargosh/watchdog/releases) - [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst) - [Commits](gorakhargosh/watchdog@v7.0.0...v7.1.0) Updates `ty` from 0.0.95 to 0.0.99 - [Release notes](https://github.com/astral-sh/ty/releases) - [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md) - [Commits](astral-sh/ty@0.0.95...0.0.99) Updates `ruff` from 0.17.3 to 0.17.4 - [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.17.3...0.17.4) Updates `datamodel-code-generator` from 0.88.0 to 0.91.0 - [Release notes](https://github.com/datamodel-code-generator/datamodel-code-generator/releases) - [Changelog](https://github.com/datamodel-code-generator/datamodel-code-generator/blob/main/CHANGELOG.md) - [Commits](datamodel-code-generator/datamodel-code-generator@0.88.0...0.91.0) Updates `hypothesis` from 6.170.14 to 6.170.15 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@v6.170.14...v6.170.15) --- updated-dependencies: - dependency-name: click dependency-version: 8.5.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: tree-sitter dependency-version: 0.26.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: turbohtml dependency-version: 1.15.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: watchdog dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: ty dependency-version: 0.0.99 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: ruff dependency-version: 0.17.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: datamodel-code-generator dependency-version: 0.91.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: hypothesis dependency-version: 6.170.15 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]>
leaf-agent
left a comment
There was a problem hiding this comment.
The watchdog 7.0.0 → 7.1.0 bump turns tests/model/test_native_watch.py::test_a_process_follows_every_page_through_one_observer red, and the test fails every time the file runs (1 failed, 25 passed on 7.1.0 three times out of three; 26 passed on 7.0.0). Run alone, it passes on both versions.
The cause is a watchdog change, not a Leaf regression. In 7.1.0 each InotifyObserver opens its own inotify instance in __init__ and closes it when its thread stops. In 7.0 a process-wide singleton was opened when watchdog.observers was imported. Leaf holds one native observer per process, so production still uses one instance. The test, however, counts every inotify descriptor in the process. That count now also includes the instance belonging to the global _native observer that an earlier test in the file started.
The same release also invalidates parts of src/leaf/file_changes.py:
- The module header says watchdog shares one instance across the process.
- The
_polling_observerrepair exists for watchdog#1389, where importing watchdog opened an instance and so failed with EMFILE. Its TODO says to delete the repair once a release fixes that. Since 7.1.0 no longer opens an instance on import, the repair is now dead code. pyproject.tomlstill allowswatchdog>=7.0.0.
I'm pushing a fix: count the instances this test's own observer adds, delete the repair, update the docstrings, and raise the floor to >=7.1.0.
watchdog 7.1.0 gives each InotifyObserver an inotify instance of its own, opened when it is constructed and closed when its thread stops, where 7.0 opened one process-wide instance on import. Leaf still holds one native observer per process, so production still uses one instance. But test_a_process_follows_every_page_through_one_observer counted every inotify descriptor in the process, which now includes the global observer an earlier test started. It now asserts that its own observer adds exactly one instance. The same release no longer opens an instance on import, which fixes gorakhargosh/watchdog#1389, so the _polling_observer repair that worked around that bug goes, as its TODO asked. 7.1 also watches directories moved into a recursive tree and no longer raises while reporting an unwatched one, so the module header keeps only the remaining reason recursive page subscriptions are avoided. The floor rises to watchdog>=7.1.0, the version these statements describe.
…op test (#5903) `test_the_adapter_takes_its_app_server_with_it_when_it_is_told_to_stop` could fail with `ValueError: invalid literal for int() with base 10: ''`, as it did on [ci run 43266362232](https://github.com/max-sixty/leaf/actions/runs/43266362232) for #5902. Its stand-in App Server wrote its pid with `Path.write_text`, which creates the file before writing to it. The test waits on `listening.is_file()` and then parses the file, so a poll that lands between those two steps reads an empty string. The stand-in now writes the pid to `app-server.pid.partial` and renames it into place. A rename is atomic on one filesystem, so the file only ever appears with the pid in it. The test still asserts the same things. Verification: `ruff check` and `ruff format --check` pass. I couldn't run the test itself because this sandbox refuses `AF_UNIX` sockets (`OSError: [Errno 97]`), so this PR's CI `test` job is the first run of the changed test. It's a timing race, so no test here fails deterministically before the change; the failing CI run linked above is the evidence from before the fix. Co-authored-by: leaf-agent <[email protected]>
Bumps the dependencies group with 8 updates:
8.5.08.5.10.26.00.26.11.15.41.15.107.0.07.1.00.0.950.0.990.17.30.17.40.88.00.91.06.170.146.170.15Updates
clickfrom 8.5.0 to 8.5.1Release notes
Sourced from click's releases.
Changelog
Sourced from click's changelog.
Commits
cf19179Release version 8.5.11ff766dRemove documentation changelog entry.16da191Add a standalone application guide for Nuitka (#3897)473f652Remove issue and PR references outside the changelog (#3905)df7fe0bRemove issue and PR references outside the changelog4fd4206Bumppypa/gh-action-pypi-publishtov1.14.3(#3906)9048ab0Bumppypa/gh-action-pypi-publishtov1.14.3ff0c369Add a standalone application guide for Nuitka5125851Stop passing a deprecated command's help text throughgettext(#3901)6d34602Additional round-trip tests forunstyle()(#3899)Updates
tree-sitterfrom 0.26.0 to 0.26.1Release notes
Sourced from tree-sitter's releases.
Commits
39d71acchore: release 0.26.167247dffix(query): fix predicate & error handling0fcba68style: apply ruff linter suggestionsa4cc1f9fix(parser): dup fd in print_dot_graphsd20c878fix: decref heap types in deallocdb83ee1fix(query): fix reference leaks in constructor80fc51efix(query_cursor): fix error handling reference leaks1759db4fix(module): properly decref IntEnum object7f46ccafix(tree): clean up incomplete ranges10a559cfix(query): fix is/is-not predicatesUpdates
turbohtmlfrom 1.15.4 to 1.15.10Release notes
Sourced from turbohtml's releases.
... (truncated)
Changelog
Sourced from turbohtml's changelog.
... (truncated)
Commits
23d7690release 1.15.10db795fe🐛 fix(markdown): keep cell emphasis across p (#1663)07bcba9👷 ci: allow two-hour fuzz dispatches (#1664)3c9579b🧹 ci: pin shared workflows to 6.7.2 (#1662)13df0e6🐛 fix(fuzz): scope CSS shorthand checks (#1657)8ba5ed9🐛 fix(markdown): split cell emphasis at blocks (#1658)ecae18a🐛 fix(fuzz): avoid false foreign NUL failures (#1659)5a1badc🐛 fix(markdown): preserve deep emphasis across blocks (#1660)a4e1cd7🐛 fix(markdown): preserve HTML attribute line breaks in cells (#1661)0da691e🧹 ci: pin shared workflows to 6.7.1 (#1656)Updates
watchdogfrom 7.0.0 to 7.1.0Release notes
Sourced from watchdog's releases.
Changelog
Sourced from watchdog's changelog.
Commits
b5274bffeat: version v7.1.0 [skip ci] (#1404)e0994bddocs: add@taltal-beepto contributors [skip ci] (#1405)d481d1cfix(watchmedo): make generate-tricks-yaml output loadable by watchmedo tricks...5236a9afix(inotify): create the inotify instance lazily (#1390)3d8a07aci: enable PyPy 3.11 testing and PyPy 3.11/3.12 wheel builds on macOS (#1400)103ca34docs: add@monosansto contributors [skip ci] (#1401)c7c09c6fix(fsevents): update pythoncapi_compat.h to fix the PyPy 3.12 build (#1398)68f8321chore(deps): bump mypy from 2.4.0 to 2.4.1 (#19)235c832chore(deps): bump types-pyyaml from 6.0.12.20260906 to 6.0.12.20261030 (#18)dbb57f6chore(deps): bump pytest from 9.1.1 to 9.2.0 (#17)Updates
tyfrom 0.0.95 to 0.0.99Release notes
Sourced from ty's releases.
... (truncated)
Changelog
Sourced from ty's changelog.
... (truncated)
Commits
9b48f40Bump version to 0.0.99 (#4956)aabbd38Skip existing release artifacts when retrying mirror uploads (#4937)e8a6c93Bump version to 0.0.98 (#4936)1b1d9c4Update benchmarks for ty 0.0.96 (#4930)58e168cBump version to 0.0.97 (#4921)60fff56Document baseline support (#4897)7250934Update PyCharm setup instructions for 2026.2 (#4914)133bc26Update astral-sh/setup-uv action to v10.3.3 (#4916)23fafdcUpdate dependency prek to v0.5.4 (#4917)df18177Update uv to v0.13.7 (#4918)Updates
rufffrom 0.17.3 to 0.17.4Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
05cdc36Bump version to 0.17.4 (#30073)c6b17c2[ty] Freshen method typevars before owner specialization (#29543)4b0b407[ty] Preserve unions inferred during fixpoint iteration (#29927)1dd3e9eShow more nonprinting characters in diagnostic fix diffs (#30062)32be8e7[ty] Skip fixpoint iteration for simple generic calls (#30054)926ccc8[ty] Handle output errors when generating shell completions (#29997)c86652a[ty] Skip active Conda and Pixi environments during discovery if the environm...c9150f0Add project walltime benchmarks for Ruff (#30061)64989ec[ty] Report invalid module globs once per override pattern (#30031)367a563[ty] Fix conditional type and tuple annotations (#29987)Updates
datamodel-code-generatorfrom 0.88.0 to 0.91.0Release notes
Sourced from datamodel-code-generator's releases.