diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce0d9f82..e5364a59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ on: - cron: '0 6 * * *' # Daily 6AM UTC build env: - pythonversion: 3.9 + pythonversion: "3.10" jobs: @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v5 - - name: Setup Python 3.9 + - name: Setup Python 3.10 uses: actions/setup-python@v6 with: python-version: ${{env.pythonversion}} @@ -76,7 +76,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - pyver: [ "3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9", "pypy-3.10" ] + pyver: [ "3.10", "3.11", "3.12", "3.13", "pypy-3.10" ] redisstack: [ "latest" ] fail-fast: false services: diff --git a/docs/getting_started.md b/docs/getting_started.md index 10b73a10..01aa3a88 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -8,15 +8,15 @@ This tutorial will walk you through installing Redis OM, creating your first mod ## Prerequisites -Redis OM requires Python version 3.8 or above and a Redis instance to connect to. +Redis OM requires Python version 3.10 or above and a Redis instance to connect to. ## Python -Make sure you are running **Python version 3.8 or higher**: +Make sure you are running **Python version 3.10 or higher**: ``` python --version -Python 3.8.0 +Python 3.10.0 ``` If you don't have Python installed, you can download it from [Python.org](https://www.python.org/downloads/), use [pyenv](https://github.com/pyenv/pyenv), or install Python with your operating system's package manager. diff --git a/pyproject.toml b/pyproject.toml index 1b7152c1..697fb869 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,8 +18,6 @@ classifiers = [ "Operating System :: OS Independent", "Topic :: Database", 'License :: OSI Approved :: BSD License', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', @@ -37,8 +35,8 @@ include = [ "Issue tracker" = "https://github.com/redis/redis-om-python/issues" [tool.poetry.dependencies] -python = ">=3.8,<4.0" -redis = ">=3.5.3,<8.0.0" +python = ">=3.10,<4.0" +redis = ">=4.2.0,<8.0.0" pydantic = ">=2.0.0,<3.0.0" click = "^8.0.1" types-redis = ">=3.5.9,<5.0.0" @@ -66,7 +64,7 @@ email-validator = "^2.0.0" tox = "^4.14.1" tox-pyenv = "^1.1.0" codespell = "^2.2.0" -pre-commit = {version = "^4.3.0", python = ">=3.9"} +pre-commit = {version = "^4.3.0", python = ">=3.10"} mkdocs = "^1.6.1" [tool.poetry.scripts]