-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update is_metapackage check within
set_dev_version
tooling (#39048)
* add is_metapackage property to ParsedSetup * add tests for new is_metapackage property * utilize new property to prevent erroneous filtering of corehttp during set_dev_version calls
- Loading branch information
Showing
6 changed files
with
93 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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 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
1 change: 1 addition & 0 deletions
1
tools/azure-sdk-tools/tests/integration/scenarios/setup_py_metapackage/README.md
This file contains 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 @@ | ||
This folder contains a basic `setup.py` scenario that follows the azure-sdk conventions for a "metapackage." We use this to ensure that our metapackage detection within ParsedSetup is working properly. |
39 changes: 39 additions & 0 deletions
39
tools/azure-sdk-tools/tests/integration/scenarios/setup_py_metapackage/setup.py
This file contains 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,39 @@ | ||
#!/usr/bin/env python | ||
|
||
#------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
#-------------------------------------------------------------------------- | ||
|
||
from setuptools import setup | ||
from io import open | ||
setup( | ||
name='azure-keyvault', | ||
version='4.2.1b1', | ||
description='Microsoft Azure Key Vault Client Libraries for Python', | ||
long_description_content_type="text/markdown", | ||
license='MIT License', | ||
author='Microsoft Corporation', | ||
author_email="[email protected]", | ||
url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/keyvault/azure-keyvault", | ||
keywords="azure, azure sdk", | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3 :: Only', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
'Programming Language :: Python :: 3.12', | ||
'License :: OSI Approved :: MIT License', | ||
], | ||
zip_safe=False, | ||
install_requires=[ | ||
'azure-keyvault-certificates~=4.4', | ||
'azure-keyvault-secrets~=4.4', | ||
'azure-keyvault-keys~=4.5', | ||
], | ||
) |
This file contains 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 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