Skip to content

Commit ab339e7

Browse files
committed
Test Python 3.14
1 parent 45fc8e5 commit ab339e7

File tree

10 files changed

+14
-11
lines changed

10 files changed

+14
-11
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- master
88

99
env:
10-
DEFAULT_PYTHON: '3.13'
10+
DEFAULT_PYTHON: '3.14'
1111

1212
jobs:
1313
check-changelog:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
env:
17-
DEFAULT_PYTHON: '3.13'
17+
DEFAULT_PYTHON: '3.14'
1818

1919
jobs:
2020
linters:

.github/workflows/dev-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55

66
env:
7-
DEFAULT_PYTHON: '3.13'
7+
DEFAULT_PYTHON: '3.14'
88

99
concurrency:
1010
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
env:
12-
DEFAULT_PYTHON: '3.13'
12+
DEFAULT_PYTHON: '3.14'
1313

1414
jobs:
1515
release:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- '[0-9]+.[0-9]+.[0-9]+'
77

88
env:
9-
DEFAULT_PYTHON: '3.13'
9+
DEFAULT_PYTHON: '3.14'
1010

1111
jobs:
1212
release:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
env:
16-
DEFAULT_PYTHON: '3.13'
16+
DEFAULT_PYTHON: '3.14'
1717
MIN_COVERAGE: 92
1818

1919
permissions:
@@ -34,7 +34,7 @@ jobs:
3434
pydantic-version: '1'
3535
os: ubuntu-22.04
3636

37-
- python-version: '3.13'
37+
- python-version: '3.14'
3838
pydantic-version: '2'
3939
os: ubuntu-latest
4040

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: '3.13'
6+
python: '3.14'
77

88
apt_packages:
99
- libldap2-dev

docker/Dockerfile.backend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax = docker/dockerfile:1.4
22

3-
ARG PYTHON_VERSION=3.13
3+
ARG PYTHON_VERSION=3.14
44
FROM python:$PYTHON_VERSION-slim AS base
55

66
RUN apt-get update \

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ classifiers = [
3131
"Programming Language :: Python :: 3.11",
3232
"Programming Language :: Python :: 3.12",
3333
"Programming Language :: Python :: 3.13",
34+
"Programming Language :: Python :: 3.14",
3435
"Topic :: Software Development :: Libraries",
3536
"Topic :: Software Development :: Libraries :: Python Modules",
3637
"Typing :: Typed",

tests/fixtures/event_loop.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
@pytest.fixture(scope="session")
77
def event_loop():
8-
policy = asyncio.get_event_loop_policy()
9-
loop = policy.get_event_loop()
8+
try:
9+
loop = asyncio.get_running_loop()
10+
except RuntimeError:
11+
loop = asyncio.new_event_loop()
1012
yield loop
1113
loop.close()

0 commit comments

Comments
 (0)