Skip to content

Keep setuptools below 84 for py2app on macOS - #13

Merged
ctoth merged 1 commit into
masterfrom
fix/mac-setuptools-84
Oct 30, 2026
Merged

ctoth merged 1 commit into
masterfrom
fix/mac-setuptools-84

Conversation

@ctoth

@ctoth ctoth commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

QCast's Mac release fails on its current lock (setuptools 84.0.0) before py2app finishes:

File ".../py2app/util.py", line 508, in byte_compile
    spawn(cmd, verbose=verbose)
File ".../setuptools/_distutils/spawn.py", line 45, in spawn
    subprocess.check_call(cmd, **kwargs)
TypeError: Popen.__init__() got an unexpected keyword argument 'verbose'

setuptools 84's spawn passes every keyword argument to subprocess.check_call; py2app 0.28.10 (the newest release) still passes verbose. The same build with setuptools 83.0.0 completes. This is the same kind of break as py2app issue ronaldoussoren/py2app#563 (dry_run with setuptools 81).

The bound is macOS-only, since py2exe on Windows does not go through this path.

@ctoth
ctoth merged commit df755e6 into master Oct 30, 2026
2 checks passed
@ctoth
ctoth deleted the fix/mac-setuptools-84 branch October 30, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant