Deprecate usethis ci in v0.19.0 ahead of removal in v0.20.0#1416
Merged
nathanjmcdougall merged 3 commits intomainfrom Mar 13, 2026
Merged
Deprecate usethis ci in v0.19.0 ahead of removal in v0.20.0#1416nathanjmcdougall merged 3 commits intomainfrom
usethis ci in v0.19.0 ahead of removal in v0.20.0#1416nathanjmcdougall merged 3 commits intomainfrom
Conversation
Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Deprecate support for
Deprecate Mar 13, 2026
usethis ciusethis ci in v0.19.0 ahead of removal in v0.20.0
nathanjmcdougall
approved these changes
Mar 13, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Collaborator
|
@copilot actually I think we're better to deprecate the whole app instead of just the bitbucket subcommand: app = typer.Typer(deprecated=True) We can keep the |
Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Contributor
Author
Done in 4384225. Moved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
usethis ci(Bitbucket Pipelines support) is being phased out — CI config is too bespoke, schema maintenance is a burden, and the feature is orthogonal to usethis's core Python tooling focus.Changes
src/usethis/_ui/interface/ci.py— Addeddeprecated=Truetotyper.Typer()constructor (deprecates the entireciapp, triggering typer's built-inDeprecationWarningwhen invoked via the main app) and awarn_printcall explicitly naming v0.20.0 as the removal versionsrc/usethis/_ui/app.py— Addeddeprecated=Truetoapp.add_typer()forciso the command appears deprecated inusethis --helptests/usethis/_ui/interface/test_ci.py— Updated exact-output assertions to include the deprecation warning lineWhen invoked via
usethis ci, users now see:Original prompt
usethis ci#1313💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.