Skip to content

Fix Conda update script for missed packages from previous release - #48768

Merged
jenny (JennyPng) merged 7 commits into
Azure:mainfrom
JennyPng:jennypeng/fix-conda-generator-consistency
Aug 27, 2026
Merged

Fix Conda update script for missed packages from previous release#48768
jenny (JennyPng) merged 7 commits into
Azure:mainfrom
JennyPng:jennypeng/fix-conda-generator-consistency

Conversation

@JennyPng

@JennyPng jenny (JennyPng) commented Aug 26, 2026

Copy link
Copy Markdown
Member
  • handle some edge cases that caused inconsistencies in this generation Conda Release 2026.09.01 generated by 6743806 #48737
    • a new mgmt library azure-mgmt-trustedsigning has no setup.py/pyproject.toml (it's also deprecated) - it fails one of the inner steps, but still got added to conda-sdk-client.yml - update to prefilter out packages that dont have pyproject.toml/setup.py
    • ensure that release log versions are consistent with versions in conda sdk client yml, by specifically using the yml as a source of truth input to the release log update functions
    • an old data plane package never had a release log ? update release log creation to check for existence of release log for all data plane pkgs, not just 'outdated' ones
    • some packages were released before the previous Conda release date, but released after the script ran, so they were excluded and caused version inconsistencies across files on this run --- check all existing versions in the conda yml against the csv versions, not just 'outdated' packages
    • add some basic unit tests for the update script

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Reconcile configured package versions with the release CSV, generate release logs from the selected checkout versions, and preflight new management packages before updating generated files. Add regression coverage for stale pins, missing logs, reruns, and invalid package metadata.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@JennyPng
jenny (JennyPng) force-pushed the jennypeng/fix-conda-generator-consistency branch from 1ad4146 to dc27507 Compare August 26, 2026 18:27
@JennyPng jenny (JennyPng) changed the title Fix Conda update consistency checks Fix Conda update script for missed packages from previous release Aug 26, 2026
@JennyPng
jenny (JennyPng) marked this pull request as ready for review August 27, 2026 21:44
Copilot AI balanced review requested due to automatic review settings August 27, 2026 21:45
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves Conda release generation to handle missing metadata, stale versions, and incomplete release logs.

Changes:

  • Reconciles configured Conda versions with release CSV data.
  • Filters packages with unparseable metadata and derives release logs from shipped versions.
  • Adds unit tests for key update scenarios.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
conda/update_conda_files.py Adds filtering, version reconciliation, and release-log fixes.
conda/tests/test_update_conda_files.py Adds unit tests for the updated behavior.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

Comment thread conda/tests/test_update_conda_files.py
@JennyPng
jenny (JennyPng) enabled auto-merge (squash) August 27, 2026 22:15
@JennyPng
jenny (JennyPng) merged commit 2653fc4 into Azure:main Aug 27, 2026
20 checks passed
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.

3 participants