Skip to content

Commit f85211a

Browse files
Pin dummy plugin build backend
1 parent e3ac637 commit f85211a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

tests/utils/plugins_cli.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ def build(self) -> None:
6363
}
6464

6565
self.path.mkdir(parents=True, exist_ok=True)
66+
with open(self.path / 'pyproject.toml', 'w') as stream:
67+
stream.write(textwrap.dedent('''
68+
[build-system]
69+
requires = [
70+
"setuptools<80; python_version<'3.10'",
71+
"setuptools; python_version>='3.10'",
72+
"wheel",
73+
]
74+
build-backend = "setuptools.build_meta"
75+
'''))
76+
6677
with open(self.path / 'setup.py', 'w') as stream:
6778
stream.write(textwrap.dedent(f'''
6879
from setuptools import setup

0 commit comments

Comments
 (0)