Skip to content

Commit 3dc2e44

Browse files
authored
add python 3.5 (#36)
We wanted to move up to Python 3.6 as a minimum version, so that we could start taking advantage of f-strings, but we also want this library to work with the minimum number of dependencies outside of the system Python 3 provided by our chosen Linux distributions. The oldest system Python in our base OS collection is 3.5, which won't be retired until sometime in 2021. The next oldest at that point will be 3.6.
1 parent 21d0134 commit 3dc2e44

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ language: python
22

33
matrix:
44
include:
5+
- python: 3.5
6+
env: TOXENV=py35
57
- python: 3.6
68
env: TOXENV=py36
79
- python: 3.7

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Python port of the [Spectator] library for Java.
77

88
See the Spectator [documentation] for an overview of core concepts and details on [usage].
99

10-
Supports Python >= 3.6.
10+
Supports Python >= 3.5, which is the oldest system Python 3 available on our commonly used OSes.
1111

1212
[Spectator]: https://github.com/Netflix/spectator/
1313
[documentation]: https://netflix.github.io/atlas-docs/spectator/
@@ -16,7 +16,7 @@ Supports Python >= 3.6.
1616
## Local Development
1717

1818
* Install [pyenv](https://github.com/pyenv/pyenv), possibly with [Homebrew](https://brew.sh/).
19-
* Install Python versions: 3.6, 3.7, and 3.8. Enable all versions globally.
19+
* Install Python versions: 3.5, 3.6, 3.7, and 3.8. Enable all versions globally.
2020
* Make changes and add tests.
2121
* `tox`
2222

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def read(fname):
1212

1313
setup(
1414
name='netflix-spectator-py',
15-
version='0.1.14',
15+
version='0.1.15',
1616
description='Python library for reporting metrics to Atlas.',
1717
long_description=read('README.md'),
1818
long_description_content_type='text/markdown',
@@ -38,9 +38,8 @@ def read(fname):
3838

3939
# Specify the Python versions you support here. In particular, ensure
4040
# that you indicate whether you support Python 2, Python 3 or both.
41-
'Programming Language :: Python :: 2',
42-
'Programming Language :: Python :: 2.7',
4341
'Programming Language :: Python :: 3',
42+
'Programming Language :: Python :: 3.5',
4443
'Programming Language :: Python :: 3.6',
4544
'Programming Language :: Python :: 3.7',
4645
'Programming Language :: Python :: 3.8',

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[tox]
2-
envlist = py{36,37,38}
2+
envlist = py{35,36,37,38}
33

44
[testenv]
55
basepython =
6+
py35: python3.5
67
py36: python3.6
78
py37: python3.7
89
py38: python3.8

0 commit comments

Comments
 (0)