Skip to content

Commit

Permalink
Require later python version 3, >= 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
philipnbbc committed Feb 17, 2020
1 parent 2a8168d commit 67dac63
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# mediatimestamp Changelog

## 1.7.2
- Require Python version 3.6 rather than 3.

## 1.7.1
- Correct inclusivity names in `timerange_between` method.

Expand Down
8 changes: 7 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

pipeline {
agent {
label "ubuntu&&apmm-slave"
label "ubuntu&&apmm-slave&&18.04"
}
options {
ansiColor('xterm') // Add support for coloured output
Expand All @@ -40,6 +40,12 @@ pipeline {
https_proxy = "http://www-cache.rd.bbc.co.uk:8080"
}
stages {
stage("Ensure pyenv has python3.6.8") {
steps {
sh "pyenv install -s 3.6.8"
sh "pyenv local 3.6.8"
}
}
stage ("Parallel Jobs") {
parallel {
stage ("Linting Check") {
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# Basic metadata
name = 'mediatimestamp'
version = '1.7.1'
version = '1.7.2'
description = 'A timestamp library for high precision nanosecond timestamps'
url = 'https://github.com/bbc/rd-apmm-python-lib-mediatimestamp'
author = 'James P. Weaver'
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py27, py3
envlist = py27, py36

[testenv]
commands = python -m unittest discover -s tests
Expand Down

0 comments on commit 67dac63

Please sign in to comment.