Skip to content

Commit ff47dc4

Browse files
authored
Merge pull request #63 from fronzbot/release-0.7.1
v0.7.1
2 parents d38d304 + fedea74 commit ff47dc4

File tree

6 files changed

+41
-4
lines changed

6 files changed

+41
-4
lines changed

.gitlab-ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
image: python
2+
3+
stages:
4+
- test
5+
6+
before_script:
7+
- curl -O https://bootstrap.pypa.io/get-pip.py
8+
- python get-pip.py
9+
- pip install tox
10+
11+
python35:
12+
image: python:3.5
13+
stage: test
14+
script: tox -e py35
15+
16+
python36:
17+
image: python:3.6
18+
stage: test
19+
script: tox -e py36
20+
21+
lint:
22+
image: python:3.6
23+
stage: test
24+
script: tox -e lint
25+

.hound.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
python:
22
enabled: true
3+
ignore_file: setup.py
34
ignored_directories:
45
- docs
56

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
matrix:
22
fast_finish: true
33
include:
4-
- python: "3.4.2"
5-
env: TOXENV=py34
64
- python: "3.6"
75
env: TOXENV=lint
86
- python: "3.5"
@@ -13,6 +11,8 @@ matrix:
1311
env: TOXENV=py36
1412
- python: "3.6"
1513
env: TOXENV=build
14+
- python: "3.7-dev"
15+
env: TOXENV=py37
1616

1717
install: pip install -U tox coveralls
1818
language: python

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Changelog
33

44
A list of changes between each release
55

6+
0.7.1 (2018-05-09)
7+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8+
- Fixed pip 10 import issue during setup (`@fronzbot <https://github.com/fronzbot/blinkpy/pull/61>`_)
9+
610
0.7.0 (2018-02-08)
711
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
812
- Fixed style errors for bumped pydocstring and pylint versions

blinkpy/helpers/constants.py

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

55
MAJOR_VERSION = 0
66
MINOR_VERSION = 7
7-
PATCH_VERSION = 0
7+
PATCH_VERSION = 1
88

99
__version__ = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)
1010

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# -*- coding: utf-8 -*-
22
from os.path import abspath, dirname, join
33
from setuptools import setup, find_packages
4-
from pip.req import parse_requirements
4+
# Fixes import error due to breaking change in pip 10
5+
# https://stackoverflow.com/a/49867265
6+
# pip > 10
7+
try:
8+
from pip._internal.req import parse_requirements
9+
# pip < 10
10+
except ImportError:
11+
from pip.req import parse_requirements
512
from blinkpy.helpers.constants import (
613
__version__, PROJECT_PACKAGE_NAME, PROJECT_LICENSE, PROJECT_URL,
714
PROJECT_EMAIL, PROJECT_DESCRIPTION, PROJECT_CLASSIFIERS, PROJECT_AUTHOR,

0 commit comments

Comments
 (0)