diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e3d340..4343b50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-rc.1'] django-version: - '3.2' # LTS April 2024 - '4.2' # LTS April 2026 @@ -37,6 +37,12 @@ jobs: django-version: '5.1' - python-version: '3.9' django-version: '5.1' + - python-version: '3.13.0-rc.1' + django-version: '3.2' + - python-version: '3.13.0-rc.1' + django-version: '4.2' + - python-version: '3.13.0-rc.1' + django-version: '5.0' steps: - uses: actions/checkout@v4 @@ -50,6 +56,9 @@ jobs: with: virtualenvs-create: true virtualenvs-in-project: true + - name: Install libopenblas-dev + if: matrix.python-version == '3.13.0-rc1' + run: sudo apt-get install libopenblas-dev - name: Install Release Dependencies run: | poetry config virtualenvs.in-project true diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index f0cc36f..ffed1bf 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -5,6 +5,7 @@ Change Log v2.2.2 (25-AUG-2024) ==================== +* Implemented `Support python 3.13 `_ * Fixed `typer > 0.12.5 toggles rich help renderings off by default `_ v2.2.1 (17-AUG-2024) diff --git a/pyproject.toml b/pyproject.toml index 942cf81..75890b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Site Management", "Topic :: Software Development :: Libraries", @@ -48,7 +49,7 @@ click = "^8.1.0" # typer's release history is full of breaking changes for minor versions # given the reliance on some of its private internals we peg the typer # version very strictly to bug fix releases for specific minor lines. -typer-slim = ">=0.12.4,<0.13.0" +typer-slim = ">=0.12.5,<0.13.0" # this should track typer's rich dependency, so long as our console # patches still work - so be sure to test on the low end of the range @@ -61,36 +62,26 @@ typing-extensions = { version = ">=3.7.4.3", markers = "python_version < '3.10'" [tool.poetry.group.dev.dependencies] -ipdb = "^0.13.13" -pytest-django = "^4.7.0" -pytest-cov = "^4.1.0" -Sphinx = [ - { version = "^7.2.0", markers = "python_version > '3.8'" }, - { version = "^7.0.0", markers = "python_version <= '3.8'" }, -] -sphinx-rtd-theme = "^2.0.0" -mypy = "^1.0" -doc8 = "^1.1.1" -aiohttp = "^3.9.1" +ipdb = ">=0.13.13" +pytest-django = ">=4.8.0" +pytest-cov = ">=5.0.0" +Sphinx = ">=7.0" +mypy = ">=1.0" +doc8 = ">=1.1.1" +aiohttp = ">=3.9.1" readme-renderer = {extras = ["md"], version = ">=42,<44"} -sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = "^0.5.0", markers="python_version >= '3.9'"} -scikit-learn = "^1.0.0" -pytest-env = "^1.0.0" -numpy = [ - { version = ">=1.26", markers = "python_version > '3.8'" }, - { version = "<=1.24", markers = "python_version <= '3.8'" }, -] -scipy = [ - { version = ">=1.11", markers = "python_version > '3.8'" }, - { version = "<=1.10", markers = "python_version <= '3.8'" }, -] +sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = ">=0.5.0", markers="python_version >= '3.9'"} +scikit-learn = ">=1.0.0" +pytest-env = ">=1.0.0" +numpy = ">=1.24" +scipy = ">=1.0" django-stubs = ">=4.2.7" -pexpect = "^4.9.0" -pyright = "^1.1.357" -ruff = "^0.4.1" -graphviz = "^0.20.3" -sphinx-tabs = "^3.4.5" -furo = "^2024.7.18" +pexpect = ">=4.9.0" +pyright = ">=1.1.357" +ruff = ">=0.4.1" +graphviz = ">=0.20.3" +sphinx-tabs = ">=3.4.5" +furo = ">=2024.7.18" [tool.poetry.extras] rich = ["rich"]