Skip to content

build(deps): Bump the python-dependencies group in /fp-cloud-cli with 3 updates - #771

Merged
NiveditJain merged 3 commits into
mainfrom
dependabot/uv/fp-cloud-cli/python-dependencies-268ef1d861
Sep 2, 2026
Merged

build(deps): Bump the python-dependencies group in /fp-cloud-cli with 3 updates#771
NiveditJain merged 3 commits into
mainfrom
dependabot/uv/fp-cloud-cli/python-dependencies-268ef1d861

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor

Note

CI needed a code fix, not just the lockfile bump. typer 0.27.2's "Create
exceptions module and TyperException base class" refactor
(typer#1942) moved Abort out of the
vendored typer._click.exceptions. fp_cli/_click_compat.py imported all six of its
symbols under one try: … except ImportError: from click import …, so that single
missing name sent the whole block to the fallback and bound ClickException,
UsageError, BadParameter, Command and Parameter to pip click — which is not
the Click Typer runs, and Typer catches only its own. Every typed error escaped its
handler: fp alerts show ghost exited 1 with an empty stderr instead of 6 with
no alert named "ghost", and the same for exits 2, 3, 4 and 5. 105 tests red.

The shim now picks the Click once — on whether typer._click exists at all — and
imports every symbol from that choice, so a future move raises at import (a CLI that
refuses to start) instead of silently flattening the exit-code contract. Abort alone
comes from typer.Abort, which tracks the move by construction and is by definition
the class typer.prompt raises and typer's own _main catches.

Three new alarms in tests/test_click_compat.py cover the partial miss the old shape
swallowed; all three fail against the previous shim. Suite green against typer 0.25.1,
0.27.0, 0.27.1 and 0.27.2 (915 passed), plus wheel build and a real typed-error exit
from a clean install.

Second commit: browserslist pinned to 4.28.8. GHSA-73wf-gq98-2v4g and
GHSA-c83g-rgw3-j3cx (both 7.5, both fixed in 4.28.7) were failing the Supply Chain
gate. They are not from this PR — main went red on them on its own scheduled run
this morning, the same surface-late mechanism osv-scanner.toml documents for
chromadb. browserslist is transitive-only (via @babel/helper-compilation-targets's
^4.24.0), so this is an overrides pin — what that file's own header prescribes, and
what the seven pins already in that block are. Note bun update browserslist is not
the fix: it adds a direct dependency that does not belong and leaves 4.28.2 nested
under @babel/helper-compilation-targets, keeping the gate red. Verified with
bun run build, bun run lint, bunx tsc --noEmit and bun run test:run (4856
passed).


Bumps the python-dependencies group in /fp-cloud-cli with 3 updates: typer, click and posthog.

Updates typer from 0.27.1 to 0.27.2

Release notes

Sourced from typer's releases.

0.27.2

Refactors

  • ♻️ Create exceptions module and TyperException base class. PR #1942 by @​svlandeg.

Docs

  • 🐛 Fix showing fast button as external link in animated terminals in docs. PR #1912 by @​phalberg.

Internal

Changelog

Sourced from typer's changelog.

0.27.2 (2026-08-28)

Refactors

  • ♻️ Create exceptions module and TyperException base class. PR #1942 by @​svlandeg.

Docs

  • 🐛 Fix showing fast button as external link in animated terminals in docs. PR #1912 by @​phalberg.

Internal

Commits

Updates click from 8.4.2 to 8.5.0

Release notes

Sourced from click's releases.

8.5.0

This is the Click 8.5.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecation, or introduce potentially breaking changes.

We encourage everyone to upgrade. You can read more about our Version Support Policy on our website.

PyPI: https://pypi.org/project/click/8.5.0/ Changes: https://click.palletsprojects.com/page/changes/#version-8-5-0 Milestone https://github.com/pallets/click/milestone/33

  • Add built-in shell completion support for PowerShell (Windows PowerShell 5.1+ and pwsh 7+) alongside the existing bash, zsh, and fish completers. Use _FOO_BAR_COMPLETE=powershell_source foo-bar to generate the completion script. #2672 #3637
  • Supported versions of Windows enable ANSI terminal styles by default. Colorama is no longer a dependency and is not used. #2986 #3505
  • {class}Argument accepts a help parameter, and help output includes a Positional arguments section when argument help is available. #2983 #3473
  • confirm() and prompt() strip ANSI color and style codes from the prompt when the output stream does not support them, matching echo(). This stripping was lost in 8.4.0 when #2969 began writing the prompt with input() directly. #3572 #3653
  • {class}Path with allow_dash=True no longer triggers a BytesWarning, an error under python -bb, when checking a value against the - convention. #2877 #3642
  • Add {func}custom_version_option, a --version option whose output is produced by a callback, covering cases {func}version_option intentionally does not. The feature set of {func}version_option is now frozen; see [discussion #3527](`@version_option` future direction pallets/click#3527). #3581
  • style() and secho() no longer silently drop the 256-color index 0 (black) passed as fg or bg, and now validate color arguments. Invalid colors raise a ValueError instead of a TypeError. #3677
  • The automatic help option stores its value under the reserved name _click_default_help instead of help, so a parameter named help no longer breaks parsing. The new name is visible in {meth}Command.to_info_dict output. Parameters that overwrite each other's value trigger a warning: an argument sharing its name with another parameter, or any parameter claiming the reserved name. Options may still share a name to compete for the same value (feature switches). #2819 #3678
  • unstyle and the ANSI handling behind help-text wrapping now strip the full CSI escape-sequence grammar. #3681
  • Streamline Option flag handling: the flag-kind, type, lazy-default and validation steps in Option.__init__ move into focused helpers, and flag_value and default keep their unset sentinel at construction (resolved lazily on read) so is UNSET reliably tells a user-supplied value from an auto-derived one. Runtime behavior is unchanged, but {meth}Parameter.to_info_dict now resolves default=True on a feature switch to its flag_value, matching what the function receives at call

... (truncated)

Changelog

Sourced from click's changelog.

Version 8.5.0

Released 2026-08-24

  • Add built-in shell completion support for PowerShell (Windows PowerShell 5.1+ and pwsh 7+) alongside the existing bash, zsh, and fish completers. Use _FOO_BAR_COMPLETE=powershell_source foo-bar to generate the completion script. {issue}2672 {pr}3637
  • Supported versions of Windows enable ANSI terminal styles by default. Colorama is no longer a dependency and is not used. {issue}2986 {pr}3505
  • {class}Argument accepts a help parameter, and help output includes a Positional arguments section when argument help is available. {issue}2983 {pr}3473
  • confirm() and prompt() strip ANSI color and style codes from the prompt when the output stream does not support them, matching echo(). This stripping was lost in 8.4.0 when {pr}2969 began writing the prompt with input() directly. {issue}3572 {pr}3653
  • Fix test failures when using pytest >= 9.1. {pr}3656
  • {class}Path with allow_dash=True no longer triggers a BytesWarning, an error under python -bb, when checking a value against the - convention. {issue}2877 {pr}3642
  • Add {func}custom_version_option, a --version option whose output is produced by a callback, covering cases {func}version_option intentionally does not. The feature set of {func}version_option is now frozen; see [discussion #3527](`@version_option` future direction pallets/click#3527). {pr}3581
  • style() and secho() no longer silently drop the 256-color index 0 (black) passed as fg or bg, and now validate color arguments. Invalid colors raise a ValueError instead of a TypeError. {pr}3677
  • The automatic help option stores its value under the reserved name _click_default_help instead of help, so a parameter named help no longer breaks parsing. The new name is visible in {meth}Command.to_info_dict output. Parameters that overwrite each other's value trigger a warning: an argument sharing its name with another parameter, or any parameter claiming the reserved name. Options may still share a name to compete for the same value (feature switches). {issue}2819 {pr}3678
  • unstyle and the ANSI handling behind help-text wrapping now strip the full CSI escape-sequence grammar. {pr}3681
  • Streamline Option flag handling: the flag-kind, type, lazy-default and validation steps in Option.__init__ move into focused helpers, and flag_value and default keep their unset sentinel at construction (resolved lazily on read) so is UNSET reliably tells a user-supplied value from an auto-derived one. Runtime behavior is unchanged, but {meth}Parameter.to_info_dict now resolves default=True on a feature switch to its flag_value, matching what the function receives at call time. {pr}3641
  • {func}get_binary_stream and {func}get_text_stream are deprecated and will be removed in Click 9.0. {issue}3481 {pr}3695
  • The following click.utils names were never intentionally public and are now private (_-prefixed). The old names remain available with a DeprecationWarning until Click 9.0: LazyFile, KeepOpenFile,

... (truncated)

Commits
  • 8b19813 Release version 8.5.0
  • 2c8cd3a Add FAQ entry about UnicodeEncodeError on Windows (#3778)
  • 131c86a Add FAQ entry about UnicodeEncodeError on Windows
  • e1fd594 Add support of pathlib.Path to edit (#3781)
  • a1d8785 Add support of pathlib.Path to edit
  • 2103e15 Forward all user's parameters set in PAGER and improve flag detection (#3777)
  • a6256bf Forwards all user's parameters set in PAGER
  • 61b69e9 Resolve the pager command once, in _pager_contextmanager (#3776)
  • 9835b0f Resolve the pager command once, in _pager_contextmanager
  • f36d58b Refactor pager stream handling (#3767)
  • Additional commits viewable in compare view

Updates posthog from 7.42.0 to 7.44.2

Release notes

Sourced from posthog's releases.

posthog-v7.44.2

Patch changes

  • fc7e043 Honor default_cache_ttl_seconds=0 in AI prompts so callers can disable default prompt caching. — Thanks @​ckarnell for your first contribution 🎉!

posthog-v7.44.1

Patch changes

  • 0e70f0c Align local is_set and is_not_set evaluation with partial property context. — Thanks @​marandaneto!

posthog-v7.44.0

Minor changes

  • 9a1d137 Add an opt-in capture_trace_context client option. When enabled, and a valid OpenTelemetry span is active at capture time, its trace and span IDs are attached to events captured with capture() and capture_ai() as $trace_id and $span_id, so they can be correlated with backend traces. Disabled by default, and explicit $trace_id/$span_id properties take precedence. — Thanks @​DanielVisca!

posthog-v7.43.1

Patch changes

  • 8046114 Return an empty feature flag snapshot without evaluation when feature flag keys are explicitly empty. — Thanks @​marandaneto!

posthog-v7.43.0

Minor changes

  • 35220f3 Fall back to remote evaluation when a requested flag is missing from local definitions. This changes the previous behavior where the key was omitted without a request. — Thanks @​marandaneto!

posthog-v7.42.1

Patch changes

  • c55c9b2 MCP analytics now surfaces the previously-silent case where the stateless session mint middleware (PostHogMcpStatelessSessionMiddleware) never attached — the trap where an ASGI app is built or mounted before instrument() runs, so autowiring can't retrofit it and every session falls back to a fragmented per-process id. instrument() warns when streamable_http_app() was already called before it ran, and a one-time warning fires the first time a tool call arrives over streamable HTTP and the session still has to come from process memory. Both go to the posthog.mcp standard-library logger as well as the MCPAnalyticsOptions(logger=...) sink, so they are visible without opting in — silence them with logging.getLogger("posthog.mcp").setLevel(logging.ERROR). Neither fires for stdio, a correctly-wired server, a conversation-anchored session, or the SSE transport (which the mint cannot fix). Documented in the new posthog/mcp/README.md. — Thanks @​posthog[bot]!
Commits
  • 953ea59 chore: Release v7.44.2 [skip ci]
  • fc7e043 fix: Honor a default_cache_ttl_seconds of 0 in Prompts (#873)
  • 5e80659 Update generated references
  • 645f4d3 chore: Release v7.44.1 [skip ci]
  • 0e70f0c fix(flags): align presence operator semantics (#897)
  • 5eb886d Update generated references
  • 2ab1fe5 chore: Release v7.44.0 [skip ci]
  • 9a1d137 chore: add changeset for capture_trace_context (#896)
  • 550f5b5 feat: opt-in OTel trace/span IDs on regular capture() via capture_trace_conte...
  • b72fed3 Update generated references
  • Additional commits viewable in compare view

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 <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

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 31, 2026
github-actions[bot]
github-actions Bot previously approved these changes Aug 31, 2026

@github-actions github-actions 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.

Automated approval for Dependabot dependency update.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks @dependabot[bot] for keeping our dependencies current! 🙌

@socket-security

socket-security Bot commented Aug 31, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​click@​8.4.2 ⏵ 8.5.096 +1100100100100
Updatedpypi/​typer@​0.27.1 ⏵ 0.27.297100100100100
Updatedpypi/​posthog@​7.42.0 ⏵ 7.44.298 +1100100100100

View full report

@hermes-exosphere hermes-exosphere 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.

Approved automatically by the Hermes Dependabot approver.

dependabot Bot and others added 2 commits September 2, 2026 12:26
Bumps the python-dependencies group in /fp-cloud-cli with 3 updates: [typer](https://github.com/fastapi/typer), [click](https://github.com/pallets/click) and [posthog](https://github.com/posthog/posthog-python).


Updates `typer` from 0.27.1 to 0.27.2
- [Release notes](https://github.com/fastapi/typer/releases)
- [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md)
- [Commits](fastapi/typer@0.27.1...0.27.2)

Updates `click` from 8.4.2 to 8.5.0
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.md)
- [Commits](pallets/click@8.4.2...8.5.0)

Updates `posthog` from 7.42.0 to 7.44.2
- [Release notes](https://github.com/posthog/posthog-python/releases)
- [Changelog](https://github.com/PostHog/posthog-python/blob/main/CHANGELOG.md)
- [Commits](PostHog/posthog-python@posthog-v7.42.0...posthog-v7.44.2)

---
updated-dependencies:
- dependency-name: typer
  dependency-version: 0.27.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: click
  dependency-version: 8.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: posthog
  dependency-version: 7.44.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
…cannot rebind them all

typer 0.27.2 moved `Abort` out of its vendored `typer._click.exceptions` into a
plain `typer.exceptions.Abort(RuntimeError)`. `_click_compat` imported all six of
its symbols under one `try: … except ImportError: from click import …`, so that
single missing name sent the whole block to the fallback and bound
`ClickException`, `UsageError`, `BadParameter`, `Command` and `Parameter` to the
pip `click` distribution — which is not the Click Typer runs, and Typer catches
only its own.

Every typed error then escaped its handler: `fp alerts show ghost` exited 1 with
an empty stderr instead of 6 with `no alert named "ghost"`, and likewise for
exits 2, 3, 4 and 5. 105 tests went red on this PR's bump — the first one to
install 0.27.2 — and nothing else warned, because the CLI still imported and
every happy path still passed. This is precisely the failure mode the module's
own docstring describes; it just had one all-or-nothing `except ImportError`
standing between the two Clicks.

Pick the Click ONCE, on whether `typer._click` exists at all, then import every
symbol from that choice. A name that later goes missing inside the chosen Click
now raises at import — a CLI that refuses to start — instead of silently
flattening the exit-code contract to 1.

`Abort` is the one symbol not pinned to a Click at all: it comes from
`typer.Abort`, which tracks the move by construction (pip Click's before typer
0.26, the vendored class through 0.27.1, `typer.exceptions.Abort` from 0.27.2)
and is by definition the class `typer.prompt` raises and typer's own `_main`
catches — the only property `select.py`'s `except click.Abort` needs.

`test_click_compat.py` gains three alarms for the partial miss the old shape
swallowed: every symbol's provenance asserted separately, `Abort` pinned to
`typer.Abort`, and the hand-raised `UsageError`/`BadParameter` checked end to end
for exit 2. All three fail against the previous `_click_compat` and pass against
this one.

Suite verified green against typer 0.25.1, 0.27.0, 0.27.1 and 0.27.2 (915
passed); 0.13.0 and 0.26.0 have the same pre-existing failures before and after,
untouched by this change. Wheel build, `fp --version`, `fp help` and a real
typed-error exit (4, message on stderr) verified from a clean install of the
built wheel.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZSRsXYbse5cDU3iancJKq
@NiveditJain
NiveditJain force-pushed the dependabot/uv/fp-cloud-cli/python-dependencies-268ef1d861 branch from 8dcaf4f to 2b90da0 Compare September 2, 2026 06:56

@hermes-exosphere hermes-exosphere 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.

Approved automatically by the Hermes Dependabot approver.

…bun.lock

GHSA-73wf-gq98-2v4g and GHSA-c83g-rgw3-j3cx are both against browserslist
4.28.2 and both fixed in 4.28.7, so the Supply Chain gate blocks on them
correctly — "2 vulnerabilities can be fixed". They turned `main` red on its own
scheduled run this morning (33591233694), not on anything a PR changed: the
advisories were disclosed after this branch's first CI run, which is the same
surface-late mechanism osv-scanner.toml already describes for chromadb.

browserslist is transitive-only, reached through `@babel/helper-compilation-
targets`'s `^4.24.0`, so this is an `overrides` pin rather than a dependency
bump — which is what osv-scanner.toml's own header prescribes ("Always prefer
FIXING (bump the dependency, or pin it via `overrides` in package.json) over
ignoring"), and what the seven pins already in that block are.

`bun update browserslist` is NOT the fix and was reverted: it adds browserslist
to `dependencies` as a direct dep it is not, and it leaves 4.28.2 in the tree
nested under `@babel/helper-compilation-targets/browserslist`, so the gate stays
red for the same two advisories. The override collapses the tree to exactly one
browserslist, at 4.28.8.

Diff is browserslist and its own dependency set only. Verified: `bun run build`,
`bun run lint` (0 errors), `bunx tsc --noEmit` clean, `bun run test:run` 4856
passed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VZSRsXYbse5cDU3iancJKq
@NiveditJain
NiveditJain merged commit 1bd1fb3 into main Sep 2, 2026
21 checks passed
@dependabot
dependabot Bot deleted the dependabot/uv/fp-cloud-cli/python-dependencies-268ef1d861 branch September 2, 2026 07:15
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants