From 8d3d4543e0f7247e2ef1cb984f4eab0f9580c663 Mon Sep 17 00:00:00 2001 From: Asaf Gardin Date: Mon, 18 Dec 2023 18:18:24 +0200 Subject: [PATCH] feat: project name --- CHANGELOG.md | 237 ------------------------------------------------- pyproject.toml | 8 +- setup.py | 2 +- 3 files changed, 5 insertions(+), 242 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index b625aaa1..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,237 +0,0 @@ -# CHANGELOG - - - -## v1.0.0-rc.2 (2023-12-18) - -### Breaking - -* feat!: branch group (#15) ([`3ca1017`](https://github.com/AI21Labs/ai21-python/commit/3ca10175891ed4c51e5f4ec638eb2fd5cf05359e)) - -* feat!: Bump 2 rc version new (#14) - -* ci: new line remove - -* feat: new line ([`a086c7d`](https://github.com/AI21Labs/ai21-python/commit/a086c7d8ef40ba3f53b0144c5ba4b5911ecd5932)) - - -## v1.0.0-rc.1 (2023-12-18) - -### Breaking - -* feat!: Bump 2 rc version (#13) - -* docs: changelog - -* docs: added text - -* fix: verison ([`1426ed1`](https://github.com/AI21Labs/ai21-python/commit/1426ed16cdf9cd1d201a0bfe8bbf9a454ad685f7)) - -* feat!: version rc bump (#12) ([`88ccbe2`](https://github.com/AI21Labs/ai21-python/commit/88ccbe2b0d35b1f1682b0fcf58ca1a755fa26739)) - -* feat!: readme restart (#11) ([`992dedc`](https://github.com/AI21Labs/ai21-python/commit/992dedc63dd99dbffe78c80343afca1bb0530649)) - -* feat: bumping test (#10) - -BREAKING CHANGE: New SDK version - -* fix: removed CHANGELOG.md - -* fix: removed version rc - -* fix: removed CHANGELOG.md - -* fix: removed version rc ([`5650abd`](https://github.com/AI21Labs/ai21-python/commit/5650abdac34dd035b80962ce14d173376210193e)) - -### Chore - -* chore(release): v1.0.0-rc.1 [skip ci] ([`65e09a4`](https://github.com/AI21Labs/ai21-python/commit/65e09a4146540c977c619348effcbeb443441a58)) - -* chore(release): v1.1.0-rc.4 [skip ci] ([`f696102`](https://github.com/AI21Labs/ai21-python/commit/f69610222200239ea8a7203d475780859c76bfab)) - -* chore(release): v1.1.0-rc.3 [skip ci] ([`25a4f85`](https://github.com/AI21Labs/ai21-python/commit/25a4f85a52ba024b1a44683f03ba395f8c7eb12d)) - -* chore(release): v1.1.0-rc.2 [skip ci] ([`d131bfc`](https://github.com/AI21Labs/ai21-python/commit/d131bfc603a3f3d1c2de32e9cd6c436169476db3)) - -* chore(release): v1.1.0-rc.1 [skip ci] ([`de5b2b5`](https://github.com/AI21Labs/ai21-python/commit/de5b2b55c4fb0ba99b002ec7c75c34eb130a63c8)) - -* chore(release): v1.10.0-rc.1 [skip ci] ([`331d142`](https://github.com/AI21Labs/ai21-python/commit/331d142e8b07c9688ab42280659a57d38759b9e6)) - -* chore(release): v0.1.0-rc.3 [skip ci] ([`71ee300`](https://github.com/AI21Labs/ai21-python/commit/71ee3005b92b70e1655e26566d7454c79c5008f9)) - -* chore(release): v0.1.0-rc.2 [skip ci] ([`46e8eae`](https://github.com/AI21Labs/ai21-python/commit/46e8eaebe8ccacafc6b90172b3c3e3da783c3d6f)) - -* chore(release): v0.1.0-rc.1 [skip ci] ([`3d67c2c`](https://github.com/AI21Labs/ai21-python/commit/3d67c2c9165441c09ca9a75f79021f0dba8e9325)) - -### Ci - -* ci: python versions (#5) ([`52d18cb`](https://github.com/AI21Labs/ai21-python/commit/52d18cb6b3f4a52976aced6f24f5543886e7403f)) - -* ci: add_integration_test_action (#4) ([`f89e082`](https://github.com/AI21Labs/ai21-python/commit/f89e08213fc06b0328987331260368ca248f14ee)) - -### Feature - -* feat: BREAKING CHANGE: pre release 2.0.0 (#9) - -* fix: remove file - -* feat: bump 1.0.0 -BREAKING CHANGE: pre release ([`b15d4c7`](https://github.com/AI21Labs/ai21-python/commit/b15d4c757afe18ee000334ec8355c9baa5351505)) - -* feat: Test pypi (#7) - -* feat: release candidate - -* ci: test pypi - -* fix: version ([`549d044`](https://github.com/AI21Labs/ai21-python/commit/549d0444e09e1af34b29e6d264c61bfe0c091dbe)) - -* feat: Pre release publish (#6) - -* feat: release candidate - -* fix: branch name - -* fix: imports - -* fix: push to test pypi ([`ed3ff91`](https://github.com/AI21Labs/ai21-python/commit/ed3ff91090f14ded7b9d1ae03fdff5ac935fbdc0)) - -* feat: SDK code (#3) - -* feat: Added code - -* feat: Added setup - -* feat: more sdk code - -* feat: poetry - -* feat: poetry setup - -* ci: actions - -* fix: removed unused example - -* feat: added boto3 - -* feat: added dependencies - -* test: added pytest dependency - -* fix: python version - -* fix: update python version in lock - -* fix: format - -* fix: examples - -* test: removed example script for studio and added integration test instead - -* test: bedrock integration test - -* test: moved examples - -* ci: fixed inv - -* fix: lint - -* feat: version in init - -* fix: long content - -* fix: poetry version - -* fix: added __all__ - -* fix: Added code to __all__ - -* fix: prompt - -* fix: test action - -* fix: Added shebang - -* fix: long line - -* fix: loaded env for tests - -* fix: Added env - -* test: only 3.10 - -* test: default region - -* test: Added 3.8 - -* fix: subscriptable type - -* test: sagemaker tests - -* fix: used _http methods - -* fix: default values - -* ci: removed -vv flag - -* fix: imports - -* test: Added conditional skip - -* fix: CR fixes - -* fix: boto3 to pyproject.toml - -* fix: all-extras arg - -* fix: lint in action - -* feat: via param - -* fix: added all extras - -* fix: Added static type checker - -* feat: Moved body creationto function - -* feat: switched most responses to use dataclasses_json - -* feat: Added base mixin - -* fix: CR - -* fix: test path - -* fix: CR - -* feat: Added bedrock session - -* feat: Added SageMakerSession - -* fix: init of bedrock client - -* feat: More robust imports - -* fix: error message - -* fix: removed kwargs from request body - -* fix: Removed log_level from env - -* fix: logger calls - -* fix: Removed logger from init - -* feat: Added setup logger - -* ci: Added integration tests only on push to main - -* fix: removed unused import ([`0e9b36a`](https://github.com/AI21Labs/ai21-python/commit/0e9b36aca7ab0a3800552c8929c6f4f7d1cd9e1f)) - -### Fix - -* fix: test pypi params (#8) ([`ed8fa1f`](https://github.com/AI21Labs/ai21-python/commit/ed8fa1f7b52b0ab6f94ed9815adf0256152dd02e)) - -### Unknown - -* Initial commit ([`a2841de`](https://github.com/AI21Labs/ai21-python/commit/a2841dead1d9324d444fded170b64d280fef3394)) diff --git a/pyproject.toml b/pyproject.toml index 2aa6c944..4d751913 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ exclude_lines = [ ] [tool.poetry] -name = "ai21" +name = "ai21-python" version = "1.0.0-rc.2" description = "" authors = ["AI21 Labs"] @@ -98,14 +98,14 @@ version_toml = [ version_variables = [ "ai21/version.py:VERSION" ] -match = "(main)" +match = "(update_project_name)" build_command = "pip install poetry && poetry build" version_source = "tag" commit_version_number = true commit_message = "chore(release): v{version} [skip ci]" -[tool.semantic_release.branches.main] -match = "(main)" +[tool.semantic_release.branches.update_project_name] +match = "(update_project_name)" prerelease_token = "rc" prerelease = true diff --git a/setup.py b/setup.py index 8db436ba..c9193239 100755 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ long_description = "\\n" + fh.read() setup( - name="ai21", + name="ai21_python", version=VERSION, license="MIT", author="AI21 Labs",