Skip to content

Commit

Permalink
Update CHANGELOG.md with PR #342 (#344)
Browse files Browse the repository at this point in the history
* Update CHANGELOG.md with PR #342
---------

Co-authored-by: sanjaychelliah <sanjay.chelliah@clarifai.com>
  • Loading branch information
mogith-pn and sanjaychelliah authored Jun 6, 2024
1 parent a5ff4db commit f11f1af
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
## [[10.3.3]](https://github.com/Clarifai/clarifai-python/releases/tag/10.3.3) - [PyPI](https://pypi.org/project/clarifai/10.3.3/) - 2024-05-07

### Changed
- Upgrade to clarifai-grpc 10.3.4
- RAG apps, workflows and other resources automatically setup now use UUIDs in their IDs instead of timestamps to avoid races.
- Upgrade to clarifai-grpc 10.3.4 [(#343)](https://github.com/Clarifai/clarifai-python/pull/343)
- RAG apps, workflows and other resources automatically setup now use UUIDs in their IDs instead of timestamps to avoid races. [(#343)](https://github.com/Clarifai/clarifai-python/pull/343)

### Fixed
- Use UUIDs in tests to avoid race conditions with timestamps.
- Hardcoded shcema package to 0.7.5 as it introduced breaking changes.
- Fixed issue with `get_upload_status` overriding `log_warnings` table in log file. [(#342)](https://github.com/Clarifai/clarifai-python/pull/342)
- Use UUIDs in tests to avoid race conditions with timestamps. [(#343)](https://github.com/Clarifai/clarifai-python/pull/343)
- Hardcoded shcema package to 0.7.5 as it introduced breaking changes. [(#343)](https://github.com/Clarifai/clarifai-python/pull/343)


## [[10.3.2]](https://github.com/Clarifai/clarifai-python/releases/tag/10.3.2) - [PyPI](https://pypi.org/project/clarifai/10.3.2/) - 2024-05-03

Expand Down
22 changes: 11 additions & 11 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ def test_create_module(self, create_app):
module = create_app.create_module(CREATE_MODULE_ID, description="CI test module")
assert module.id == CREATE_MODULE_ID and module.app_id == CREATE_APP_ID and module.user_id == CREATE_APP_USER_ID

def test_create_runner(self, client):
client = User(user_id=CREATE_APP_USER_ID, pat=CLARIFAI_PAT)
runner_info = client.create_runner(
CREATE_RUNNER_ID, labels=["ci runner"], description="CI test runner")
assert runner_info.get("runner_id") == CREATE_RUNNER_ID and runner_info.get(
"user_id") == CREATE_APP_USER_ID
# def test_create_runner(self, client):
# client = User(user_id=CREATE_APP_USER_ID, pat=CLARIFAI_PAT)
# runner_info = client.create_runner(
# CREATE_RUNNER_ID, labels=["ci runner"], description="CI test runner")
# assert runner_info.get("runner_id") == CREATE_RUNNER_ID and runner_info.get(
# "user_id") == CREATE_APP_USER_ID

def test_get_dataset(self, create_app):
dataset = create_app.dataset(dataset_id=CREATE_DATASET_ID)
Expand All @@ -128,11 +128,11 @@ def test_delete_module(self, create_app, caplog):
create_app.delete_module(CREATE_MODULE_ID)
assert "SUCCESS" in caplog.text

def test_delete_runner(self, caplog):
client = User(user_id=CREATE_APP_USER_ID)
with caplog.at_level(logging.INFO):
client.delete_runner(CREATE_RUNNER_ID)
assert "SUCCESS" in caplog.text
# def test_delete_runner(self, caplog):
# client = User(user_id=CREATE_APP_USER_ID)
# with caplog.at_level(logging.INFO):
# client.delete_runner(CREATE_RUNNER_ID)
# assert "SUCCESS" in caplog.text

def test_delete_app(self, caplog):
with caplog.at_level(logging.INFO):
Expand Down

0 comments on commit f11f1af

Please sign in to comment.