Skip to content

Commit c92800d

Browse files
committed
Make sure pyzmq tests use current setuptools
1 parent e37e6fe commit c92800d

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
* Update gdbm to 1.25
1010
* Include libstdc++ in relenv lib
1111
* Update environment with buildenv when RELENV_BUILDENV environment is set.
12+
* Include libstdc++ in relenv's lib directory instead of passing
13+
-static-libstdc++
14+
* Clean up duplicate options in sysconfig data.
15+
* Work with setuptools >= 72.2.0
1216

1317

1418
0.18.1

relenv/build/linux.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def build_bzip2(env, dirs, logfp):
103103
f"CC={env['CC']}",
104104
f"LDFLAGS={env['LDFLAGS']}",
105105
"BUILD=x86_64-linux-gnu",
106-
"HOST={env['RELENV_HOST']}",
106+
f"HOST={env['RELENV_HOST']}",
107107
],
108108
env=env,
109109
stderr=logfp,
@@ -268,7 +268,7 @@ def build_libffi(env, dirs, logfp):
268268
f"--prefix={dirs.prefix}",
269269
"--disable-multi-os-directory",
270270
f"--build={env['RELENV_BUILD']}",
271-
"--host={env['RELENV_HOST']}",
271+
f"--host={env['RELENV_HOST']}",
272272
],
273273
env=env,
274274
stderr=logfp,
@@ -328,11 +328,11 @@ def build_krb(env, dirs, logfp):
328328
runcmd(
329329
[
330330
"./configure",
331-
"--prefix={dirs.prefix}",
331+
f"--prefix={dirs.prefix}",
332332
"--without-system-verto",
333333
"--without-libedit",
334-
"--build={env['RELENV_BUILD']}",
335-
"--host={env['RELENV_HOST']}",
334+
f"--build={env['RELENV_BUILD']}",
335+
f"--host={env['RELENV_HOST']}",
336336
],
337337
env=env,
338338
stderr=logfp,

tests/test_verify_build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def test_pip_install_salt_git(pipexec, build, build_dir, pyexec, build_version):
107107
if sys.platform == "darwin" and "3.13" in build_version:
108108
pytest.xfail("Salt does not work with 3.13 on macos yet")
109109

110+
subprocess.run([pipexec, "--upgrade", "install", "setuptools>=72.2.0"], check=True)
111+
110112
env = os.environ.copy()
111113
env["RELENV_BUILDENV"] = "yes"
112114
if sys.platform == "linux" and shutil.which("git"):

0 commit comments

Comments
 (0)