Skip to content

Commit 96990cd

Browse files
authored
Merge pull request #592 from Labelbox/jtso/AL-1278
[AL-1278] Python 3.6 Deprecation
2 parents 0cbc00e + 0e307f2 commit 96990cd

File tree

4 files changed

+8
-18
lines changed

4 files changed

+8
-18
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17-
- python-version: 3.6
17+
- python-version: 3.7
1818
prod-key: LABELBOX_API_KEY
1919
staging-key: STAGING_LABELBOX_API_KEY
2020
da-test-key: DA_GCP_LABELBOX_API_KEY
21-
- python-version: 3.7
21+
- python-version: 3.8
2222
prod-key: PROD_LABELBOX_API_KEY_2
2323
staging-key: STAGING_LABELBOX_API_KEY_2
2424
da-test-key: DA_GCP_LABELBOX_API_KEY
25-
- python-version: 3.8
25+
- python-version: 3.9
2626
prod-key: PROD_LABELBOX_API_KEY_3
2727
staging-key: STAGING_LABELBOX_API_KEY_3
2828
da-test-key: DA_GCP_LABELBOX_API_KEY

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The Labelbox Python API offers a simple, user-friendly way to interact with the
1818

1919
## Requirements
2020

21-
- Use Python 3.6, 3.7 or 3.8
21+
- Use Python 3.7, 3.8 or 3.9
2222
- [Create an account](http://app.labelbox.com/)
2323
- [Generate an API key](https://labelbox.com/docs/api/getting-started#create_api_key)
2424

labelbox/__init__.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
name = "labelbox"
22
__version__ = "3.22.1"
33

4-
import sys
5-
import warnings
6-
7-
if sys.version_info < (3, 7):
8-
warnings.warn("""Python 3.6 will no longer be actively supported
9-
starting 06/01/2022. Please upgrade to Python 3.7 or higher.""")
10-
114
from labelbox.client import Client
125
from labelbox.schema.project import Project
136
from labelbox.schema.model import Model

setup.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@
2020
url="https://labelbox.com",
2121
packages=setuptools.find_packages(),
2222
install_requires=[
23-
"backoff==1.10.0",
24-
"backports-datetime-fromisoformat==1.0.0; python_version < '3.7.0'",
25-
"dataclasses==0.7; python_version < '3.7.0'", "ndjson==0.3.1",
26-
"requests>=2.22.0", "google-api-core>=1.22.1", "pydantic>=1.8,<2.0",
27-
"tqdm"
23+
"backoff==1.10.0", "requests>=2.22.0", "google-api-core>=1.22.1",
24+
"pydantic>=1.8,<2.0", "tqdm"
2825
],
2926
extras_require={
3027
'data': [
@@ -37,10 +34,10 @@
3734
'Development Status :: 3 - Alpha',
3835
'License :: OSI Approved :: Apache Software License',
3936
'Programming Language :: Python :: 3',
40-
'Programming Language :: Python :: 3.6',
4137
'Programming Language :: Python :: 3.7',
4238
'Programming Language :: Python :: 3.8',
39+
'Programming Language :: Python :: 3.9',
4340
],
44-
python_requires='>=3.6',
41+
python_requires='>=3.7',
4542
keywords=["labelbox"],
4643
)

0 commit comments

Comments
 (0)