Skip to content

deprecate show plots#1265

Merged
schaubh merged 3 commits intodevelopfrom
feature/deprecate_show_plots
Feb 16, 2026
Merged

deprecate show plots#1265
schaubh merged 3 commits intodevelopfrom
feature/deprecate_show_plots

Conversation

@schaubh
Copy link
Contributor

@schaubh schaubh commented Feb 14, 2026

  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

pytest in BSK has the custom flag show_plots that can be provided to force pytest to show the plots for each test file. I can't remember ever using it, and none of the AVS lab BSK users are using it.

The use of this flag is now depreciated and throws a warning. After a year this flag functionality will be removed. At that time, the aim is to have all pytest runs use a non-interactive AGG environment. The test runs have no need for the more complex interactive environment.

Verification

Move the deprecation date forward and backward to ensure the expected warnings did appear in the console.

Documentation

Updated release notes. Added a test that will warn me in one year that this flag can be removed.

Future work

Remove the show_plots flag one year from now.

@schaubh schaubh requested a review from leahkiner February 14, 2026 18:31
@schaubh schaubh self-assigned this Feb 14, 2026
@schaubh schaubh added this to Basilisk Feb 14, 2026
@schaubh schaubh added the ci Continuous integration label Feb 14, 2026
@schaubh schaubh requested a review from a team as a code owner February 14, 2026 18:31
@schaubh schaubh added the build Build system or compilation enhancement label Feb 14, 2026
@schaubh schaubh moved this to 👀 In review in Basilisk Feb 14, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bb6a5023f7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@schaubh schaubh force-pushed the feature/deprecate_show_plots branch from bb6a502 to 78d871a Compare February 14, 2026 18:47
@schaubh schaubh changed the title Feature/deprecate show plots deprecate show plots Feb 14, 2026
@schaubh schaubh force-pushed the feature/deprecate_show_plots branch 3 times, most recently from b5cc14e to 75cd168 Compare February 16, 2026 14:57
This feature was never really used.  If we want an interactive use of figure we just run `python test_xxxx.py`.
Will throw a warning to remove show_plots after the cutoff date.
@schaubh schaubh force-pushed the feature/deprecate_show_plots branch from 75cd168 to 17b6f90 Compare February 16, 2026 14:58
Copy link
Contributor

@leahkiner leahkiner left a comment

Choose a reason for hiding this comment

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

This is looking good to me.

@schaubh schaubh merged commit 1c854ef into develop Feb 16, 2026
22 of 23 checks passed
@schaubh schaubh deleted the feature/deprecate_show_plots branch February 16, 2026 19:41
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Basilisk Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build system or compilation enhancement ci Continuous integration

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants