Skip to content

[SchemaRegistry] drop 2.7/36 #22318

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
merged 3 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sdk/schemaregistry/azure-schemaregistry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## 1.0.1 (Unreleased)

This version and all future versions will require Python 3.7+. Python 2.7 and 3.6 are no longer supported.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this the only change for the release? If so, there's no need to release.

Copy link
Member Author

Choose a reason for hiding this comment

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

sounds good, just will update the version and leave this note for now. Not planning on releasing


### Features Added

### Breaking Changes
Expand Down
6 changes: 3 additions & 3 deletions sdk/schemaregistry/azure-schemaregistry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ schema identifiers rather than full schemas.

## _Disclaimer_

_Azure SDK Python packages support for Python 2.7 is ending 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
_Azure SDK Python packages support for Python 2.7 has ended on 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_

## Getting started

Expand All @@ -24,7 +24,7 @@ pip install azure-schemaregistry
To use this package, you must have:
* Azure subscription - [Create a free account][azure_sub]
* [Azure Schema Registry][schemaregistry_service]
* Python 2.7, 3.6 or later - [Install Python][python]
* Python 3.7 or later - [Install Python][python]

### Authenticate the client

Expand All @@ -39,7 +39,7 @@ Interaction with Schema Registry starts with an instance of SchemaRegistryClient
pip install azure-identity
```

* Additionally, to use the async API supported on Python 3.6+, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/):
* Additionally, to use the async API, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/):

```Bash
pip install aiohttp
Expand Down
17 changes: 0 additions & 17 deletions sdk/schemaregistry/azure-schemaregistry/conftest.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
-e ../../../tools/azure-sdk-tools
-e ../../core/azure-core
-e ../../identity/azure-identity
aiohttp>=3.0; python_version >= '3.5'
aiohttp>=3.0
4 changes: 2 additions & 2 deletions sdk/schemaregistry/azure-schemaregistry/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ urlFragment: schemaregistry-samples

These are code samples that show common scenario operations with the Schema Registry client library.
The async versions of the samples (the python sample files appended with `_async`) show asynchronous operations,
and require Python 3.6 or later.
and require Python 3.7 or later.

Several Schema Registry Python SDK samples are available to you in the SDK's GitHub repository. These samples provide example code for additional scenarios commonly encountered while working with Schema Registry:

Expand All @@ -22,7 +22,7 @@ Several Schema Registry Python SDK samples are available to you in the SDK's Git
* Get schema id

## Prerequisites
- Python 2.7, 3.6 or later.
- Python 3.7 or later.
- **Microsoft Azure Subscription:** To use Azure services, including Azure Schema Registry, you'll need a subscription.
If you do not have an existing Azure account, you may sign up for a free trial or use your MSDN subscriber benefits when you [create an account](https://account.windowsazure.com/Home/Index).

Expand Down
2 changes: 0 additions & 2 deletions sdk/schemaregistry/azure-schemaregistry/setup.cfg

This file was deleted.

11 changes: 3 additions & 8 deletions sdk/schemaregistry/azure-schemaregistry/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,18 @@
classifiers=[
"Development Status :: 5 - Production/Stable",
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: MIT License',
],
python_requires=">=3.7",
zip_safe=False,
packages=find_packages(exclude=exclude_packages),
install_requires=[
'msrest>=0.6.21',
'azure-core<2.0.0,>=1.20.0'
],
extras_require={
":python_version<'3.0'": ['azure-nspkg']
}
]
)