[Media-Monitor] Migrate packages from setup.py to pyproject.toml#46645
Draft
l0lawrence wants to merge 7 commits intoAzure:mainfrom
Draft
[Media-Monitor] Migrate packages from setup.py to pyproject.toml#46645l0lawrence wants to merge 7 commits intoAzure:mainfrom
l0lawrence wants to merge 7 commits intoAzure:mainfrom
Conversation
Packages: azure-media-videoanalyzer-edge, azure-monitor-opentelemetry, azure-monitor-opentelemetry-exporter Move package metadata from setup.py to PEP 621 [project] table in pyproject.toml. Removes setup.py. - build-system: setuptools >= 77.0.3 - license -> SPDX 'MIT' (drops the License classifier) - version: static (read from each package's _version.py at migration time) - readme: dynamic via README.md + CHANGELOG.md - packages.find excludes mirror the canonical azure-sdk template Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ackages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ackages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
3cfa7c9 to
bb345dc
Compare
- Restore project.dynamic = ["readme"] outside optional-dependencies - Add maintainers / fix package-data / dev-status / exclude as needed Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Restore the exact include/exclude lists used by setup.py's find_packages() call so the migration is fully behavior-preserving. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Restore the exact include/exclude lists used by setup.py's find_packages() call so the migration is fully behavior-preserving. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
Migrates 3 Media-Monitor data-plane package(s) from
setup.pyto a PEP 621[project]table inpyproject.toml. Modeled aftersdk/ai/azure-ai-projects/pyproject.toml.Packages migrated
sdk\videoanalyzer\azure-media-videoanalyzer-edgesdk\monitor\azure-monitor-opentelemetrysdk\monitor\azure-monitor-opentelemetry-exporterNotes
licenseset as SPDX expressionMIT(drops theLicense :: OSI Approved :: MIT Licenseclassifier).versionis written as a static string read from_version.pyat migration time. Dynamicattrresolution fails inside uv build-isolation for legacypkgutil.extend_pathnamespaces, so static is used.readmeremains dynamic viaREADME.md+CHANGELOG.md.Part of the ongoing effort to migrate all active data-plane packages off
setup.py.