Skip to content

Implement the unified Python SDK 1.0.0 refresh #139

Done

Description

@tylerlong

What to build

Prepare the SDK 1.0.0 release candidate in one integrated dependency and toolchain PR from the current master baseline. Upgrade dependencies together, require patched HTTP dependencies in installed packages, test all supported stable Python series, and rehearse the tag workflow up to artifact verification without uploading. Follow spec #138.

Acceptance criteria

  • Apply compatible latest stable dependency and tool upgrades across runtime, development, test, coverage, docs, and build. Retain useful compatible ranges. Refresh the complete uv lock, including transitive dependencies, in one batch without separate approval for each dependency. Fix manageable compatibility issues in the same PR. Defer an upgrade only when testing shows a major break that requires substantial migration. Record the failed check, migration needed, and version retained.
  • Resolve the latest compatible stable Requests and urllib3 releases in the lock and declare requirements of Requests >=2.33.0,<3 and urllib3 >=2.8.0,<3 in both distribution formats. Preserve the existing certifi minimum, ringcentral identity, and 1.0.0 version.
  • Keep CPython 3.11+ as the package requirement. Run locked unittest and coverage on CPython 3.11, 3.12, 3.13, 3.14, and 3.15 in hosted CI. Install or upgrade the project's uv-managed local interpreter to the latest stable 3.15 patch when needed, and select the 3.15 series by default. Document updating the default and CI coverage when a new stable series ships.
  • Use CPython 3.15 for package validation and docs, and use it for the tag workflow if the rehearsal passes. Review the action and uv pins together and use full reviewed action SHAs with version comments. Keep the established Pages source and destination.
  • Try updating checkout, setup-uv, and uv in the release workflow. Rehearse every pre-upload release step on the proposed toolchain with Python 3.15, including locked setup, tests, builds, and artifact checks. Keep the existing tag trigger, Twine publishing method and authentication, and PyPI destination. If the proposed toolchain breaks the release, document the failed check and repeat the entire no-upload rehearsal with the retained toolchain and refreshed lock.
  • Build the wheel and source distribution. Check that both filenames identify ringcentral 1.0.0. Retain the package-name assertion and inspect internal metadata for version, the Python requirement, patched HTTP dependencies, certifi floor, existing project links, shipped SDK files, tests and helpers, and demo exclusion. Run strict Twine checks and import the SDK from the wheel in isolation, and verify an install over affected Requests and urllib3 versions that upgrades both dependencies.
  • Update the README and contributor notes to distinguish the local default, stable tested series, and package minimum. Update setup, CI, build, pre-tag rehearsal, and post-publication install instructions for the chosen tools. Document strict Twine and HTTP requirement metadata checks in the pre-tag instructions. Cover the package changes, HTTP security floors, and Python coverage in the draft 1.0.0 release notes.
  • Keep credentialed RingCentral smoke tests optional and manual. Keep OAuth client credentials behavior unchanged. Creating or pushing the 1.0.0 tag and publishing to PyPI require separate maintainer authorization. Preserve the existing 0.10.0 tag and release.

Activity

  1. added
    ready-for-agent
    on Nov 30, 2026
  2. removed
    ready-for-agent
    on Nov 30, 2026
  3. tylerlong commented on Nov 30, 2026

    @tylerlong
    ContributorAuthor

    Implemented the unified refresh in PR #141 and squash-merged it as 71e37efa0894b1a1f7d0b342031da3c24e27a84e. The master tree matches the reviewed PR head.

    • One lock refresh upgraded 15 packages and resolved six new transitive dependencies. The package metadata requires Requests >=2.33.0,<3 and urllib3 >=2.8.0,<3. The refreshed lock contains Requests 2.34.2 and urllib3 2.8.0. The baseline wheel retained installed Requests 2.32.3 and urllib3 2.7.0. The candidate wheel upgraded them to the patched releases, and the SDK imported on CPython 3.11.
    • CPython 3.11–3.15 each passed 78 locked tests at 87% coverage locally. The uv-managed default selects CPython 3.15.2. All five hosted test jobs and the package job passed for both the PR and merged commit. PR CI · Master CI
    • Rehearsed the selected pre-upload release commands with uv 0.13.10 and CPython 3.15.2. Locked tests, both 1.0.0 distributions, strict Twine validation, package metadata and payload checks, and the isolated wheel import passed. The release workflow uses the verified action pins with the existing Twine method, credentials, trigger, and destination.
    • Pages generation and deployment succeeded on the merged commit. The existing public reference and the WebSocketClient.on anchor were verified after deployment. Docs workflow · Public reference
    • Standards review found no hard violations. The independent CI and manual release assertions intentionally keep the required HTTP floors explicit. Spec review identified the missing development default in the draft README release notes, which now records Python 3.15.

    The release rehearsal was non-uploading. The final candidate verification is in #140. Creating or pushing the 1.0.0 tag and publishing to PyPI remain pending authorization.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions