Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

Fix for setuptools build issue (#532)

Gayathribd5ea893f394
diff --git a/backend/pdm.lock b/backend/pdm.lock
index f93b5c0ae..c318abcc3 100644
--- a/backend/pdm.lock
+++ b/backend/pdm.lock
@@ -5,7 +5,7 @@
groups = ["default", "deploy", "dev", "test"]
strategy = ["cross_platform", "inherit_metadata"]
lock_version = "4.4.1"
-content_hash = "sha256:446a22438144ea248ba7f8903003c5987577ec62f95b70232d355730d421ef28"
+content_hash = "sha256:de7e0501fe913e773ae3cc4aa70d7a2f857bbdfbc1edbd4abd96ab863b9bd2ab"
[[package]]
name = "adlfs"
@@ -888,11 +888,11 @@ files = [
[[package]]
name = "django-celery-beat"
-version = "2.6.0"
+version = "2.5.0"
summary = "Database-backed Periodic Tasks."
groups = ["default"]
dependencies = [
- "Django<5.1,>=2.2",
+ "Django<5.0,>=2.2",
"celery<6.0,>=5.2.3",
"cron-descriptor>=1.2.32",
"django-timezone-field>=5.0",
@@ -900,7 +900,8 @@ dependencies = [
"tzdata",
]
files = [
- {file = "django-celery-beat-2.6.0.tar.gz", hash = "sha256:f75b2d129731f1214be8383e18fae6bfeacdb55dffb2116ce849222c0106f9ad"},
+ {file = "django-celery-beat-2.5.0.tar.gz", hash = "sha256:cd0a47f5958402f51ac0c715bc942ae33d7b50b4e48cba91bc3f2712be505df1"},
+ {file = "django_celery_beat-2.5.0-py3-none-any.whl", hash = "sha256:ae460faa5ea142fba0875409095d22f6bd7bcc7377889b85e8cab5c0dfb781fe"},
]
[[package]]
@@ -1299,7 +1300,7 @@ files = [
[[package]]
name = "google-api-python-client"
-version = "2.137.0"
+version = "2.138.0"
requires_python = ">=3.7"
summary = "Google API Client Library for Python"
groups = ["default", "dev"]
@@ -1311,8 +1312,8 @@ dependencies = [
"uritemplate<5,>=3.0.1",
]
files = [
- {file = "google_api_python_client-2.137.0-py2.py3-none-any.whl", hash = "sha256:a8b5c5724885e5be9f5368739aa0ccf416627da4ebd914b410a090c18f84d692"},
- {file = "google_api_python_client-2.137.0.tar.gz", hash = "sha256:e739cb74aac8258b1886cb853b0722d47c81fe07ad649d7f2206f06530513c04"},
+ {file = "google_api_python_client-2.138.0-py2.py3-none-any.whl", hash = "sha256:1dd279124e4e77cbda4769ffb4abe7e7c32528ef1e18739320fef2a07b750764"},
+ {file = "google_api_python_client-2.138.0.tar.gz", hash = "sha256:31080fbf0e64687876135cc23d1bec1ca3b80d7702177dd17b04131ea889eb70"},
]
[[package]]
@@ -2398,7 +2399,7 @@ files = [
[[package]]
name = "llama-index-readers-file"
-version = "0.1.30"
+version = "0.1.31"
requires_python = "<4.0,>=3.8.1"
summary = "llama-index readers file integration"
groups = ["default", "dev"]
@@ -2409,8 +2410,8 @@ dependencies = [
"striprtf<0.0.27,>=0.0.26",
]
files = [
- {file = "llama_index_readers_file-0.1.30-py3-none-any.whl", hash = "sha256:d5f6cdd4685ee73103c68b9bc0dfb0d05439033133fc6bd45ef31ff41519e723"},
- {file = "llama_index_readers_file-0.1.30.tar.gz", hash = "sha256:32f40465f2a8a65fa5773e03c9f4dd55164be934ae67fad62113680436787d91"},
+ {file = "llama_index_readers_file-0.1.31-py3-none-any.whl", hash = "sha256:4f026988fce7daad50f000b4feba1a25bf564f4d80b13777c528ddd63ee833b4"},
+ {file = "llama_index_readers_file-0.1.31.tar.gz", hash = "sha256:067469d90292635937cdd7a00c35b73b0248946520b565dcbfed1c2d29566569"},
]
[[package]]
@@ -2805,7 +2806,7 @@ files = [
[[package]]
name = "openai"
-version = "1.37.0"
+version = "1.37.1"
requires_python = ">=3.7.1"
summary = "The official Python library for the openai API"
groups = ["default", "dev"]
@@ -2819,8 +2820,8 @@ dependencies = [
"typing-extensions<5,>=4.7",
]
files = [
- {file = "openai-1.37.0-py3-none-any.whl", hash = "sha256:a903245c0ecf622f2830024acdaa78683c70abb8e9d37a497b851670864c9f73"},
- {file = "openai-1.37.0.tar.gz", hash = "sha256:dc8197fc40ab9d431777b6620d962cc49f4544ffc3011f03ce0a805e6eb54adb"},
+ {file = "openai-1.37.1-py3-none-any.whl", hash = "sha256:9a6adda0d6ae8fce02d235c5671c399cfa40d6a281b3628914c7ebf244888ee3"},
+ {file = "openai-1.37.1.tar.gz", hash = "sha256:faf87206785a6b5d9e34555d6a3242482a6852bc802e453e2a891f68ee04ce55"},
]
[[package]]
@@ -3998,13 +3999,13 @@ files = [
[[package]]
name = "setuptools"
-version = "71.1.0"
+version = "72.0.0"
requires_python = ">=3.8"
summary = "Easily download, build, install, upgrade, and uninstall Python packages"
groups = ["default", "dev"]
files = [
- {file = "setuptools-71.1.0-py3-none-any.whl", hash = "sha256:33874fdc59b3188304b2e7c80d9029097ea31627180896fb549c578ceb8a0855"},
- {file = "setuptools-71.1.0.tar.gz", hash = "sha256:032d42ee9fb536e33087fb66cac5f840eb9391ed05637b3f2a76a7c8fb477936"},
+ {file = "setuptools-72.0.0-py3-none-any.whl", hash = "sha256:98b4d786a12fadd34eabf69e8d014b84e5fc655981e4ff419994700434ace132"},
+ {file = "setuptools-72.0.0.tar.gz", hash = "sha256:5a0d9c6a2f332881a0153f629d8000118efd33255cfa802757924c53312c76da"},
]
[[package]]
diff --git a/backend/pyproject.toml b/backend/pyproject.toml
index 8dc957f7e..c4a6d7cef 100644
--- a/backend/pyproject.toml
+++ b/backend/pyproject.toml
@@ -19,7 +19,8 @@ dependencies = [
"django==4.2.1",
"djangorestframework==3.14.0",
"django-cors-headers==4.3.1",
- "django-celery-beat>=2.5.0",
+ # Pinning django-celery-beat to avoid build issues
+ "django-celery-beat==2.5.0",
"django-log-request-id>=2.1.0",
"django-redis==5.4.0",
"django-tenants==3.5.0",
diff --git a/pdm.lock b/pdm.lock
index 65b9fd121..78a50294d 100644
--- a/pdm.lock
+++ b/pdm.lock
@@ -5,7 +5,7 @@
groups = ["default", "hook-check-django-migrations", "lint"]
strategy = ["cross_platform", "inherit_metadata"]
lock_version = "4.4.1"
-content_hash = "sha256:9164206e66f8de48903203f39e875ac7b115c1b022aa9fb45a45b74d7fad8b61"
+content_hash = "sha256:a0b222bca710c2e89a20fb639efbea4c9259984ed6696ebaaecb4e0cc87759a1"
[[package]]
name = "adlfs"
@@ -907,11 +907,11 @@ files = [
[[package]]
name = "django-celery-beat"
-version = "2.6.0"
+version = "2.5.0"
summary = "Database-backed Periodic Tasks."
groups = ["hook-check-django-migrations"]
dependencies = [
- "Django<5.1,>=2.2",
+ "Django<5.0,>=2.2",
"celery<6.0,>=5.2.3",
"cron-descriptor>=1.2.32",
"django-timezone-field>=5.0",
@@ -919,7 +919,8 @@ dependencies = [
"tzdata",
]
files = [
- {file = "django-celery-beat-2.6.0.tar.gz", hash = "sha256:f75b2d129731f1214be8383e18fae6bfeacdb55dffb2116ce849222c0106f9ad"},
+ {file = "django-celery-beat-2.5.0.tar.gz", hash = "sha256:cd0a47f5958402f51ac0c715bc942ae33d7b50b4e48cba91bc3f2712be505df1"},
+ {file = "django_celery_beat-2.5.0-py3-none-any.whl", hash = "sha256:ae460faa5ea142fba0875409095d22f6bd7bcc7377889b85e8cab5c0dfb781fe"},
]
[[package]]
@@ -1313,7 +1314,7 @@ files = [
[[package]]
name = "google-api-python-client"
-version = "2.137.0"
+version = "2.138.0"
requires_python = ">=3.7"
summary = "Google API Client Library for Python"
groups = ["hook-check-django-migrations"]
@@ -1325,8 +1326,8 @@ dependencies = [
"uritemplate<5,>=3.0.1",
]
files = [
- {file = "google_api_python_client-2.137.0-py2.py3-none-any.whl", hash = "sha256:a8b5c5724885e5be9f5368739aa0ccf416627da4ebd914b410a090c18f84d692"},
- {file = "google_api_python_client-2.137.0.tar.gz", hash = "sha256:e739cb74aac8258b1886cb853b0722d47c81fe07ad649d7f2206f06530513c04"},
+ {file = "google_api_python_client-2.138.0-py2.py3-none-any.whl", hash = "sha256:1dd279124e4e77cbda4769ffb4abe7e7c32528ef1e18739320fef2a07b750764"},
+ {file = "google_api_python_client-2.138.0.tar.gz", hash = "sha256:31080fbf0e64687876135cc23d1bec1ca3b80d7702177dd17b04131ea889eb70"},
]
[[package]]
@@ -2398,7 +2399,7 @@ files = [
[[package]]
name = "llama-index-readers-file"
-version = "0.1.30"
+version = "0.1.31"
requires_python = "<4.0,>=3.8.1"
summary = "llama-index readers file integration"
groups = ["hook-check-django-migrations"]
@@ -2409,8 +2410,8 @@ dependencies = [
"striprtf<0.0.27,>=0.0.26",
]
files = [
- {file = "llama_index_readers_file-0.1.30-py3-none-any.whl", hash = "sha256:d5f6cdd4685ee73103c68b9bc0dfb0d05439033133fc6bd45ef31ff41519e723"},
- {file = "llama_index_readers_file-0.1.30.tar.gz", hash = "sha256:32f40465f2a8a65fa5773e03c9f4dd55164be934ae67fad62113680436787d91"},
+ {file = "llama_index_readers_file-0.1.31-py3-none-any.whl", hash = "sha256:4f026988fce7daad50f000b4feba1a25bf564f4d80b13777c528ddd63ee833b4"},
+ {file = "llama_index_readers_file-0.1.31.tar.gz", hash = "sha256:067469d90292635937cdd7a00c35b73b0248946520b565dcbfed1c2d29566569"},
]
[[package]]
@@ -2840,7 +2841,7 @@ files = [
[[package]]
name = "openai"
-version = "1.37.0"
+version = "1.37.1"
requires_python = ">=3.7.1"
summary = "The official Python library for the openai API"
groups = ["hook-check-django-migrations"]
@@ -2854,8 +2855,8 @@ dependencies = [
"typing-extensions<5,>=4.7",
]
files = [
- {file = "openai-1.37.0-py3-none-any.whl", hash = "sha256:a903245c0ecf622f2830024acdaa78683c70abb8e9d37a497b851670864c9f73"},
- {file = "openai-1.37.0.tar.gz", hash = "sha256:dc8197fc40ab9d431777b6620d962cc49f4544ffc3011f03ce0a805e6eb54adb"},
+ {file = "openai-1.37.1-py3-none-any.whl", hash = "sha256:9a6adda0d6ae8fce02d235c5671c399cfa40d6a281b3628914c7ebf244888ee3"},
+ {file = "openai-1.37.1.tar.gz", hash = "sha256:faf87206785a6b5d9e34555d6a3242482a6852bc802e453e2a891f68ee04ce55"},
]
[[package]]
@@ -4000,13 +4001,13 @@ files = [
[[package]]
name = "setuptools"
-version = "71.1.0"
+version = "72.0.0"
requires_python = ">=3.8"
summary = "Easily download, build, install, upgrade, and uninstall Python packages"
groups = ["hook-check-django-migrations"]
files = [
- {file = "setuptools-71.1.0-py3-none-any.whl", hash = "sha256:33874fdc59b3188304b2e7c80d9029097ea31627180896fb549c578ceb8a0855"},
- {file = "setuptools-71.1.0.tar.gz", hash = "sha256:032d42ee9fb536e33087fb66cac5f840eb9391ed05637b3f2a76a7c8fb477936"},
+ {file = "setuptools-72.0.0-py3-none-any.whl", hash = "sha256:98b4d786a12fadd34eabf69e8d014b84e5fc655981e4ff419994700434ace132"},
+ {file = "setuptools-72.0.0.tar.gz", hash = "sha256:5a0d9c6a2f332881a0153f629d8000118efd33255cfa802757924c53312c76da"},
]
[[package]]
@@ -4562,7 +4563,7 @@ files = [
[[package]]
name = "types-redis"
-version = "4.6.0.20240425"
+version = "4.6.0.20240726"
requires_python = ">=3.8"
summary = "Typing stubs for redis"
groups = ["lint"]
@@ -4571,8 +4572,8 @@ dependencies = [
"types-pyOpenSSL",
]
files = [
- {file = "types-redis-4.6.0.20240425.tar.gz", hash = "sha256:9402a10ee931d241fdfcc04592ebf7a661d7bb92a8dea631279f0d8acbcf3a22"},
- {file = "types_redis-4.6.0.20240425-py3-none-any.whl", hash = "sha256:ac5bc19e8f5997b9e76ad5d9cf15d0392d9f28cf5fc7746ea4a64b989c45c6a8"},
+ {file = "types-redis-4.6.0.20240726.tar.gz", hash = "sha256:de2aefcf7afe80057debada8c540463d06c8863de50b8016bd369ccdbcb59b5e"},
+ {file = "types_redis-4.6.0.20240726-py3-none-any.whl", hash = "sha256:233062b7120a9908532ec9163d17af74b80fa49a89d510444cad4cac42717378"},
]
[[package]]
@@ -4591,13 +4592,13 @@ files = [
[[package]]
name = "types-setuptools"
-version = "71.1.0.20240724"
+version = "71.1.0.20240726"
requires_python = ">=3.8"
summary = "Typing stubs for setuptools"
groups = ["lint"]
files = [
- {file = "types-setuptools-71.1.0.20240724.tar.gz", hash = "sha256:ae61c528111a9450e149aedbc1ab0f7874f9bb0dc8f14c3cd200a1f82457050b"},
- {file = "types_setuptools-71.1.0.20240724-py3-none-any.whl", hash = "sha256:90570f0578ed67bb25ada9b3d1432e6727178d2408a7051b27e4a712731df30a"},
+ {file = "types-setuptools-71.1.0.20240726.tar.gz", hash = "sha256:85ba28e9461bb1be86ebba4db0f1c2408f2b11115b1966334ea9dc464e29303e"},
+ {file = "types_setuptools-71.1.0.20240726-py3-none-any.whl", hash = "sha256:a7775376f36e0ff09bcad236bf265777590a66b11623e48c20bfc30f1444ea36"},
]
[[package]]
diff --git a/pyproject.toml b/pyproject.toml
index 5b4dedf3b..00d075bcb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -31,7 +31,8 @@ hook-check-django-migrations = [
"cron-descriptor==1.4.0",
"django==4.2.1",
"djangorestframework==3.14.0",
- "django-celery-beat>=2.5.0",
+ # Pinning django-celery-beat to avoid build issues
+ "django-celery-beat==2.5.0",
"django-cors-headers>=4.3.1",
"django-redis==5.4.0",
"django-tenants==3.5.0",