Skip to content

Commit c9be38c

Browse files
Pull request #23: feature/EOA-8174-Fixed-deprecation-warning
Merge in SDK/python_telesign from feature/EOA-8174 to developer Squashed commit of the following: commit 0ab947d54bd9c6d8d5897f0bc28b0cb1318b38fa Author: MousumiMohanty <@telesign.com> Date: Fri Dec 12 13:23:18 2025 +0530 updated the release file text commit 69865c809abcb1418fa6674a0bcbbb773e59302b Author: MousumiMohanty <@telesign.com> Date: Thu Dec 11 16:39:26 2025 +0530 Fixed deprecation warning
1 parent bb8ff27 commit c9be38c

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

RELEASE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
3.0.1
2+
- Removed deprecated pkg_resources.declare_namespace() usage.
3+
- Cleaned up old mock dependency logic.
4+
- Updated classifiers to Python 3.7–3.12.
5+
16
3.0.0
27
- Removed all functionality and methods for the Legacy Intelligence Use Case API
38
- Removed all functionality and methods for App Verify SDK

setup.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@
66

77
EXCLUDE_FROM_PACKAGES = ['tests']
88

9-
needs_mock = sys.version_info < (3, 3)
10-
mock = ['mock'] if needs_mock else []
11-
129
here = path.abspath(path.dirname(__file__))
1310

14-
version = "3.0.0"
11+
version = "3.0.1"
1512

1613
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
1714
long_description = f.read()
@@ -34,6 +31,12 @@
3431
"Programming Language :: Python :: 3.4",
3532
"Programming Language :: Python :: 3.5",
3633
"Programming Language :: Python :: 3.6",
34+
"Programming Language :: Python :: 3.7",
35+
"Programming Language :: Python :: 3.8",
36+
"Programming Language :: Python :: 3.9",
37+
"Programming Language :: Python :: 3.10",
38+
"Programming Language :: Python :: 3.11",
39+
"Programming Language :: Python :: 3.12",
3740
],
3841
long_description=long_description,
3942
keywords='telesign, sms, voice, mobile, authentication, identity, messaging',
@@ -42,6 +45,6 @@
4245
url="https://github.com/telesign/python_telesign",
4346
install_requires=['requests'],
4447
test_suite='nose.collector',
45-
tests_require=['nose', 'pytz'] + mock,
48+
tests_require=['nose', 'pytz'],
4649
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
4750
)

telesign/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from pkg_resources import get_distribution
22

3-
__import__('pkg_resources').declare_namespace(__name__)
4-
53
__version__ = get_distribution("telesign").version
64
__author__ = "TeleSign"
75
__copyright__ = "Copyright 2017, TeleSign Corp."

0 commit comments

Comments
 (0)