Skip to content

chore(deps): update dependency termcolor to v3 #13265

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

Merged
merged 2 commits into from
Apr 11, 2025

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
termcolor (changelog) ==2.4.0 -> ==3.0.0 age adoption passing confidence
termcolor (changelog) ==2.5.0 -> ==3.0.0 age adoption passing confidence

Release Notes

termcolor/termcolor (termcolor)

v3.0.0

Compare Source

Added

Changed

  • Only apply FORCE_COLOR, NO_COLOR and ANSI_COLORS_DISABLED when present and not an empty string (#​92) @​hugovk
  • Replace deprecated classifier with licence expression (PEP 639) (#​95) @​hugovk
  • Speedup: move typing imports into type-checking block (#​94) @​hugovk
  • Lint with faster action-pre-commit-uv: 1m22s -> 48s and 21s -> 15s (#​86) @​hugovk

Removed

v2.5.0

Compare Source

Added

Changed


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners March 31, 2025 14:17
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Mar 31, 2025
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: dialogflow Issues related to the Dialogflow API. labels Mar 31, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request updates the termcolor dependency to version 3.0.0 in two requirements.txt files. The update applies to both Python 3.8 and versions greater than or equal to 3.9. This change is likely to incorporate new features, bug fixes, and performance improvements included in the new termcolor release, as detailed in the release notes.

Highlights

  • Dependency Update: The pull request updates the termcolor dependency from version 2.4.0/2.5.0 to 3.0.0.
  • Python Version Compatibility: The update ensures compatibility with both Python 3.8 and versions greater than or equal to 3.9.

Changelog

  • dialogflow-cx/requirements.txt
    • Updates termcolor dependency from version 2.5.0 (for python versions >= 3.9) and 2.4.0 (for python version == 3.8) to version 3.0.0 for both python versions.
  • dialogflow/requirements.txt
    • Updates termcolor dependency from version 2.4.0 to 3.0.0.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


Trivia time!

What is the primary use case for the termcolor library?

Click here for the answer
The `termcolor` library is primarily used for printing colorized text in the terminal.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This PR updates the termcolor dependency to version 3.0.0 in two requirements.txt files. The update includes support for Python 3.14, changes to environment variable handling, and other improvements as detailed in the release notes. The changes appear straightforward and necessary to keep the project up-to-date with its dependencies.

Merge Readiness

The pull request updates a dependency and the changes appear to be straightforward. I am unable to directly approve the pull request, and recommend that others review and approve this code before merging. Given the nature of the change (dependency update) and the absence of any identified issues, the pull request seems ready for merging after another review.

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 31, 2025
@davidcavazos
Copy link
Contributor

ERROR: Could not find a version that satisfies the requirement termcolor==3.0.0 (from versions: 0.1, 0.1.1, 0.1.2, 0.2, 1.0.0, 1.0.1, 1.1.0, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.4.0)

Looks like 3.0.0 is not available in Python 3.8

@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 11, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 11, 2025
Copy link

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@glasnt glasnt merged commit 974b758 into GoogleCloudPlatform:main Apr 11, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dialogflow Issues related to the Dialogflow API. owlbot:run Add this label to trigger the Owlbot post processor. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants