diff --git a/.github/workflows/requirements.txt b/.github/workflows/requirements.txt index 2f24e0c..25238e5 100644 --- a/.github/workflows/requirements.txt +++ b/.github/workflows/requirements.txt @@ -1,4 +1,5 @@ -coverage ~=7.0 +coverage ~=6.0 ; python_version < '3.7' +coverage ~=7.0 ; python_version >= '3.7' cython ~=3.0 wheel auditwheel diff --git a/setup.py b/setup.py index ac09f7a..74f6104 100644 --- a/setup.py +++ b/setup.py @@ -437,7 +437,7 @@ def build_extension(self, ext): # update compile flags if compiling in debug mode if self.debug: if self.compiler.compiler_type in {"unix", "cygwin", "mingw32"}: - ext.extra_compile_args.append("-Og") + ext.extra_compile_args.append("-g") ext.extra_compile_args.append("--coverage") ext.extra_link_args.append("--coverage") elif self.compiler.compiler_type == "msvc":