From 5bfbaf297811eb0d3a6026fa0d5ba7c726463bb5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 21:22:42 +0000 Subject: [PATCH] [PIP] Update click requirement from <8.5,>=8.0.0 to >=8.0.0,<8.6 Updates the requirements on [click](https://github.com/pallets/click) to permit the latest version. - [Release notes](https://github.com/pallets/click/releases) - [Changelog](https://github.com/pallets/click/blob/main/CHANGES.md) - [Commits](https://github.com/pallets/click/compare/8.0.0...8.5.0) --- updated-dependencies: - dependency-name: click dependency-version: 8.5.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] (cherry picked from commit 8f10ab3a95205f12bcedac4252f8df2e7a146911) --- pyproject.toml | 2 +- src/pulp_cli/generic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3889dcbf8..6079c638b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ classifiers=[ ] dependencies = [ "pulp-glue==0.40.6.dev", - "click>=8.0.0,<8.5", # Proven to not do semver. + "click>=8.0.0,<8.6", # Not SemVer, more like .. : https://palletsprojects.com/versions "PyYAML>=5.3,<6.1", "schema>=0.7.5,<0.8", "tomli>=2.0.0,<2.1;python_version<'3.11'", diff --git a/src/pulp_cli/generic.py b/src/pulp_cli/generic.py index 402e7155d..41e2ab771 100644 --- a/src/pulp_cli/generic.py +++ b/src/pulp_cli/generic.py @@ -98,7 +98,7 @@ def show(self, file: t.IO[str] | None = None) -> None: # Format the message into file or STDERR. # Overwritten from base class to not print "Error: ". if file is None: - file = click.get_text_stream("stderr") + file = sys.stderr click.echo(self.format_message(), file=file)