Skip to content

Use PrettyTable rule enums when available - #2098

Open
Solarboaters wants to merge 1 commit into
pyocd:developfrom
Solarboaters:fix/prettytable-rule-enums
Open

Solarboaters wants to merge 1 commit into
pyocd:developfrom
Solarboaters:fix/prettytable-rule-enums

Conversation

@Solarboaters

Copy link
Copy Markdown

Fixes #2077. Use the current rule enums for target/probe tables, falling back to legacy constants for older supported PrettyTable releases.

Reproduced pyocd list -t failing on Python 3.15.2 / PrettyTable 3.19.0; it renders correctly after this change. Rendering regressions fail before and pass after, including a separate fresh-process probe-table check. Full unit suites: 1110 passed, 41 skipped on Python 3.12.3 and 3.15.2. Focused tests also pass with PrettyTable 2.0.0.

Tested on Linux with a synthetic probe entry, not physical hardware or macOS. This fixes the reported listing problem without claiming broader Python 3.15 support.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant