From 0f05ac368bf11b01a9b2f0b1258d6d2db64d6c81 Mon Sep 17 00:00:00 2001 From: ArtemIsmagilov Date: Thu, 21 Nov 2024 12:45:58 +0400 Subject: [PATCH] add python3.13 and autoformat yaml files --- .github/workflows/tests.yaml | 6 ++-- pyproject.toml | 61 ++++++++++++++++++------------------ tox.ini | 2 +- 3 files changed, 35 insertions(+), 34 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c4e1c6c..73b486d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", 3.13"] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: "3.13" - uses: actions/cache@v4 with: path: ~/.cache/pip @@ -45,7 +45,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: "3.13" - uses: actions/cache@v4 with: path: ~/.cache/pip diff --git a/pyproject.toml b/pyproject.toml index 539fb29..6df936d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,44 +10,45 @@ description = "CalDAV (RFC4791) client library" keywords = [] readme = "README.md" classifiers = [ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "License :: OSI Approved :: GNU General Public License (GPL)", - "License :: OSI Approved :: Apache Software License", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 3.7", - "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", - "Topic :: Office/Business :: Scheduling", - "Topic :: Software Development :: Libraries :: Python Modules", + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: GNU General Public License (GPL)", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3.7", + "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", + "Programming Language :: Python :: 3.13", + "Topic :: Office/Business :: Scheduling", + "Topic :: Software Development :: Libraries :: Python Modules", ] urls = { Homepage = "https://github.com/python-caldav/caldav" } dependencies = [ - "vobject", - "lxml", - "requests", - "recurring-ical-events>=2.0.0", - "typing_extensions;python_version<'3.11'", - ## It's a mess - newer versions of xandikos, used for testing, does not support python 3.8 anymore. icalendar 6.0.0 is not compatible with elder versions of xandikos. It's no problem with python 3.7, as icalender 6.0.0 does not support python 3.7. - "icalendar<6.0.0;python_version=='3.8'", - "icalendar;python_version!='3.8'", + "vobject", + "lxml", + "requests", + "recurring-ical-events>=2.0.0", + "typing_extensions;python_version<'3.11'", + ## It's a mess - newer versions of xandikos, used for testing, does not support python 3.8 anymore. icalendar 6.0.0 is not compatible with elder versions of xandikos. It's no problem with python 3.7, as icalender 6.0.0 does not support python 3.7. + "icalendar<6.0.0;python_version=='3.8'", + "icalendar;python_version!='3.8'", ] dynamic = ["version"] [project.optional-dependencies] test = [ - "pytest", - "coverage", - "sphinx", - "backports.zoneinfo;python_version<'3.9'", - "tzlocal", - "xandikos==0.2.7;python_version<'3.9'", - "dulwich==0.20.50;python_version<'3.9'", - "xandikos;python_version>='3.9'", + "pytest", + "coverage", + "sphinx", + "backports.zoneinfo;python_version<'3.9'", + "tzlocal", + "xandikos==0.2.7;python_version<'3.9'", + "dulwich==0.20.50;python_version<'3.9'", + "xandikos;python_version>='3.9'", ] [tool.setuptools_scm] diff --git a/tox.ini b/tox.ini index a3f3dd7..ec9a7c6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox:tox] -envlist = py37,py38,py39,py310,py311,py312,docs,style +envlist = py37,py38,py39,py310,py311,py312,py313,docs,style [testenv] deps = --editable .[test]