Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pep8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
linter:
strategy:
matrix:
python: [ "3.12" ]
python: [ "3.13" ]
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
test:
strategy:
matrix:
python: [ "3.12", "3.13" ]
python: [ "3.13", "3.14" ]
runs-on: ubuntu-latest

steps:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies = [
"user-agents~=2.0",
"webob~=1.0",
]
requires-python = ">=3.12"
requires-python = ">=3.13"
authors = [
{ name = "Mausbrand Informationssysteme GmbH", email = "devs@viur.dev" },
]
Expand All @@ -50,8 +50,8 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]

Expand Down
6 changes: 1 addition & 5 deletions src/viur/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@
from viur.core.tasks import CustomEnvironmentHandler
from viur.core import i18n

# Construct an alias with a generic type to be able to write Multiple[str]
# TODO: Backward compatible implementation, refactor when viur-core
# becomes >= Python 3.12 with a type statement (PEP 695)
Comment thread
phorward marked this conversation as resolved.
_T = t.TypeVar("_T")
Multiple: t.TypeAlias = list[_T] | tuple[_T] | set[_T] | frozenset[_T] # TODO: Refactor for Python 3.12
type Multiple[T] = list[T] | tuple[T] | set[T] | frozenset[T]


class CaptchaDefaultCredentialsType(t.TypedDict):
Expand Down
Loading