[Cosmos] [Embedding V0] CI/CD and release pipeline for azure-cosmos-embedding
Parent: #46729
Background
The new azure-cosmos-embedding package needs CI, release, and publish pipeline steps consistent with how other azure-cosmos sibling packages are handled in the Azure SDK for Python monorepo.
Reference: the .NET sibling is tracked in Azure/azure-cosmos-dotnet-v3#5843.
Scope
1. CI pipeline (sdk/cosmos/ci.yml)
2. Release pipeline
- The Azure SDK Python release process uses the
release_*.yml / eng/pipelines/ infrastructure.
- Register
azure-cosmos-embedding with the release automation so python-azure-cosmos-embedding release PRs are created automatically.
- Confirm the package is in
eng/versioning/version_client.txt with an initial version (e.g. 1.0.0b1).
3. pyproject.toml / packaging standards
- Verify
azure-cosmos-embedding complies with Azure SDK Python packaging standards:
sdk_type = "client" in sdk_packaging.toml or equivalent.
- Trove classifiers, license, description match other
azure-cosmos* packages.
py.typed marker file present.
4. Open questions to resolve
- Does
azure-cosmos-embedding ship as beta (1.0.0b1) at Build, or is it staged post-Build?
- Does it need its own
ci.yml or is adding to the existing sdk/cosmos/ci.yml sufficient?
- Does
openai package pinning need to align with any Azure SDK dependency policy?
Acceptance criteria
python -m pytest sdk/cosmos/azure-cosmos-embedding/tests/ runs in CI on every PR.
python -m build sdk/cosmos/azure-cosmos-embedding/ produces a valid wheel.
- Package installable via
pip install azure-cosmos-embedding from the published feed.
- Release automation produces a release PR when
_version.py is bumped.
Files likely touched
sdk/cosmos/ci.yml (add package to Artifacts list — also in scaffold issue)
eng/versioning/version_client.txt (add azure-cosmos-embedding)
sdk/cosmos/azure-cosmos-embedding/sdk_packaging.toml (new)
sdk/cosmos/azure-cosmos-embedding/setup.cfg or pyproject.toml
Dependencies
- Package scaffold sub-issue —
azure-cosmos-embedding must exist before CI can reference it.
[Cosmos] [Embedding V0] CI/CD and release pipeline for
azure-cosmos-embeddingParent: #46729
Background
The new
azure-cosmos-embeddingpackage needs CI, release, and publish pipeline steps consistent with how otherazure-cosmossibling packages are handled in the Azure SDK for Python monorepo.Reference: the .NET sibling is tracked in Azure/azure-cosmos-dotnet-v3#5843.
Scope
1. CI pipeline (
sdk/cosmos/ci.yml)azure-cosmos-embeddingto theArtifactslist so the standard Azure SDK Python CI picks it up.azure-cosmos-embedding/tests/) run on every PR touching the package.2. Release pipeline
release_*.yml/eng/pipelines/infrastructure.azure-cosmos-embeddingwith the release automation sopython-azure-cosmos-embeddingrelease PRs are created automatically.eng/versioning/version_client.txtwith an initial version (e.g.1.0.0b1).3.
pyproject.toml/ packaging standardsazure-cosmos-embeddingcomplies with Azure SDK Python packaging standards:sdk_type = "client"insdk_packaging.tomlor equivalent.azure-cosmos*packages.py.typedmarker file present.4. Open questions to resolve
azure-cosmos-embeddingship as beta (1.0.0b1) at Build, or is it staged post-Build?ci.ymlor is adding to the existingsdk/cosmos/ci.ymlsufficient?openaipackage pinning need to align with any Azure SDK dependency policy?Acceptance criteria
python -m pytest sdk/cosmos/azure-cosmos-embedding/tests/runs in CI on every PR.python -m build sdk/cosmos/azure-cosmos-embedding/produces a valid wheel.pip install azure-cosmos-embeddingfrom the published feed._version.pyis bumped.Files likely touched
sdk/cosmos/ci.yml(add package to Artifacts list — also in scaffold issue)eng/versioning/version_client.txt(addazure-cosmos-embedding)sdk/cosmos/azure-cosmos-embedding/sdk_packaging.toml(new)sdk/cosmos/azure-cosmos-embedding/setup.cfgorpyproject.tomlDependencies
azure-cosmos-embeddingmust exist before CI can reference it.