From d63427400c870d25dac99c16c24df69916465225 Mon Sep 17 00:00:00 2001 From: Pieter Pas Date: Mon, 13 Nov 2023 21:32:14 +0100 Subject: [PATCH] [Test] fix expected extension .pyd bare-c-module --- noxfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 9abd146..c2b9a64 100644 --- a/noxfile.py +++ b/noxfile.py @@ -116,7 +116,8 @@ def get_ext_suffix(name: str): py_v = sys.version_info ext_suffix = dist_sysconfig.get_config_var("EXT_SUFFIX") assert isinstance(ext_suffix, str) - if name == "minimal" and ext_suffix.endswith(".pyd") and py_v < (3, 8): + simple = name in ["minimal", "bare-c-module"] + if simple and ext_suffix.endswith(".pyd") and py_v < (3, 8): ext_suffix = ".pyd" # what a mess ... if name == "nanobind-project": if py_v < (3, 8):