Skip to content

Install RLE SDK wheels from public registry in sample containers - #77

Merged
farhann1 merged 17 commits into
mainfrom
rle-public-sdk-wheels
Oct 12, 2026
Merged

farhann1 merged 17 commits into
mainfrom
rle-public-sdk-wheels

Conversation

@farhann1

@farhann1 farhann1 commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Install azure-ai-projects[rle] in the four sample containers using public SDK wheels from Azure/azure-sdk-for-python#49488, without SDK source-fork access.

  • Each sample includes its own local installer; tests keep the four copies identical. There is no separate repository-root installer or external installer download.
  • Default: ENV AZURE_AI_PROJECTS_VERSION=latest. Edit that line to pin an available SDK version. Missing versions and checksum mismatches fail explicitly.
  • Git-source ADD refreshes the public registry and wheels during normal rebuilds. The installer verifies SHA-256 and installs the selected local wheel with pip, without downloading it again.
  • Local server development can use the same installer with the remote registry.
  • Existing dependency settings, sample-local build contexts, server behavior, and manifests are preserved.

Available versions | Setup documentation

Review and validation

  • Reviewed the complete PR against its base. Removed the obsolete fifth installer, test-only download option, historical dev-release test cases, and repetitive documentation. Restored the original Harness requirements COPY forms.
  • 49 targeted tests passed, covering the four copies, Docker wiring, version selection, local-wheel reuse, checksum failures, missing wheels, and remote installation.
  • All four current sample installers freshly installed the real 2.7.0b1 SDK with networking disabled in previously built sample images with dependencies present. Each real app import succeeded.
  • The latest BYOH sample completed a full Docker build, installed SDK 2.7.0b1 from the locally fetched wheel, and served /health with HTTP 200. The build used the existing Microsoft package-index override because this environment blocks public PyPI TLS.
  • Two unrelated, pre-existing manifest-schema assertions were excluded. No server, dataset, or manifest migration changes are included.

The SDK maintainer-tooling PR is separate and unchanged.

farhann1 and others added 4 commits October 12, 2026 12:20
Default SDK selection to latest in Dockerfiles, allow local ENV pins, and keep the CLI SDK-agnostic. Use commit-resolved public distribution inputs, verified wheel hashes, and standalone sample installers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
farhann1 and others added 13 commits October 12, 2026 13:04
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the rle registry channel, rle-releases branch, and package-level rle artifact folder. Pin the aligned shared installer and cover the final upstream registry contract.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use AZURE_AI_PROJECTS_VERSION for the public RLE wheel selector.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update all sample Dockerfiles, documentation, and checks to AZURE_AI_PROJECTS_VERSION. Pin the corresponding shared installer and explain the independent Docker build contexts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Include the Python installer in each sample build context instead of downloading it. Keep copies identical through distribution tests, update the BYOH allowlist, and document local installation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep registry version selection and SHA-256 checks. Remove release-URL restrictions and redundant wheel inspection, reuse distribution wheels for local manifests, and preserve remote installation for local development.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep only the four sample-local installers. Remove the test-only download option and historical dev-version cases, point maintainer commands at local copies, trim repetitive documentation, and preserve original requirements COPY forms.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@farhann1
farhann1 marked this pull request as ready for review October 12, 2026 11:53
@farhann1
farhann1 merged commit 3c190d5 into main Oct 12, 2026
@farhann1
farhann1 deleted the rle-public-sdk-wheels branch October 12, 2026 12:42
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