[Purview] Migrate packages from setup.py to pyproject.toml#46647
Draft
l0lawrence wants to merge 5 commits intoAzure:mainfrom
Draft
[Purview] Migrate packages from setup.py to pyproject.toml#46647l0lawrence wants to merge 5 commits intoAzure:mainfrom
l0lawrence wants to merge 5 commits intoAzure:mainfrom
Conversation
Packages: azure-purview-administration, azure-purview-datamap, azure-purview-scanning, azure-purview-sharing, azure-purview-workflow 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>
…ackages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ackages Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
8216bba to
498fdb3
Compare
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 5 Purview 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\purview\azure-purview-administrationsdk\purview\azure-purview-datamapsdk\purview\azure-purview-scanningsdk\purview\azure-purview-sharingsdk\purview\azure-purview-workflowNotes
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.