Skip to content
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
4 changes: 3 additions & 1 deletion sdk/core/azure-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 1.21.2 (Unreleased)
## 1.22.0 (Unreleased)

### Features Added

Expand All @@ -12,6 +12,8 @@

### Other Changes

- Python 2.7 is no longer supported. Please use Python version 3.6 or later.

## 1.21.1 (2021-12-06)

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If you are a client library developer, please reference [client library develope

## _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 01 January 2022. For more information and questions, please refer to <https://github.com/Azure/azure-sdk-for-python/issues/20691>_

## Getting started

Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core/azure/core/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "1.21.2"
VERSION = "1.22.0"
5 changes: 2 additions & 3 deletions sdk/core/azure-core/dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
trio; python_version >= '3.5'
aiohttp>=3.0; python_version >= '3.5'
trio
aiohttp>=3.0
typing_extensions>=3.7.2
opencensus>=0.6.0
opencensus-ext-azure
opencensus-ext-threading
mock; python_version < '3.3'
-e ../../../tools/azure-sdk-tools
-e ../../../tools/azure-devtools
-e tests/testserver_tests/coretestserver
32 changes: 0 additions & 32 deletions sdk/core/azure-core/samples/conftest.py

This file was deleted.

2 changes: 0 additions & 2 deletions sdk/core/azure-core/setup.cfg

This file was deleted.

9 changes: 2 additions & 7 deletions sdk/core/azure-core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
classifiers=[
"Development Status :: 5 - Production/Stable",
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
"Programming Language :: Python :: 3 :: Only",
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Expand All @@ -66,13 +65,9 @@
package_data={
'pytyped': ['py.typed'],
},
python_requires=">=3.6",
install_requires=[
'requests>=2.18.4',
'six>=1.11.0',
],
extras_require={
":python_version<'3.0'": ['azure-nspkg'],
":python_version<'3.4'": ['enum34>=1.0.4'],
":python_version<'3.5'": ['typing'],
}
)
13 changes: 0 additions & 13 deletions sdk/core/azure-core/tests/async_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,6 @@ def testserver():
yield
terminate_testserver(server)


# Ignore collection of async tests for Python 2
collect_ignore_glob = []
if sys.version_info < (3, 5):
collect_ignore_glob.append("*_async.py")

@pytest.fixture
def client(port):
return AsyncTestRestClient(port)

import sys

# Ignore collection of async tests for Python 2
collect_ignore = []
if sys.version_info < (3, 5):
collect_ignore.append("async_tests")
6 changes: 0 additions & 6 deletions sdk/core/azure-core/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@
from rest_client import TestRestClient
import sys

# Ignore collection of async tests for Python 2
collect_ignore = []
if sys.version_info < (3, 5):
collect_ignore.append("async_tests")


# If opencensus is loadable while doing these tests, register an empty tracer to avoid this:
# https://github.com/census-instrumentation/opencensus-python/issues/442
try:
Expand Down