Skip to content

Commit a86b872

Browse files
committed
Default free threaded off
Signed-off-by: Bernát Gábor <[email protected]>
1 parent 5a4298b commit a86b872

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tox/tox_env/python/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import sys
88
import sysconfig
99
from abc import ABC, abstractmethod
10+
from dataclasses import dataclass
1011
from pathlib import Path
1112
from typing import TYPE_CHECKING, Any, List, NamedTuple, cast
1213

@@ -27,14 +28,15 @@ class VersionInfo(NamedTuple):
2728
serial: int
2829

2930

31+
@dataclass(frozen=True)
3032
class PythonInfo(NamedTuple):
3133
implementation: str
3234
version_info: VersionInfo
3335
version: str
34-
free_threaded: bool
3536
is_64: bool
3637
platform: str
3738
extra: dict[str, Any]
39+
free_threaded: bool = False
3840

3941
@property
4042
def version_no_dot(self) -> str:

0 commit comments

Comments
 (0)