From d2651425cb4506a4b4a73afd94ed0d81605c38d4 Mon Sep 17 00:00:00 2001 From: LeXofLeviafan Date: Sun, 20 Oct 2024 21:23:20 +0200 Subject: [PATCH] [jarun#780] added Python 3.13 + dropped Python 3.8 --- .circleci/config.yml | 12 ++++++------ buku | 2 +- setup.py | 2 +- tox.ini | 12 ++++++------ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a1140d0..dcf09e8e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,11 +46,6 @@ jobs: - image: python:3.12-slim <<: *lint-template - py38: - docker: - - image: python:3.8-slim - <<: *test-template - py39: docker: - image: python:3.9-slim @@ -71,6 +66,11 @@ jobs: - image: python:3.12-slim <<: *test-template + py313: + docker: + - image: python:3.13-slim + <<: *test-template + # package-and-publish: # machine: true # working_directory: ~/Buku @@ -126,11 +126,11 @@ workflows: CircleCI: jobs: &all-tests - lint - - py38 - py39 - py310 - py311 - py312 + - py313 nightly: triggers: diff --git a/buku b/buku index 27146363..a38cc01f 100755 --- a/buku +++ b/buku @@ -135,7 +135,7 @@ TEXT_BROWSERS = ['elinks', 'links', 'links2', 'lynx', 'w3m', 'www-browser'] IGNORE_FF_BOOKMARK_FOLDERS = frozenset(["placesRoot", "bookmarksMenuFolder"]) PERMANENT_REDIRECTS = {301, 308} -# IntSet: TypeAlias = Set[int] | range # TODO: use after dropping 3.8 & 3.9 +# IntSet: TypeAlias = Set[int] | range # TODO: use after dropping 3.9 # Ints: TypeAlias = Sequence[int] | IntSet # IntOrInts: TypeAlias = int | Ints # T = TypeVar('T') diff --git a/setup.py b/setup.py index a8ce9b72..427a2641 100644 --- a/setup.py +++ b/setup.py @@ -104,11 +104,11 @@ 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - '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 :: Internet :: WWW/HTTP :: Indexing/Search', 'Topic :: Utilities' ] diff --git a/tox.ini b/tox.ini index 42698f32..c5309724 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38,py39,py310,py311,py312,pylint,flake8 +envlist = py39,py310,py311,py312,py313,pylint,flake8 [flake8] max-line-length = 139 @@ -43,11 +43,6 @@ markers = usedevelop = true deps = pytest -[testenv:py38] -extras = tests -commands = - pytest --cov buku -vv -m "not non_tox" {posargs} - [testenv:py39] extras = tests commands = @@ -68,6 +63,11 @@ extras = tests commands = pytest --cov buku -vv -m "not non_tox" {posargs} +[testenv:py313] +extras = tests +commands = + pytest --cov buku -vv -m "not non_tox" {posargs} + [testenv:quick] basepython = {env:BASEPYTHON:py312} extras = tests