Skip to content

Commit

Permalink
test(nox): disable multidict extensions on 3.13 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Dec 19, 2023
1 parent 2ad694b commit 1c04160
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""nox config for pytekukko."""

from typing import cast

import nox

nox.options.error_on_external_run = True
Expand All @@ -8,6 +10,11 @@
@nox.session(python=[f"{py}3.{x}" for py in ("", "pypy") for x in range(10, 14)])
def test(session: nox.Session) -> None:
"""Run tests."""
py_minor = int(cast(str, session.python).rpartition(".")[2])
if py_minor >= 13: # noqa: PLR2004
session.env.update(
MULTIDICT_NO_EXTENSIONS="1",
)
session.install(".[examples]", "-r", "requirements/test-requirements.txt")

known_deprecations = [
Expand Down

0 comments on commit 1c04160

Please sign in to comment.