Skip to content

Commit 22f3757

Browse files
SDK Roll over to v0.59.0 (#1154)
* SDK Roll over to v0.59.0 * SDK Roll over to v0.59.0 * Adding azure and aws * Adding dev comments * Adding dev comments * Lock files * Lock files * Commit pdm.lock changes
1 parent 2a3a66d commit 22f3757

20 files changed

Lines changed: 1781 additions & 1558 deletions

File tree

backend/pdm.lock

Lines changed: 263 additions & 246 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies = [
3434
"social-auth-core==4.4.2", # For OAuth
3535
#ToDo: Temporarily removing the extra dependencies of aws and gcs from unstract-sdk
3636
#to resolve lock file. Will have to be re-looked into
37-
"unstract-sdk~=0.58.0",
37+
"unstract-sdk[azure]~=0.59.0",
3838
"gcsfs==2024.10.0",
3939
"s3fs==2024.10.0",
4040
# ! IMPORTANT!
@@ -91,6 +91,11 @@ dev = [
9191
env_files = "test.env" # Load env from particular env file
9292
addopts = "-s"
9393

94+
[tool.pdm.resolution.overrides]
95+
aioboto3 = "13.1.1"
96+
aiobotocore = "2.13.1"
97+
boto3 = "1.34.131"
98+
9499
[tool.pdm.scripts]
95100
# Commands for backend
96101
backend.cmd = "./entrypoint.sh"

backend/sample.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ PROMPT_STUDIO_FILE_PATH=/app/prompt-studio-data
7575

7676
# Structure Tool Image (Runs prompt studio exported tools)
7777
# https://hub.docker.com/r/unstract/tool-structure
78-
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.65"
78+
STRUCTURE_TOOL_IMAGE_URL="docker:unstract/tool-structure:0.0.66"
7979
STRUCTURE_TOOL_IMAGE_NAME="unstract/tool-structure"
80-
STRUCTURE_TOOL_IMAGE_TAG="0.0.65"
80+
STRUCTURE_TOOL_IMAGE_TAG="0.0.66"
8181

8282
# Feature Flags
8383
EVALUATION_SERVER_IP=unstract-flipt

pdm.lock

Lines changed: 249 additions & 249 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

platform-service/pdm.lock

Lines changed: 365 additions & 274 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

platform-service/pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
"redis~=5.2.1",
1414
"cryptography>=41.0.7",
1515
"requests>=2.31.0",
16-
"unstract-sdk[gcs]~=0.58.0",
16+
"unstract-sdk[gcs, azure, aws]~=0.59.0",
1717
"unstract-flags @ file:///${PROJECT_ROOT}/../unstract/flags",
1818
]
1919
requires-python = ">=3.9,<3.11.1"
@@ -37,6 +37,11 @@ deploy = [
3737
"gunicorn>=21.2.0",
3838
]
3939

40+
[tool.pdm.resolution.overrides]
41+
aioboto3 = "13.1.1"
42+
aiobotocore = "2.13.1"
43+
boto3 = "1.34.131"
44+
4045
[tool.pdm.scripts]
4146
platform_service.cmd = "./entrypoint.sh"
4247
platform_service.env_file = ".env"

prompt-service/pdm.lock

Lines changed: 314 additions & 238 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prompt-service/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
"python-dotenv==1.0.0",
1818
#ToDo: Temporarily removing the extra dependencies of aws and gcs from unstract-sdk
1919
#to resolve lock file. Will have to be re-looked into
20-
"unstract-sdk~=0.58.0",
20+
"unstract-sdk[azure]~=0.59.0",
2121
"gcsfs==2024.10.0",
2222
"s3fs==2024.10.0",
2323
"redis>=5.0.3",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ hook-check-django-migrations = [
4141
"psycopg2-binary==2.9.9",
4242
"python-dotenv==1.0.0",
4343
"python-magic==0.4.27",
44-
"unstract-sdk~=0.58.0",
44+
"unstract-sdk~=0.59.0",
4545
"-e unstract-connectors @ file:///${PROJECT_ROOT}/unstract/connectors",
4646
"-e unstract-core @ file:///${PROJECT_ROOT}/unstract/core",
4747
"-e unstract-flags @ file:///${PROJECT_ROOT}/unstract/flags",

tools/classifier/requirements.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Add your dependencies here
22

33
# Required for all unstract tools
4-
unstract-sdk[aws]~=0.58.0
4+
# aws alone is needed here
5+
# because tools use transient temporary storage.
6+
7+
unstract-sdk[aws]~=0.59.0

0 commit comments

Comments
 (0)