Skip to content

Commit

Permalink
nox: temporarily set AIOHTTP_NO_EXTENSIONS for 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
gotmax23 committed Oct 5, 2023
1 parent 61ea1c3 commit 42c9ae4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ def install(session: nox.Session, *args, editable=False, **kwargs):
# This ensures that the wheel contains all of the correct files.
if editable and ALLOW_EDITABLE:
args = ("-e", *args)
# TODO: Remove this once aiohttp's extension module supports Python 3.12
if session.python == "3.12":
kwargs.setdefault("env", {})["AIOHTTP_NO_EXTENSIONS"] = "1"

session.install(*args, "-U", **kwargs)


Expand Down

0 comments on commit 42c9ae4

Please sign in to comment.