Skip to content

Commit

Permalink
Merge pull request #43 from bbc/philipn-require-py36
Browse files Browse the repository at this point in the history
Require later python version 3, >= 3.6
  • Loading branch information
philipnbbc authored Feb 18, 2020
2 parents 2a8168d + a5a7f4c commit 70d5e19
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 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
7 changes: 7 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,15 @@ pipeline {
environment {
http_proxy = "http://www-cache.rd.bbc.co.uk:8080"
https_proxy = "http://www-cache.rd.bbc.co.uk:8080"
PATH = "$HOME/.pyenv/bin:$PATH"
}
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 70d5e19

Please sign in to comment.