From ab7c17e9de99a0af0013d20c0091b69ee5ac6af5 Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Tue, 16 Jul 2024 21:48:29 +0530 Subject: [PATCH] [deps] Added support for Python 3.11 and 3.12 Dropped support for Python 3.8 --- .github/workflows/ci.yml | 3 ++- .readthedocs.yaml | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c37cbea5..6b4d4505 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,10 @@ jobs: fail-fast: false matrix: python-version: - - "3.8" - "3.9" - "3.10" + - "3.11" + - "3.12" django-version: - django~=3.2.0 - django~=4.1.0 diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 73be2bc7..5c1d1a9b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,7 +6,7 @@ formats: all build: os: ubuntu-22.04 tools: - python: "3.8" + python: "3.12" sphinx: configuration: docs/source/conf.py diff --git a/setup.py b/setup.py index 3cffa132..00bbe51d 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ ), 'passlib~=1.7.1', 'djangorestframework-link-header-pagination~=0.1.1', - 'weasyprint>=59,<63', + 'weasyprint~=62.0', 'dj-rest-auth~=4.0.1', 'django-sendsms~=0.5.0', 'jsonfield~=3.1.0',