-
Notifications
You must be signed in to change notification settings - Fork 61
add pyproject toml #3131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
iscai-msft
merged 53 commits into
main
from
auto-swathipil-http-client-python/add-pyproject-toml
Aug 4, 2025
Merged
add pyproject toml #3131
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
8cb460e
Update dependencies
2c16d38
bump package
4aa004d
Update dependencies
073bc03
fix package json
c2c8341
regen
15fc42d
Update dependencies
407d5ce
Update dependencies (2025-07-21 18:40:55)
295e535
Regenerate for typespec-python (2025-07-21 18:45:50)
dca4e1c
Regenerate for autorest.python (2025-07-21 19:02:10)
9db95bb
bump apiview-stub-generator version
swathipil 7d8fd32
add basic-setup-py to all multiapi tests
swathipil 46f5e5f
chronus
swathipil 0bcdc65
pass in package-version with basic-setup-py
swathipil 478bd4a
Regenerate for autorest.python (2025-07-22 00:33:17)
6a8a7d9
Merge branch 'main' into auto-swathipil-http-client-python/add-pyproj…
swathipil 41609e3
Update dependencies
deee1d5
sync pnpm-lock to main
swathipil d3a1ca8
revert multiapi so basic-setup-py isn't needed by default
swathipil f014b71
remove package-version too
swathipil 7422d08
undo multiapisubmodule package-name
swathipil 916780e
Update dependencies
ac4dc51
Update dependencies (2025-07-28 22:24:08)
48dc1a2
Regenerate for typespec-python (2025-07-28 22:29:07)
c1d050c
Regenerate for autorest.python (2025-07-28 22:45:35)
dcf335c
merge main
swathipil d947921
remove setup.py file
swathipil 3001d71
read from correct path for autorest
swathipil f8e96e6
mypy
swathipil a00325e
Update dependencies
9105af8
Merge branch 'main' into auto-swathipil-http-client-python/add-pyproj…
swathipil c737cf6
Update dependencies
c1f0deb
update pnpm-lock file
swathipil b43821b
update typespec-python pyproject.toml files for python 3.13
swathipil 017f82f
update pyproject.toml for py 3.13 autorest.python
swathipil fa8ce3a
fix expected spacing in pyproject description
swathipil 55a0b65
add keep setup py tests
swathipil b8cbd67
add test for checking azure-sdk-build sections aren't removed on regen
swathipil d968d0a
update test readme to use relative output folder path
swathipil efa12ba
Update dependencies
e95ece9
fix prettier
swathipil e11a553
update lock file
swathipil 6cb4842
cspell
swathipil c63f6ed
Update dependencies
d34fa10
Update dependencies (2025-07-31 23:29:10)
628eb37
Regenerate for typespec-python (2025-07-31 23:33:53)
f6b0f79
Regenerate for autorest.python (2025-07-31 23:50:07)
fb3decc
Merge branch 'main' into auto-swathipil-http-client-python/add-pyproj…
swathipil 0c15288
nit
swathipil 86d1fce
add setuppy to test reqs
swathipil ca9f486
fix sensitive words test
swathipil d34b322
black
swathipil 514334a
revert multiapi setup.py
swathipil 46b2482
Merge branch 'main' into auto-swathipil-http-client-python/add-pyproj…
swathipil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...nges/auto-swathipil-http-client-python-add-pyproject-toml-2025-6-21-14-58-56.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| changeKind: feature | ||
| packages: | ||
| - "@autorest/python" | ||
| - "@azure-tools/typespec-python" | ||
| --- | ||
|
|
||
| Add pyproject.toml generation by default | ||
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
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
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
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
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
59 changes: 59 additions & 0 deletions
59
...utorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/pyproject.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # -------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # Code generated by Microsoft (R) AutoRest Code Generator. | ||
| # Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| # -------------------------------------------------------------------------- | ||
|
|
||
| [build-system] | ||
| requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "azure-packagemode-batch" | ||
| authors = [ | ||
| { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, | ||
| ] | ||
| description = "Microsoft Corporation Azure Package Mode Batch Mgmt Plane Client Library for Python" | ||
| license = {text = "MIT License"} | ||
| classifiers = [ | ||
| "Development Status :: 5 - Production/Stable", | ||
| "Programming Language :: Python", | ||
| "Programming Language :: Python :: 3 :: Only", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "License :: OSI Approved :: MIT License", | ||
| ] | ||
| requires-python = ">=3.9" | ||
| keywords = ["azure", "azure sdk"] | ||
|
|
||
| dependencies = [ | ||
| "msrest>=0.7.1", | ||
| "azure-core>=1.35.0", | ||
| "typing-extensions>=4.6.0", | ||
| ] | ||
| dynamic = [ | ||
| "version", "readme" | ||
| ] | ||
|
|
||
| [project.urls] | ||
| repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" | ||
|
|
||
| [tool.setuptools.dynamic] | ||
| version = {attr = "azure.packagemode.batch._version.VERSION"} | ||
| readme = {file = ["README.md"], content-type = "text/markdown"} | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| exclude = [ | ||
| "tests*", | ||
| "samples*", | ||
| "azure", | ||
| "azure.packagemode", | ||
| ] | ||
|
|
||
| [tool.setuptools.package-data] | ||
| pytyped = ["py.typed"] |
71 changes: 0 additions & 71 deletions
71
...ages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/setup.py
This file was deleted.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
...est.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # -------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # Code generated by Microsoft (R) AutoRest Code Generator. | ||
| # Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| # -------------------------------------------------------------------------- | ||
|
|
||
| [build-system] | ||
| requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "azure-packagemode-dataplane" | ||
| authors = [ | ||
| { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, | ||
| ] | ||
| description = "Microsoft Corporation Azure Package Mode Data Plane Client Library for Python" | ||
| license = {text = "MIT License"} | ||
| classifiers = [ | ||
| "Development Status :: 5 - Production/Stable", | ||
| "Programming Language :: Python", | ||
| "Programming Language :: Python :: 3 :: Only", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "License :: OSI Approved :: MIT License", | ||
| ] | ||
| requires-python = ">=3.9" | ||
| keywords = ["azure", "azure sdk"] | ||
|
|
||
| dependencies = [ | ||
| "msrest>=0.7.1", | ||
| "azure-core>=1.35.0", | ||
| "typing-extensions>=4.6.0", | ||
| ] | ||
| dynamic = [ | ||
| "version", "readme" | ||
| ] | ||
|
|
||
| [project.urls] | ||
| repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" | ||
|
|
||
| [tool.setuptools.dynamic] | ||
| version = {attr = "azure.packagemode.dataplane._version.VERSION"} | ||
| readme = {file = ["README.md"], content-type = "text/markdown"} | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| exclude = [ | ||
| "tests*", | ||
| "samples*", | ||
| "azure", | ||
| "azure.packagemode", | ||
| ] | ||
|
|
||
| [tool.setuptools.package-data] | ||
| pytyped = ["py.typed"] |
71 changes: 0 additions & 71 deletions
71
.../autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/setup.py
This file was deleted.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
...est.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # -------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # Code generated by Microsoft (R) AutoRest Code Generator. | ||
| # Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| # -------------------------------------------------------------------------- | ||
|
|
||
| [build-system] | ||
| requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "azure-package-mode" | ||
| authors = [ | ||
| { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, | ||
| ] | ||
| description = "Microsoft Corporation Azure Package Mode Client Library for Python" | ||
| license = {text = "MIT License"} | ||
| classifiers = [ | ||
| "Development Status :: 5 - Production/Stable", | ||
| "Programming Language :: Python", | ||
| "Programming Language :: Python :: 3 :: Only", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "License :: OSI Approved :: MIT License", | ||
| ] | ||
| requires-python = ">=3.9" | ||
| keywords = ["azure", "azure sdk"] | ||
|
|
||
| dependencies = [ | ||
| "msrest>=0.7.1", | ||
| "azure-core>=1.35.0", | ||
| "typing-extensions>=4.6.0", | ||
| ] | ||
| dynamic = [ | ||
| "version", "readme" | ||
| ] | ||
|
|
||
| [project.urls] | ||
| repository = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk" | ||
|
|
||
| [tool.setuptools.dynamic] | ||
| version = {attr = "azure.package.mode._version.VERSION"} | ||
| readme = {file = ["README.md"], content-type = "text/markdown"} | ||
|
|
||
| [tool.setuptools.packages.find] | ||
| exclude = [ | ||
| "tests*", | ||
| "samples*", | ||
| "azure", | ||
| "azure.package", | ||
| ] | ||
|
|
||
| [tool.setuptools.package-data] | ||
| pytyped = ["py.typed"] |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.