Skip to content

Commit d21793d

Browse files
author
alrex
authored
remove python 3.5 support (#1706)
1 parent 724c792 commit d21793d

File tree

25 files changed

+45
-96
lines changed

25 files changed

+45
-96
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
build:
1717
env:
1818
# We use these variables to convert between tox and GHA version literals
19-
py35: 3.5
2019
py36: 3.6
2120
py37: 3.7
2221
py38: 3.8
@@ -27,18 +26,9 @@ jobs:
2726
strategy:
2827
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
2928
matrix:
30-
python-version: [ py35, py36, py37, py38, py39, pypy3 ]
29+
python-version: [ py36, py37, py38, py39, pypy3 ]
3130
package: ["instrumentation", "core", "exporter", "propagator"]
3231
os: [ ubuntu-latest ]
33-
include:
34-
# py35-instrumentation segfaults on 18.04 so we instead run on 20.04
35-
- python-version: py35
36-
package: instrumentation
37-
os: ubuntu-20.04
38-
exclude:
39-
- os: ubuntu-latest
40-
python-version: py35
41-
package: instrumentation
4232
steps:
4333
- name: Checkout Core Repo @ SHA - ${{ github.sha }}
4434
uses: actions/checkout@v2
@@ -118,7 +108,6 @@ jobs:
118108
contrib-build:
119109
env:
120110
# We use these variables to convert between tox and GHA version literals
121-
py35: 3.5
122111
py36: 3.6
123112
py37: 3.7
124113
py38: 3.8
@@ -128,18 +117,9 @@ jobs:
128117
strategy:
129118
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
130119
matrix:
131-
python-version: [ py35, py36, py37, py38, py39, pypy3 ]
120+
python-version: [ py36, py37, py38, py39, pypy3 ]
132121
package: ["instrumentation", "exporter"]
133122
os: [ ubuntu-latest ]
134-
include:
135-
# py35-instrumentation segfaults on 18.04 so we instead run on 20.04
136-
- python-version: py35
137-
package: instrumentation
138-
os: ubuntu-20.04
139-
exclude:
140-
- os: ubuntu-latest
141-
python-version: py35
142-
package: instrumentation
143123
steps:
144124
- name: Checkout Contrib Repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
145125
uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7474
([#1675](https://github.com/open-telemetry/opentelemetry-python/pull/1675))
7575
- Remove `OTEL_EXPORTER_*_ INSECURE` env var
7676
([#1682](https://github.com/open-telemetry/opentelemetry-python/pull/1682))
77+
- Removing support for Python 3.5
78+
([#1706](https://github.com/open-telemetry/opentelemetry-python/pull/1706))
7779

7880
## [0.18b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v0.18b0) - 2021-02-16
7981

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
This page describes the Python [OpenTelemetry](https://opentelemetry.io/) implementation. OpenTelemetry is an observability framework for cloud-native software.
4242

4343
## Requirements
44-
Unless otherwise noted, all published artifacts support Python 3.5 or higher. See CONTRIBUTING.md for additional instructions for building this project for development.
44+
Unless otherwise noted, all published artifacts support Python 3.6 or higher. See CONTRIBUTING.md for additional instructions for building this project for development.
4545

4646
## Getting started
4747

docs/examples/error_handler/error_handler_0/setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@ classifiers =
2525
License :: OSI Approved :: Apache Software License
2626
Programming Language :: Python
2727
Programming Language :: Python :: 3
28-
Programming Language :: Python :: 3.5
2928
Programming Language :: Python :: 3.6
3029
Programming Language :: Python :: 3.7
3130
Programming Language :: Python :: 3.8
3231
Programming Language :: Python :: 3.9
3332

3433
[options]
35-
python_requires = >=3.5
34+
python_requires = >=3.6
3635
package_dir=
3736
=src
3837
packages=find_namespace:

docs/examples/error_handler/error_handler_1/setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@ classifiers =
2525
License :: OSI Approved :: Apache Software License
2626
Programming Language :: Python
2727
Programming Language :: Python :: 3
28-
Programming Language :: Python :: 3.5
2928
Programming Language :: Python :: 3.6
3029
Programming Language :: Python :: 3.7
3130
Programming Language :: Python :: 3.8
3231
Programming Language :: Python :: 3.9
3332

3433
[options]
35-
python_requires = >=3.5
34+
python_requires = >=3.6
3635
package_dir=
3736
=src
3837
packages=find_namespace:

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generally be used in production environments.
1616

1717
Requirement
1818
-----------
19-
OpenTelemetry-Python supports Python 3.5 and higher.
19+
OpenTelemetry-Python supports Python 3.6 and higher.
2020

2121
Installation
2222
------------

exporter/opentelemetry-exporter-jaeger-proto/setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ classifiers =
2828
License :: OSI Approved :: Apache Software License
2929
Programming Language :: Python
3030
Programming Language :: Python :: 3
31-
Programming Language :: Python :: 3.5
3231
Programming Language :: Python :: 3.6
3332
Programming Language :: Python :: 3.7
3433
Programming Language :: Python :: 3.8
3534
Programming Language :: Python :: 3.9
3635

3736
[options]
38-
python_requires = >=3.5
37+
python_requires = >=3.6
3938
package_dir=
4039
=src
4140
packages=find_namespace:

exporter/opentelemetry-exporter-jaeger-thrift/setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ classifiers =
2828
License :: OSI Approved :: Apache Software License
2929
Programming Language :: Python
3030
Programming Language :: Python :: 3
31-
Programming Language :: Python :: 3.5
3231
Programming Language :: Python :: 3.6
3332
Programming Language :: Python :: 3.7
3433
Programming Language :: Python :: 3.8
3534
Programming Language :: Python :: 3.9
3635

3736
[options]
38-
python_requires = >=3.5
37+
python_requires = >=3.6
3938
package_dir=
4039
=src
4140
packages=find_namespace:

exporter/opentelemetry-exporter-jaeger/setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ classifiers =
2828
License :: OSI Approved :: Apache Software License
2929
Programming Language :: Python
3030
Programming Language :: Python :: 3
31-
Programming Language :: Python :: 3.5
3231
Programming Language :: Python :: 3.6
3332
Programming Language :: Python :: 3.7
3433
Programming Language :: Python :: 3.8
3534
Programming Language :: Python :: 3.9
3635

3736
[options]
38-
python_requires = >=3.5
37+
python_requires = >=3.6
3938

4039
packages=find_namespace:
4140
install_requires =

exporter/opentelemetry-exporter-opencensus/setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ classifiers =
2828
License :: OSI Approved :: Apache Software License
2929
Programming Language :: Python
3030
Programming Language :: Python :: 3
31-
Programming Language :: Python :: 3.5
3231
Programming Language :: Python :: 3.6
3332
Programming Language :: Python :: 3.7
3433
Programming Language :: Python :: 3.8
3534
Programming Language :: Python :: 3.9
3635

3736
[options]
38-
python_requires = >=3.5
37+
python_requires = >=3.6
3938
package_dir=
4039
=src
4140
packages=find_namespace:

0 commit comments

Comments
 (0)