Skip to content

Commit da0828a

Browse files
authored
Merge pull request #212 from getyoti/Release/2.12.2
Release/2.12.2
2 parents 03ba5ee + 5d1e2e0 commit da0828a

File tree

16 files changed

+97
-85
lines changed

16 files changed

+97
-85
lines changed

.dependabot/config.yml

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

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 3
8+
target-branch: development
9+
reviewers:
10+
- echarrod
11+
- davidgrayston
12+
assignees:
13+
- echarrod

.travis.yml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,32 @@ jobs:
3838
python: "3.8-dev"
3939
- <<: *test
4040
python: "3.8"
41-
- <<: *test
42-
stage: Coverage
43-
name: Coveralls
44-
python: "3.7"
45-
install:
41+
42+
- stage: Check Examples
43+
name: AML
44+
python: "3.8"
45+
script:
46+
- cd ./examples/aml
4647
- pip install -r requirements.txt
47-
- pip install -e .[dev]
48+
- name: Django
49+
python: "3.8"
4850
script:
49-
- pytest --cov=yoti_python_sdk yoti_python_sdk/tests
50-
if: type = pull_request OR branch = master
51-
after_success:
52-
- coveralls
51+
- cd ./examples/yoti_example_django
52+
- pip install -r requirements.txt
53+
- name: Flask
54+
python: "3.8"
55+
script:
56+
- cd ./examples/yoti_example_flask
57+
- pip install -r requirements.txt
58+
- name: Doc Scan
59+
python: "3.8"
60+
script:
61+
- cd ./examples/doc_scan
62+
- pip install -r requirements.txt
63+
5364
- stage: Analyze
5465
name: Sonarcloud
55-
dist: trusty
56-
python: "3.6.1"
66+
python: "3.8"
5767
addons:
5868
sonarcloud:
5969
organization: "getyoti"

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Yoti Python SDK #
22

33
[![Build Status](https://travis-ci.com/getyoti/yoti-python-sdk.svg?branch=master)](https://travis-ci.com/getyoti/yoti-python-sdk)
4-
[![Coverage Status](https://coveralls.io/repos/github/getyoti/yoti-python-sdk/badge.svg?branch=master)](https://coveralls.io/github/getyoti/yoti-python-sdk?branch=master)
4+
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=getyoti%3Apython&metric=coverage)](https://sonarcloud.io/dashboard?id=getyoti%3Apython)
5+
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=getyoti%3Apython&metric=bugs)](https://sonarcloud.io/dashboard?id=getyoti%3Apython)
6+
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=getyoti%3Apython&metric=code_smells)](https://sonarcloud.io/dashboard?id=getyoti%3Apython)
7+
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=getyoti%3Apython&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=getyoti%3Apython)
58

69
Welcome to the Yoti Python SDK. This repo contains the tools and step by step instructions you need to quickly integrate your Python back-end with Yoti so that your users can share their identity details with your application in a secure and trusted way.
710

examples/aml/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
yoti>=2.9.0
1+
yoti>=2.12.1
22
python-dotenv>=0.7.1

examples/doc_scan/requirements.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
flask>=1.1.2
22
python-dotenv>=0.13.0
3-
yoti>=2.11.2
3+
yoti>=2.12.1
44
filetype>=1.0.7
5-
pyopenssl>=19.1.0
5+
pyopenssl>=19.1.0

examples/doc_scan/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ six==1.14.0 # via cryptography, protobuf, pyopenssl
2828
urllib3==1.25.9 # via requests
2929
werkzeug==1.0.1 # via flask
3030
wrapt==1.12.1 # via deprecated
31-
yoti==2.11.2 # via -r requirements.in
31+
yoti==2.12.1 # via -r requirements.in
3232

3333
# The following packages are considered to be unsafe in a requirements file:
3434
# setuptools
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
cryptography>=2.3
2-
Django==2.2.8
3-
django-sslserver>=0.2.0
1+
django>=3.0.7
2+
django-sslserver>=0.22.0
43
python-dotenv>=0.7.1
54
requests>=2.20.0
65
urllib3>=1.24.2
7-
yoti>=2.9.0
6+
yoti>=2.12.1

examples/yoti_example_django/requirements.txt

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,29 @@
44
#
55
# pip-compile --output-file=requirements.txt requirements.in
66
#
7+
asgiref==3.2.9 # via django
78
asn1==2.2.0 # via yoti
8-
asn1crypto==0.24.0 # via cryptography
99
certifi==2018.4.16 # via requests
10-
cffi==1.11.5 # via cryptography
10+
cffi==1.14.0 # via cryptography
1111
chardet==3.0.4 # via requests
12-
cryptography==2.5
13-
django-sslserver==0.20
14-
django==2.2.8
12+
cryptography==2.9.2 # via pyopenssl, yoti
13+
deprecated==1.2.6 # via yoti
14+
django-sslserver==0.22 # via -r requirements.in
15+
django==3.0.7 # via -r requirements.in, django-sslserver
1516
future==0.16.0 # via yoti
1617
idna==2.7 # via requests
18+
iso8601==0.1.12 # via yoti
1719
protobuf==3.6.0 # via yoti
1820
pycparser==2.18 # via cffi
1921
pyopenssl==18.0.0 # via yoti
20-
python-dotenv==0.8.2
22+
python-dotenv==0.8.2 # via -r requirements.in
2123
pytz==2018.4 # via django
22-
requests==2.21.0
24+
requests==2.21.0 # via -r requirements.in, yoti
2325
six==1.11.0 # via cryptography, protobuf, pyopenssl
2426
sqlparse==0.3.0 # via django
25-
urllib3==1.24.2
26-
yoti==2.9.0
27+
urllib3==1.24.2 # via -r requirements.in, requests
28+
wrapt==1.12.1 # via deprecated
29+
yoti==2.12.1 # via -r requirements.in
2730

2831
# The following packages are considered to be unsafe in a requirements file:
29-
# setuptools==41.2.0 # via django-sslserver, protobuf
32+
# setuptools
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
cryptography>=2.3
2-
Flask>=1.0.4
1+
cffi>=1.14.0
2+
flask>=1.0.4
33
jinja2>=2.8.1
44
pyopenssl>=19.0.0
55
python-dotenv>=0.7.1
66
requests>=2.20.0
77
urllib3>=1.24.2
8-
yoti>=2.9.0
8+
yoti>=2.12.1
9+
werkzeug>=1.0.1

0 commit comments

Comments
 (0)