Skip to content

Commit

Permalink
Merge pull request jarun#790 from LeXofLeviafan/python-3.13
Browse files Browse the repository at this point in the history
Updating supported Python versions
  • Loading branch information
jarun authored Oct 22, 2024
2 parents 3dece73 + d265142 commit 1f6c1a8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -126,11 +126,11 @@ workflows:
CircleCI:
jobs: &all-tests
- lint
- py38
- py39
- py310
- py311
- py312
- py313

nightly:
triggers:
Expand Down
2 changes: 1 addition & 1 deletion buku
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 =
Expand All @@ -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
Expand Down

0 comments on commit 1f6c1a8

Please sign in to comment.