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 1
1
name : Sonar Scan
2
- on : [push, pull_request_target ]
2
+ on : [push, pull_request ]
3
3
4
4
jobs :
5
5
sonar :
6
6
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
13
8
14
9
steps :
15
10
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1
1
name : Unit Tests
2
- on : [push, pull_request_target ]
2
+ on : [push, pull_request ]
3
3
4
4
jobs :
5
5
test :
6
6
name : Test (Python ${{ matrix.python-version }})
7
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
13
8
strategy :
14
9
fail-fast : false
15
10
matrix :
16
- python-version : [3.7, 3.8, 3.9, "3.10 "]
11
+ python-version : [3.9, "3.10","3.11", "3.12 "]
17
12
18
13
steps :
19
14
- uses : actions/checkout@v2
32
27
33
28
examples :
34
29
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
39
31
40
32
steps :
41
33
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ timestamp = activity_details.timestamp
140
140
base64_selfie_uri = activity_details.base64_selfie_uri
141
141
```
142
142
143
+
143
144
You can retrieve the anchors, sources and verifiers for each attribute as follows:
144
145
``` python
145
146
given_names_attribute = profile.given_names
@@ -238,3 +239,4 @@ set LIB=C:\OpenSSL-Win64\lib;%LIB%
238
239
set INCLUDE=C:\O penSSL-Win64\i nclude; %INCLUDE%
239
240
```
240
241
Where ` 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
4
5
filetype>=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 1
1
#
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 :
4
4
#
5
5
# pip-compile --output-file=requirements.txt requirements.in
6
6
#
7
7
asn1 == 2.2.0
8
8
# via yoti
9
+
10
+ blinker == 1.9.0
11
+ # via flask
9
12
certifi == 2020.4.5.1
10
13
# via requests
11
- cffi == 1.14.0
14
+ cffi == 1.17.1
12
15
# via cryptography
13
16
chardet == 3.0.4
14
17
# 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
+
18
24
# via
19
25
# pyopenssl
20
26
# yoti
21
27
deprecated == 1.2.10
22
- # via yoti
28
+
29
+ # via
30
+ # -r requirements.in
31
+ # yoti
23
32
filetype == 1.0.7
24
33
# via -r requirements.in
25
- flask == 1 .1.2
34
+ flask == 3 .1.0
26
35
# via -r requirements.in
27
- future == 0.18.2
36
+ future == 1.0.0
28
37
# via yoti
29
38
idna == 2.9
30
39
# via requests
31
40
iso8601 == 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
34
46
# via flask
35
- jinja2 == 2.11.2
47
+ jinja2 == 3.1.6
36
48
# via flask
37
- markupsafe == 1.1.1
38
- # via jinja2
49
+ markupsafe == 3.0.2
50
+ # via
51
+ # jinja2
52
+ # werkzeug
53
+
39
54
protobuf == 3.11.3
40
55
# via yoti
41
56
pycparser == 2.20
42
57
# via cffi
43
- pyopenssl == 19.1.0
58
+
59
+ pyopenssl == 23.2.0
44
60
# via
45
61
# -r requirements.in
46
62
# yoti
47
- python-dotenv == 0.13 .0
63
+ python-dotenv == 1.1 .0
48
64
# via -r requirements.in
49
65
pytz == 2020.4
50
- # via yoti
51
- requests == 2.23.0
52
- # via yoti
53
- six == 1.16.0
54
66
# via
55
67
# -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
59
73
urllib3 == 1.25.9
60
74
# via requests
61
- werkzeug == 1.0.1
75
+ werkzeug == 3.1.3
62
76
# via flask
63
- wrapt == 1.12.1
77
+ wrapt == 1.17.2
78
+
64
79
# via deprecated
65
80
yoti == 2.14.0
66
81
# 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 1
1
#
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
+
4
6
#
5
7
# pip-compile --output-file=requirements.txt requirements.in
6
8
#
7
9
asn1 == 2.2.0
8
10
# via -r requirements.in
9
11
certifi == 2018.11.29
10
12
# via requests
11
- cffi == 1.15.0
13
+
14
+ cffi == 1.17.1
12
15
# via
13
16
# -r requirements.in
14
17
# cryptography
15
- chardet == 3.0.4
18
+ charset-normalizer == 3.4.1
16
19
# via requests
17
- cryptography == 2.8
20
+ cryptography == 44.0.2
18
21
# via
19
22
# -r requirements.in
20
23
# pyopenssl
21
- deprecated == 1.2.13
24
+
25
+ deprecated == 1.2.18
22
26
# via -r requirements.in
23
- future == 0.18.2
27
+ future == 1.0.0
24
28
# via -r requirements.in
25
29
idna == 2.7
26
30
# via requests
27
- iso8601 == 1.0.2
31
+
32
+ iso8601 == 2.1.0
28
33
# via -r requirements.in
29
- itsdangerous == 2.0.1
34
+ itsdangerous == 2.2.0
35
+
30
36
# via -r requirements.in
31
- pbr == 1.10.0
37
+ pbr == 6.1.1
32
38
# via -r requirements.in
33
- protobuf == 3.19.4
39
+
40
+ protobuf == 3.20.3
41
+
34
42
# via -r requirements.in
35
43
pycparser == 2.18
36
44
# via cffi
37
- pyopenssl == 19.1 .0
45
+ pyopenssl == 25.0 .0
38
46
# via -r requirements.in
39
- pytz == 2021.3
47
+
48
+ pytz == 2025.2
49
+
40
50
# via -r requirements.in
41
- pyyaml == 5 .2
51
+ pyyaml == 6.0 .2
42
52
# via -r requirements.in
43
- requests == 2.21 .0
53
+ requests == 2.32 .0
44
54
# 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
51
58
# via
52
59
# -r requirements.in
53
60
# requests
54
- wheel == 0.37 .1
61
+ wheel == 0.45 .1
55
62
# 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 18
18
author = "Yoti" ,
19
19
20
20
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
+
31
31
],
32
32
extras_require = {
33
33
"examples" : [
44
44
"pylint==1.9.4" ,
45
45
"pylint-exit>=1.1.0" ,
46
46
"python-coveralls==2.9.3" ,
47
- "coverage==4.5.4 " ,
47
+ "coverage>=7.4.0 " ,
48
48
"mock==2.0.0" ,
49
49
"virtualenv==20.15.1" ,
50
50
"flake8==4.0.1" ,
57
57
"Operating System :: OS Independent" ,
58
58
"Intended Audience :: Developers" ,
59
59
"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
+
64
61
"Programming Language :: Python :: 3.9" ,
65
62
"Programming Language :: Python :: 3.10" ,
63
+ "Programming Language :: Python :: 3.11" ,
64
+ "Programming Language :: Python :: 3.12" ,
65
+
66
66
"Topic :: Software Development :: Libraries :: Python Modules" ,
67
67
],
68
68
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
2
2
sonar.organization = getyoti
3
3
sonar.projectKey = getyoti:python
4
4
sonar.projectName = Python SDK
5
- sonar.projectVersion = 2.15.0
5
+ sonar.projectVersion = 2.14.3
6
6
sonar.exclusions = yoti_python_sdk/tests/**,examples/**,yoti_python_sdk/protobuf/**/*
7
7
8
8
sonar.python.pylint.reportPath = coverage.out
Original file line number Diff line number Diff line change 1
1
# -*- 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