Skip to content

Commit d995f1b

Browse files
authored
Merge pull request #170 from getyoti/development
Release v2.10.2
2 parents 01b9b90 + 2f7bfc2 commit d995f1b

File tree

15 files changed

+33
-905
lines changed

15 files changed

+33
-905
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ language: python
33
dist: xenial
44

55
git:
6-
depth: false
6+
depth: 3
77

88
jobs:
99
allow_failures:

requirements.in

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
asn1==2.2.0
2-
click==6.6
3-
cryptography>=2.7.0
2+
cryptography>=2.8.0
43
cffi>=1.13.0
5-
future==0.15.2
4+
future==0.18.2
65
itsdangerous==0.24
76
pbr==1.10.0
8-
protobuf==3.7.0
7+
protobuf==3.11.3
98
pyopenssl==18.0.0
109
PyYAML==5.2 # PyYAML 5.3 does not support Python 3.4
1110
pytz==2018.9
1211
requests>=2.20.0
1312
urllib3>=1.24.2
1413
deprecated==1.2.6
15-
wheel==0.24.0
14+
wheel==0.24.0

requirements.txt

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,26 @@
44
#
55
# pip-compile --output-file=requirements.txt requirements.in
66
#
7-
asn1==2.2.0
8-
asn1crypto==0.24.0 # via cryptography
7+
asn1==2.2.0 # via -r requirements.in
98
certifi==2018.11.29 # via requests
10-
cffi==1.13.0
9+
cffi==1.13.0 # via -r requirements.in, cryptography
1110
chardet==3.0.4 # via requests
12-
click==6.6
13-
cryptography==2.7
14-
deprecated==1.2.6
15-
future==0.15.2
11+
cryptography==2.8 # via -r requirements.in, pyopenssl
12+
deprecated==1.2.6 # via -r requirements.in
13+
future==0.18.2 # via -r requirements.in
1614
idna==2.7 # via requests
17-
itsdangerous==0.24
18-
pbr==1.10.0
19-
protobuf==3.7.0
15+
itsdangerous==0.24 # via -r requirements.in
16+
pbr==1.10.0 # via -r requirements.in
17+
protobuf==3.11.3 # via -r requirements.in
2018
pycparser==2.18 # via cffi
21-
pyopenssl==18.0.0
22-
pytz==2018.9
23-
pyyaml==5.2
24-
requests==2.21.0
19+
pyopenssl==18.0.0 # via -r requirements.in
20+
pytz==2018.9 # via -r requirements.in
21+
pyyaml==5.2 # via -r requirements.in
22+
requests==2.21.0 # via -r requirements.in
2523
six==1.10.0 # via cryptography, protobuf, pyopenssl
26-
urllib3==1.24.2
27-
wheel==0.24.0
24+
urllib3==1.24.2 # via -r requirements.in, requests
25+
wheel==0.24.0 # via -r requirements.in
2826
wrapt==1.11.2 # via deprecated
2927

3028
# The following packages are considered to be unsafe in a requirements file:
31-
# setuptools==43.0.0 # via protobuf
29+
# setuptools

setup.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
2-
from setuptools import setup, find_packages
3-
4-
from yoti_python_sdk import __version__
2+
from setuptools import find_packages
3+
from setuptools import setup
54

65
long_description = (
76
"This package contains the tools you need to quickly "
@@ -10,32 +9,36 @@
109
"application in a secure and trusted way."
1110
)
1211

12+
version = {}
13+
with open("yoti_python_sdk/version.py") as fp:
14+
exec(fp.read(), version)
15+
1316
setup(
1417
name="yoti",
15-
version=__version__,
16-
packages=find_packages(),
18+
version=version["__version__"],
19+
packages=find_packages(include=["yoti_python_sdk", "yoti_python_sdk.*"]),
1720
license="MIT",
1821
description="The Yoti Python SDK, providing API support for Login, Verify (2FA) and Age Verification.",
1922
long_description=long_description,
2023
url="https://github.com/getyoti/yoti-python-sdk",
2124
author="Yoti",
2225
author_email="[email protected]",
2326
install_requires=[
27+
"deprecated==1.2.6",
2428
"cryptography>=2.2.1",
2529
"protobuf>=3.1.0",
2630
"requests>=2.11.1",
2731
"future>=0.11.0",
2832
"asn1==2.2.0",
2933
"pyopenssl>=18.0.0",
30-
"deprecated==1.2.6",
3134
],
3235
extras_require={
3336
"examples": [
3437
"Django>1.11.16",
3538
"Flask>=0.10",
3639
"python-dotenv>=0.7.1",
3740
"django-sslserver>=0.2",
38-
"Werkzeug==0.11.15",
41+
"Werkzeug==0.15.3",
3942
],
4043
"dev": [
4144
"pre-commit==1.17.0",
@@ -46,7 +49,7 @@
4649
"python-coveralls==2.9.3",
4750
"coverage==4.5.4",
4851
"mock==2.0.0",
49-
"virtualenv==15.2",
52+
"virtualenv==20.0.13",
5053
],
5154
},
5255
classifiers=[

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sonar.host.url = https://sonarcloud.io
22
sonar.organization = getyoti
33
sonar.projectKey = getyoti:python
44
sonar.projectName = Python SDK
5-
sonar.projectVersion = 2.10.1
5+
sonar.projectVersion = 2.10.2
66
sonar.exclusions = yoti_python_sdk/tests/**,examples/**,yoti_python_sdk/protobuf/**/*
77

88
sonar.python.pylint.reportPath = coverage.out

yoti_python_sandbox/__init__.py

Whitespace-only changes.

yoti_python_sandbox/age_verification.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

yoti_python_sandbox/anchor.py

Lines changed: 0 additions & 127 deletions
This file was deleted.

0 commit comments

Comments
 (0)