Skip to content

Commit a5a7f4c

Browse files
author
Philip de Nier
committed
Require later python version 3, >= 3.6
1 parent 2a8168d commit a5a7f4c

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# mediatimestamp Changelog
22

3+
## 1.7.2
4+
- Require Python version 3.6 rather than 3.
5+
36
## 1.7.1
47
- Correct inclusivity names in `timerange_between` method.
58

Jenkinsfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,15 @@ pipeline {
3838
environment {
3939
http_proxy = "http://www-cache.rd.bbc.co.uk:8080"
4040
https_proxy = "http://www-cache.rd.bbc.co.uk:8080"
41+
PATH = "$HOME/.pyenv/bin:$PATH"
4142
}
4243
stages {
44+
stage("Ensure pyenv has python3.6.8") {
45+
steps {
46+
sh "pyenv install -s 3.6.8"
47+
sh "pyenv local 3.6.8"
48+
}
49+
}
4350
stage ("Parallel Jobs") {
4451
parallel {
4552
stage ("Linting Check") {

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# Basic metadata
2020
name = 'mediatimestamp'
21-
version = '1.7.1'
21+
version = '1.7.2'
2222
description = 'A timestamp library for high precision nanosecond timestamps'
2323
url = 'https://github.com/bbc/rd-apmm-python-lib-mediatimestamp'
2424
author = 'James P. Weaver'

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, py3
7+
envlist = py27, py36
88

99
[testenv]
1010
commands = python -m unittest discover -s tests

0 commit comments

Comments
 (0)