17 Commits

Author SHA1 Message Date
Hari John Kuriakose
13e272b5d5 [DEPS] Update SDK to 0.75.0 along with automation tooling (#1422)
* Bump sdk v0 dep version to 0.75.0

* fix: version types handling for custom tool
fix: custom tool image name handling in registry json

* [deps] bump sdk ver in tools

* fix: tool name handling for ver update in registry

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: undefined var

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Gayathri <142381512+gaya3-zipstack@users.noreply.github.com>
Co-authored-by: Athul <89829560+athul-rs@users.noreply.github.com>
2025-07-14 10:46:30 +05:30
ali
09821683a8 Update merge env to refelect changes in CONTAINER_CLIENT_PATH (#1271)
- Update merge env  script to refelect  changes in `CONTAINER_CLIENT_PATH` in runner.env

Signed-off-by: ali <117142933+muhammad-ali-e@users.noreply.github.com>
2025-04-30 10:00:56 +05:30
Jaseem Jas
ba1df894d2 Python 3.9 to 3.12 (#1231)
* python version updated from 3.9 into 3.12

* x2text-service updated with uv and python version 3.12

* x2text-service docker file updated

* Unstract packages updated with uv

* Runner updated with uv

* Promptservice updated with uv

* Platform service updated with uv

* backend service updated with uv

* root pyproject.toml file updated

* sdk version updated in services

* unstract package modules updated based on sdk version:

* docker file update

* pdm lock workflow modified to support uv

* Docs updated based on uv support

* lock automation updated

* snowflake module version updated into 3.14.0

* tox updated to support UV

* tox updated to support UV

* tox updated with pytest

* tox updated with pytest-md-report

* tox updated with module requirements

* python migration from 3.9 to 3.12

* tox updated with module requirements

* runner updated

* Commit uv.lock changes

* runner updated

* Commit uv.lock changes

* pytest.ini added

* x2text-service docker file updated

* pytest.ini removed

* environment updated to test

* docformatter commented on pre-commit

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* some pre-commit issues ignored

* some pre-commit issues ignored

* some pre-commit issues ignored

* some pre-commit issues ignored

* some pre-commit issues ignored

* pre-commit updates

* un used import removed from platfrom service controller

* tox issue fixed

* tox issue fixed

* docker files updated

* backend dockerfile updated

* open installation issue fixed

* Tools docker file updated with base python version 3.12

* python version updated into min 3.12 in pyproject.toml

* linting issue fixed

* uv version upgraded into 0.6.14

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* migrations excluded from ruff

* added PoethePoet task runner

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* feat: Added poe tasks for services (#1248)

* Added poe tasks for services

* reverted FE change made by mistake

* updated tool-sidecar to uv and python to 3.12.9

* minor updates in pyproject descreption

* feat: platform-service logging improvements (#1255)

feat: Used flask util from core to improve logging in platform-service, added core as a dependency to platform-service:

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: Platform-service build issue and numpy issue with Python 3.12 (#1258)

* fix: Platform-service build and numpy issue with Py 3.12

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: Removed backend dockerfile install statements for numpy

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* minor: Handled scenario when cost is not calculated due to no usage

* minor: Corrected content shown for workflow input

* fix: Minor fixes, used gthread for prompt-service, runner

* Commit uv.lock changes

* Removed unused line in tool dockerfile

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Chandrasekharan M <chandrasekharan@zipstack.com>
Co-authored-by: Chandrasekharan M <117059509+chandrasekharan-zipstack@users.noreply.github.com>
Co-authored-by: ali-zipstack <muhammad.ali@zipstack.com>
2025-04-24 16:07:02 +05:30
Chandrasekharan M
c4fb6b82c3 feat: UN-2166 Passed optional container name from backend to runner (#1158)
* UN-2166 Passed optional container name from backend to runner

* Removed tool-sandbox from lockfile automation script - since core is a private lib that's added, the lockfile can't be resolved and pushed

* minor: Addressed review comments for renaming a variable
2025-02-28 19:31:58 +05:30
Ritwik G
ab24e7b2e3 Renamed worker to runner everywhere (#1055)
* Renamed worker to runner everywhere

* renamed module

* added runner

* modified gitignore

* Updated redis dependency

* Commit pdm.lock changes

---------

Co-authored-by: ritwik-g <ritwik-g@users.noreply.github.com>
2025-01-08 13:05:53 +05:30
ali
5fd09288f4 fixes in structure tool and bumped sdk versions (#876)
* fixes in structure tool and bumped sdk versions

* Commit pdm.lock changes

* Merge conflicts

* Commit pdm.lock changes

* updated pdm dependancies

* Commit pdm.lock changes

---------

Co-authored-by: muhammad-ali-e <muhammad-ali-e@users.noreply.github.com>
2024-12-09 09:56:50 +05:30
Chandrasekharan M
2d29154194 feat: [OSS] Schema creation moved to DB init (#864)
* Schema creation moved to DB init

* Reverted change made for testing, minor README.md changes

* Minor comment change

* Removed unused code flow in backend entrypoint.sh

---------

Co-authored-by: Hari John Kuriakose <hari@zipstack.com>
2024-12-03 16:52:41 +05:30
Chandrasekharan M
32b211d7e6 feat: Moved scripts dir in root to docker dir (#812)
Moved scripts dir in root to docker dir

Co-authored-by: Hari John Kuriakose <hari@zipstack.com>
2024-10-28 17:23:05 +05:30
Chandrasekharan M
4c97569e03 fix: Reverted removal of structure tool related preferred envs (#533)
Reverted removal of structure tool related preferred envs

Co-authored-by: Gayathri <142381512+gaya3-zipstack@users.noreply.github.com>
2024-07-30 11:27:07 +05:30
Chandrasekharan M
40b8af0de5 fix: File type support for WF and API deployments (#530)
* File type support for WF and API deployments

* Structure tool version bumped

---------

Co-authored-by: Hari John Kuriakose <hari@zipstack.com>
Co-authored-by: Gayathri <142381512+gaya3-zipstack@users.noreply.github.com>
2024-07-29 14:45:10 +05:30
Hari John Kuriakose
181111452b fix: Update version to specific release tag (#488)
* * Fix release tag for version update via run platform script
* Rename version update command
* Improve readability of script output
* Update docstring

* Fix tags fetch to be explicit

* Update docker/scripts/merge_env.py

Co-authored-by: ali <117142933+muhammad-ali-e@users.noreply.github.com>
Signed-off-by: Rahul Johny <116638720+johnyrahul@users.noreply.github.com>

---------

Signed-off-by: Rahul Johny <116638720+johnyrahul@users.noreply.github.com>
Co-authored-by: Rahul Johny <116638720+johnyrahul@users.noreply.github.com>
Co-authored-by: ali <117142933+muhammad-ali-e@users.noreply.github.com>
2024-07-16 16:20:22 +05:30
Kirtiman Mishra
6871fe1d8d fix: flake8 black file changes (#259)
refactoring files based on flake8 and black changes
2024-04-15 15:17:08 +05:30
Hari John Kuriakose
fb8bf7e0e2 Fix default value for keys during upgrade (#236)
* Fix default value for keys during upgrade

* Fix default creds value for default and admin user
2024-04-07 17:02:31 +05:30
Chandrasekharan M
15f606ac8a fix: Enhanced merge env script to allow user defined envs (#200)
* Enhanced merge env script to allow user defined envs

* Update docker/scripts/merge_env.py

Signed-off-by: Hari John Kuriakose <hari@zipstack.com>

---------

Signed-off-by: Hari John Kuriakose <hari@zipstack.com>
Co-authored-by: Hari John Kuriakose <hari@zipstack.com>
Co-authored-by: Neha <115609453+nehabagdia@users.noreply.github.com>
2024-04-02 09:44:21 +05:30
Hari John Kuriakose
e8668a073b Run script tweaks (#120)
* * Make detached mode default for docker compose up
* Fix inline replacement for key injection

* FIx dep check for docker compose

* Improve readability

* * Add script to check django migrations
* Add script to merge envs
* Remove mypy direct invocation by pre-commit
* Add dev env cli
* Update root pdm lock file
* Bump root dev deps versions
* Remove repeating pre-commit hooks config from root pyproject.toml
* Add new logo to run platform and dev env cli scripts
* Add upgrade option to run platform script

* * Explicitly use python3 everywhere
* Add missing dep checks

* Update root pdm lock file

* Improve error log

* Improve info log

* * Remove Unpack feature flag from mypy config as it is enabled by default
* Improve docstring and var names

* Improve info log
2024-03-25 12:50:34 +05:30
Jaseem Jas
4f784bfc26 Feat/platform launch script (#28)
* launch script added

* removed deploy script

* webapp url updated in README

* Updated script to add encryption secret key to envs

* * Do minor refactoring

* Add minor changes

* Add minor changes

* Update docker compose build file

* Add minor changes

* * Add minor changes in launch script
* Add default value for session expiry sec in backend

* Add minor changes

* Update README

* Update README

* Update comments

* * Update readme
* Option to build docker image locally
* Pull public docker images by default
* Color code log messages

* Update help info

* Fix color coding for log message

---------

Co-authored-by: Rahul Johny <116638720+johnyrahul@users.noreply.github.com>
Co-authored-by: johnyrahul <rahul.johny@zipstack.com>
Co-authored-by: Hari John Kuriakose <hari@zipstack.com>
2024-03-06 19:20:22 +05:30
jaseemjaskp
26ebb17d47 Initial commit on Unstract 2024-02-25 16:19:36 +05:30