Skip to content

Commit

Permalink
add 3.13 rc1 to CI matrix, fix #109
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Aug 25, 2024
1 parent 66ef8c9 commit 6a65c71
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 30 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Change Log
v2.2.2 (25-AUG-2024)
====================

* Implemented `Support python 3.13 <https://github.com/bckohan/django-typer/issues/109>`_
* Fixed `typer > 0.12.5 toggles rich help renderings off by default <https://github.com/bckohan/django-typer/issues/108>`_

v2.2.1 (17-AUG-2024)
Expand Down
49 changes: 20 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
Expand All @@ -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"]
Expand Down

0 comments on commit 6a65c71

Please sign in to comment.