Repository navigation
release: pycentral 2.0a27 - #98
Merged
Merged
Conversation
KarthikSKumar98
marked this pull request as ready for review
November 6, 2026 14:29
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.
pycentral 2.0a27
A security release. Streaming now verifies TLS certificates by default, token exchange no longer logs tokens, and oauthlib 4 is required. Calling code changes only if you stream through a TLS-intercepting proxy or private CA (pass
verify=), or pinoauthlib<4.At a glance
2.0a27(bump: in this PR)Release notes
Breaking changes
Streamingnever verified the server certificate. If you connect through a TLS-intercepting proxy or a private CA, passverify=<path to CA bundle>, orverify=Falseto disable verification (insecure, not recommended). The explicitcert_reqssetting also guards against changes in the websocket library's defaults.oauthlib>=4.0.0,<5.0is now required (security fix for CVE-2026-49265 and CVE-2026-118669, patched only in 4.0.0). Projects that pinoauthlib<4will conflict and must upgrade.Security
expires_in. If you ran with DEBUG logging, rotate those tokens.mkdocs-materialto 9.7.7 andpymdown-extensionsto >=11.0.1 for the docs build (CVE-2026-73295, CVE-2026-61632, CVE-2026-67422); no runtime impact.mkdocs build --strictsucceeds withpymdown-extensions12.1 andmkdocstrings0.30.1..gitignore.Changed
sample_scripts/topycentral/classic/sample_scripts/.actions/download-artifactv6, and a newpip-auditworkflow checks dependencies for known vulnerabilities.Docs
SECURITY.md: supported versions and how to report a vulnerability.CONTRIBUTIONS.md: updated branding, the team contact address (networking-automation@hpe.com) and the sample scripts path.Full Changelog: v2.0a26...v2.0a27
Review guide
Look here first
pycentral/streaming/streaming.py: new keyword-onlyverify=True(bool or CA-bundle path); the websocket connects withcert_reqs=CERT_REQUIREDunlessverify=False.pycentral/msp/msp_base.py: tenant token exchange logs only the workspace ID andexpires_in.pyproject.toml:oauthlib>=4.0.0,<5.0; the moved classic sample scripts stay out of the wheel.Safe to skim
pycentral/classic/*.py: copyright header updates only.pycentral/classic/sample_scripts/: moved from the repo root, contents unchanged apart from import paths and copyright headers..github/workflows/: newpip-auditworkflow;download-artifactbumped to v6 in the release workflow.docs/requirements.txt,.gitignore,SECURITY.md,CONTRIBUTIONS.md.Checks
python -m buildandtwine check: wheel and sdist passpip-auditdocs/requirements.txtmkdocs build --strictwithdocs/requirements.txtFollow-ups
sample_scriptsexcludes inpyproject.toml.Submitter checklist
RELEASE-NOTES.mdword for wordFiles by area
pycentral/streaming/streaming.pyverify=pycentral/msp/msp_base.pypycentral/classic/*.py,pycentral/classic/sample_scripts/*sample_scripts/pyproject.toml.github/workflows/{pip-audit,release}.yamldocs/requirements.txt,SECURITY.md,CONTRIBUTIONS.mdRELEASE-NOTES.md,pycentral/__init__.py,.gitignore