Skip to content

Commit 1871d26

Browse files
Drop support for Python3.8 (#68)
1 parent 91dd222 commit 1871d26

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/build-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
strategy:
2121
matrix:
2222
python-version:
23-
- "3.8"
2423
- "3.9"
2524
- "3.10"
2625
- "3.11"

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# create official build artifacts, you can test it on your MacBook by
1515
# installing miniconda3, then creating an environment like this:
1616
#
17-
# conda create -n my-conda-build-environment python=3.8 conda-build git
17+
# conda create -n my-conda-build-environment python=3.9 conda-build git
1818
# conda activate my-conda-build-environment
1919
# # cd into the snowflake-telemetry-python git root dir
2020
# export SNOWFLAKE_TELEMETRY_DIR=$(pwd)

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
with open(os.path.join(SNOWFLAKE_TELEMETRY_SRC_DIR, "version.py"), encoding="utf-8") as f:
1818
exec(f.read())
1919

20+
REQUIRED_PYTHON_VERSION = ">=3.9, <3.13"
21+
2022

2123
setup(
2224
name="snowflake-telemetry-python",
@@ -26,6 +28,7 @@
2628
url="https://www.snowflake.com/",
2729
description=DESCRIPTION,
2830
long_description=LONG_DESCRIPTION,
31+
python_requires=REQUIRED_PYTHON_VERSION,
2932
install_requires=[
3033
"opentelemetry-api == 1.26.0",
3134
"opentelemetry-sdk == 1.26.0",
@@ -48,12 +51,11 @@
4851
"License :: OSI Approved :: Apache Software License",
4952
"Operating System :: OS Independent",
5053
"Programming Language :: SQL",
51-
"Programming Language :: Python :: 3.8",
54+
"Programming Language :: Python :: 3 :: Only",
5255
"Programming Language :: Python :: 3.9",
5356
"Programming Language :: Python :: 3.10",
5457
"Programming Language :: Python :: 3.11",
5558
"Programming Language :: Python :: 3.12",
56-
"Programming Language :: Python :: 3.13",
5759
"Topic :: Database",
5860
"Topic :: Software Development",
5961
"Topic :: Software Development :: Libraries",

tests/snowflake-telemetry-test-utils/setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"pytest >= 7.0.0",
2020
"snowflake-telemetry-python == 0.7.2.dev",
2121
"Jinja2 == 3.1.4",
22-
"grpcio-tools >= 1.62.3",
23-
"black >= 24.1.0",
22+
"grpcio-tools >= 1.62.3",
23+
"black >= 24.1.0",
2424
"isort >= 5.12.0",
2525
"hypothesis >= 6.0.0",
2626
"google-benchmark",
@@ -43,10 +43,11 @@
4343
"License :: OSI Approved :: Apache Software License",
4444
"Operating System :: OS Independent",
4545
"Programming Language :: SQL",
46-
"Programming Language :: Python :: 3.8",
46+
"Programming Language :: Python :: 3 :: Only",
4747
"Programming Language :: Python :: 3.9",
4848
"Programming Language :: Python :: 3.10",
4949
"Programming Language :: Python :: 3.11",
50+
"Programming Language :: Python :: 3.12",
5051
"Topic :: Database",
5152
"Topic :: Software Development",
5253
"Topic :: Software Development :: Libraries",

0 commit comments

Comments
 (0)