Skip to content

Commit e082283

Browse files
committed
Fix GitHub Actions workflow to install local SDK before example requirements
1 parent f5fea02 commit e082283

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838

3939
- run: pip install --upgrade setuptools
4040

41+
- run: pip install -e .
42+
4143
- run: pushd examples/aml && pip install -r requirements.txt && popd
4244

4345
- run: pushd examples/yoti_example_django && pip install --upgrade pip && pip install -r requirements.txt && popd

examples/doc_scan/requirements.in

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# Core requirements
22
flask>=2.2.0
33
python-dotenv>=0.21.0
4+
# yoti will be installed separately in CI from local source
5+
filetype>=1.0.7
6+
pyopenssl>=24.0.0
7+
click>=8.0
8+
future>=1.0.0
9+
10+
# Required for yoti compatibility
11+
deprecated>=1.2.14
12+
iso8601>=1.1.0
13+
pytz>=2025.2ements
14+
flask>=2.2.0
15+
python-dotenv>=0.21.0
416
yoti>=2.14.0
517
filetype>=1.0.7
618
pyopenssl>=24.0.0

examples/doc_scan/requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,8 @@ urllib3==1.25.9
7474
werkzeug==3.1.3
7575
# via flask
7676
wrapt==1.17.2
77-
7877
# via deprecated
79-
yoti>=2.14.0
80-
# via -r requirements.in
78+
# yoti will be installed separately in CI from local source
8179

8280
# The following packages are considered to be unsafe in a requirements file:
8381
# setuptools

examples/yoti_example_flask/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ pyopenssl>=24.0.0
88
python-dotenv>=0.7.1
99
requests>=2.31.0
1010
urllib3>=1.24.2
11-
yoti>=2.14.0
11+
# yoti will be installed separately in CI from local source
1212
werkzeug>=1.0.1
1313
six==1.16.0

examples/yoti_example_flask/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ werkzeug==1.0.1
7474
# flask
7575
wrapt==1.12.1
7676
# via deprecated
77-
yoti==2.14.0
78-
# via -r requirements.in
77+
# yoti will be installed separately in CI from local source
7978

8079
# The following packages are considered to be unsafe in a requirements file:
8180
# setuptools

0 commit comments

Comments
 (0)