From 18763ad89634a093ced8a712ae76b75d513fb1a4 Mon Sep 17 00:00:00 2001 From: Metin Dumandag <29387993+mdumandag@users.noreply.github.com> Date: Tue, 7 Jan 2025 12:07:47 +0300 Subject: [PATCH 1/3] Bump version to 0.7.0 Also, updated the mypy dev dependency to the latest minor version. --- pyproject.toml | 5 +++-- upstash_vector/__init__.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f6e57dd..a60ef46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "upstash-vector" -version = "0.6.0" +version = "0.7.0" description = "Serverless Vector SDK from Upstash" license = "MIT" authors = ["Upstash "] @@ -21,6 +21,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Database", "Topic :: Database :: Front-Ends", @@ -34,7 +35,7 @@ python = "^3.8" httpx = ">=0.23.0, <1" [tool.poetry.group.dev.dependencies] -mypy = "^1.13.0" +mypy = "^1.14.1" pytest = "^8.3.4" pytest-asyncio = "^0.24.0" ruff = "^0.8.2" diff --git a/upstash_vector/__init__.py b/upstash_vector/__init__.py index 2c931ba..f161337 100644 --- a/upstash_vector/__init__.py +++ b/upstash_vector/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.6.0" +__version__ = "0.7.0" from upstash_vector.client import AsyncIndex, Index from upstash_vector.types import Vector From 48768d95e5d5949cf13723d372a454a08ec521c7 Mon Sep 17 00:00:00 2001 From: Metin Dumandag <29387993+mdumandag@users.noreply.github.com> Date: Tue, 7 Jan 2025 12:16:15 +0300 Subject: [PATCH 2/3] remove unused file --- reformat.sh | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 reformat.sh diff --git a/reformat.sh b/reformat.sh deleted file mode 100644 index e51ca53..0000000 --- a/reformat.sh +++ /dev/null @@ -1,3 +0,0 @@ -python3 -m poetry run mypy --show-error-codes --install-types . -python3 -m poetry run ruff format . -python3 -m poetry run ruff . From 6b630abae5283eebcee55c2eb319d8abc526857f Mon Sep 17 00:00:00 2001 From: Metin Dumandag <29387993+mdumandag@users.noreply.github.com> Date: Tue, 7 Jan 2025 12:22:04 +0300 Subject: [PATCH 3/3] bump python version used in github actions as poetry now requires python 3.9 for running --- .github/workflows/release.yaml | 2 +- .github/workflows/test.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b54be3b..a6f4018 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,7 +13,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install Poetry run: curl -sSL https://install.python-poetry.org | python3 - diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fb725fb..89695c1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install Poetry run: curl -sSL https://install.python-poetry.org | python3 -