File tree Expand file tree Collapse file tree 10 files changed +131
-105
lines changed
Expand file tree Collapse file tree 10 files changed +131
-105
lines changed Original file line number Diff line number Diff line change 11name : Sonar Scan
2- on : [push, pull_request_target ]
2+ on : [push, pull_request ]
33
44jobs :
55 sonar :
66 name : Sonar Scan
7- runs-on : ubuntu-latest
8- # always run on push events
9- # only run on pull_request_target event when pull request pulls from fork repository
10- if : >
11- github.event_name == 'push' ||
12- github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository
7+ runs-on : ubuntu-latest
138
149 steps :
1510 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 11name : Unit Tests
2- on : [push, pull_request_target ]
2+ on : [push, pull_request ]
33
44jobs :
55 test :
66 name : Test (Python ${{ matrix.python-version }})
77 runs-on : ubuntu-latest
8- # always run on push events
9- # only run on pull_request_target event when pull request pulls from fork repository
10- if : >
11- github.event_name == 'push' ||
12- github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository
138 strategy :
149 fail-fast : false
1510 matrix :
16- python-version : [3.7, 3.8, 3.9, "3.10 "]
11+ python-version : [3.9, "3.10","3.11", "3.12 "]
1712
1813 steps :
1914 - uses : actions/checkout@v2
3227
3328 examples :
3429 name : Check Examples
35- runs-on : ubuntu-latest
36- if : >
37- github.event_name == 'push' ||
38- github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository
30+ runs-on : ubuntu-latest
3931
4032 steps :
4133 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ timestamp = activity_details.timestamp
140140base64_selfie_uri = activity_details.base64_selfie_uri
141141```
142142
143+
143144You can retrieve the anchors, sources and verifiers for each attribute as follows:
144145``` python
145146given_names_attribute = profile.given_names
@@ -238,3 +239,4 @@ set LIB=C:\OpenSSL-Win64\lib;%LIB%
238239set INCLUDE=C:\O penSSL-Win64\i nclude; %INCLUDE%
239240```
240241Where ` OpenSSL-Win64 ` is the location that you have installed OpenSSL to. See [ here] ( https://cryptography.io/en/latest/installation/#building-cryptography-on-windows ) for more information.
242+
Original file line number Diff line number Diff line change 1- flask>=1.1.2
2- python-dotenv>=0.13.0
3- yoti>=2.14.0
1+ # Core requirements
2+ flask>=2.2.0
3+ python-dotenv>=0.21.0
4+ yoti==2.14.0
45filetype>=1.0.7
5- pyopenssl>=19.1.0
6- six>=1.16.0
6+ pyopenssl==23.2.0
7+ click >=8.0
8+
9+ # Required for yoti compatibility
10+ deprecated==1.2.10
11+ iso8601==0.1.13
12+ pytz==2020.4
13+
Original file line number Diff line number Diff line change 11#
2- # This file is autogenerated by pip-compile with python 3.10
3- # To update, run :
2+ # This file is autogenerated by pip-compile with Python 3.12
3+ # by the following command :
44#
55# pip-compile --output-file=requirements.txt requirements.in
66#
77asn1 == 2.2.0
88 # via yoti
9+
10+ blinker == 1.9.0
11+ # via flask
912certifi == 2020.4.5.1
1013 # via requests
11- cffi == 1.14.0
14+ cffi == 1.17.1
1215 # via cryptography
1316chardet == 3.0.4
1417 # via requests
15- click == 7.1.2
16- # via flask
17- cryptography == 3.2
18+ click == 8.1.8
19+ # via
20+ # -r requirements.in
21+ # flask
22+ cryptography == 41.0.7
23+
1824 # via
1925 # pyopenssl
2026 # yoti
2127deprecated == 1.2.10
22- # via yoti
28+
29+ # via
30+ # -r requirements.in
31+ # yoti
2332filetype == 1.0.7
2433 # via -r requirements.in
25- flask == 1 .1.2
34+ flask == 3 .1.0
2635 # via -r requirements.in
27- future == 0.18.2
36+ future == 1.0.0
2837 # via yoti
2938idna == 2.9
3039 # via requests
3140iso8601 == 0.1.13
32- # via yoti
33- itsdangerous == 1.1.0
41+
42+ # via
43+ # -r requirements.in
44+ # yoti
45+ itsdangerous == 2.2.0
3446 # via flask
35- jinja2 == 2.11.2
47+ jinja2 == 3.1.6
3648 # via flask
37- markupsafe == 1.1.1
38- # via jinja2
49+ markupsafe == 3.0.2
50+ # via
51+ # jinja2
52+ # werkzeug
53+
3954protobuf == 3.11.3
4055 # via yoti
4156pycparser == 2.20
4257 # via cffi
43- pyopenssl == 19.1.0
58+
59+ pyopenssl == 23.2.0
4460 # via
4561 # -r requirements.in
4662 # yoti
47- python-dotenv == 0.13 .0
63+ python-dotenv == 1.1 .0
4864 # via -r requirements.in
4965pytz == 2020.4
50- # via yoti
51- requests == 2.23.0
52- # via yoti
53- six == 1.16.0
5466 # via
5567 # -r requirements.in
56- # cryptography
57- # protobuf
58- # pyopenssl
68+ # yoti
69+ requests == 2.23.0
70+ # via yoti
71+ six == 1.14.0
72+ # via protobuf
5973urllib3 == 1.25.9
6074 # via requests
61- werkzeug == 1.0.1
75+ werkzeug == 3.1.3
6276 # via flask
63- wrapt == 1.12.1
77+ wrapt == 1.17.2
78+
6479 # via deprecated
6580yoti == 2.14.0
6681 # via -r requirements.in
Original file line number Diff line number Diff line change 1- asn1==2.2.0 # asn1 2.3.0 introduces enum34 as a dependency, which causes problems on some envs
2- cryptography==2.8.0
3- cffi==1.15 .0
4- future== 0.18.2
5- itsdangerous==2.0.1
6- pbr==1.10.0
7- protobuf==3.19.4
8- pyopenssl==19.1 .0
9- PyYAML==5.2 # PyYAML 5.3 does not support Python 3.4
10- pytz==2021.3
11- requests>=2.20 .0
12- urllib3>=1.24.3
13- deprecated== 1.2.13
14- wheel==0.37.1
15- iso8601==1.0.2
16- six >=1.16 .0
1+ asn1==2.2.0
2+ cryptography>=41.0.7
3+ cffi>=1.16 .0
4+ future>= 0.18.3
5+ itsdangerous>=2.1.2
6+ pbr>=5.11.1
7+ protobuf==3.20.3
8+ pyopenssl>=24.0 .0
9+ PyYAML>=6.0
10+ pytz>=2025.2
11+ requests>=2.31 .0
12+ urllib3>=2.2.1
13+ deprecated>= 1.2.14
14+ wheel>=0.41.0
15+ iso8601>=1.1.0
16+ wrapt >=1.15 .0
Original file line number Diff line number Diff line change 11#
2- # This file is autogenerated by pip-compile with python 3.10
3- # To update, run:
2+
3+ # This file is autogenerated by pip-compile with Python 3.11
4+ # by the following command:
5+
46#
57# pip-compile --output-file=requirements.txt requirements.in
68#
79asn1 == 2.2.0
810 # via -r requirements.in
911certifi == 2018.11.29
1012 # via requests
11- cffi == 1.15.0
13+
14+ cffi == 1.17.1
1215 # via
1316 # -r requirements.in
1417 # cryptography
15- chardet == 3.0.4
18+ charset-normalizer == 3.4.1
1619 # via requests
17- cryptography == 2.8
20+ cryptography == 44.0.2
1821 # via
1922 # -r requirements.in
2023 # pyopenssl
21- deprecated == 1.2.13
24+
25+ deprecated == 1.2.18
2226 # via -r requirements.in
23- future == 0.18.2
27+ future == 1.0.0
2428 # via -r requirements.in
2529idna == 2.7
2630 # via requests
27- iso8601 == 1.0.2
31+
32+ iso8601 == 2.1.0
2833 # via -r requirements.in
29- itsdangerous == 2.0.1
34+ itsdangerous == 2.2.0
35+
3036 # via -r requirements.in
31- pbr == 1.10.0
37+ pbr == 6.1.1
3238 # via -r requirements.in
33- protobuf == 3.19.4
39+
40+ protobuf == 3.20.3
41+
3442 # via -r requirements.in
3543pycparser == 2.18
3644 # via cffi
37- pyopenssl == 19.1 .0
45+ pyopenssl == 25.0 .0
3846 # via -r requirements.in
39- pytz == 2021.3
47+
48+ pytz == 2025.2
49+
4050 # via -r requirements.in
41- pyyaml == 5 .2
51+ pyyaml == 6.0 .2
4252 # via -r requirements.in
43- requests == 2.21 .0
53+ requests == 2.32 .0
4454 # via -r requirements.in
45- six == 1.16.0
46- # via
47- # -r requirements.in
48- # cryptography
49- # pyopenssl
50- urllib3 == 1.24.3
55+ typing-extensions == 4.13.2
56+ # via pyopenssl
57+ urllib3 == 2.4.0
5158 # via
5259 # -r requirements.in
5360 # requests
54- wheel == 0.37 .1
61+ wheel == 0.45 .1
5562 # via -r requirements.in
56- wrapt == 1.11.2
57- # via deprecated
63+ wrapt == 1.17.2
64+ # via
65+ # -r requirements.in
66+ # deprecated
67+
68+ # The following packages are considered to be unsafe in a requirements file:
69+ # setuptools
70+
71+
72+
Original file line number Diff line number Diff line change 1818 author = "Yoti" ,
1919 author_email = "websdk@yoti.com" ,
2020 install_requires = [
21- "deprecated==1.2.13" ,
22- "cryptography>= 2.2.1" ,
23- "protobuf==3.13 .0" ,
24- "requests>=2.11.1 " ,
25- "future>=0.18.2 " ,
26- "asn1==2.2 .0" ,
27- "pyopenssl>=18.0.0 " ,
28- "iso8601==1.0.2 " ,
29- "wheel==0.37.1 " ,
30- "pytz==2022.1" ,
21+
22+ "asn1== 2.2.0" , # still pinned due to enum34 issue
23+ "cryptography>=42.0 .0" ,
24+ "protobuf==3.20.3 " ,
25+ "requests>=2.31.0 " ,
26+ "pyopenssl>=24.0 .0" ,
27+ "pytz>=2025.2 " ,
28+ "iso8601>=1.1.0 " ,
29+ "deprecated>=1.2.14 " ,
30+
3131 ],
3232 extras_require = {
3333 "examples" : [
4444 "pylint==1.9.4" ,
4545 "pylint-exit>=1.1.0" ,
4646 "python-coveralls==2.9.3" ,
47- "coverage==4.5.4 " ,
47+ "coverage>=7.4.0 " ,
4848 "mock==2.0.0" ,
4949 "virtualenv==20.15.1" ,
5050 "flake8==4.0.1" ,
5757 "Operating System :: OS Independent" ,
5858 "Intended Audience :: Developers" ,
5959 "Programming Language :: Python" ,
60- "Programming Language :: Python :: 3" ,
61- "Programming Language :: Python :: 3.6" ,
62- "Programming Language :: Python :: 3.7" ,
63- "Programming Language :: Python :: 3.8" ,
60+
6461 "Programming Language :: Python :: 3.9" ,
6562 "Programming Language :: Python :: 3.10" ,
63+ "Programming Language :: Python :: 3.11" ,
64+ "Programming Language :: Python :: 3.12" ,
65+
6666 "Topic :: Software Development :: Libraries :: Python Modules" ,
6767 ],
6868 keywords = "yoti sdk 2FA multifactor authentication verification identity login register verify 2Factor" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ sonar.host.url = https://sonarcloud.io
22sonar.organization = getyoti
33sonar.projectKey = getyoti:python
44sonar.projectName = Python SDK
5- sonar.projectVersion = 2.15.0
5+ sonar.projectVersion = 2.14.3
66sonar.exclusions = yoti_python_sdk/tests/**,examples/**,yoti_python_sdk/protobuf/**/*
77
88sonar.python.pylint.reportPath = coverage.out
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- __version__ = "2.15.0 "
2+ __version__ = "2.14.3 "
You can’t perform that action at this time.
0 commit comments