You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression: 1.15+ fails on macOS, while 1.14.4 works fine #432
Versions of testgres prior to 1.15 work correctly on macOS. But with the shift to "internal_platform_utils", macOS no longer works in 1.15 or 1.16. Instead, you get NotImplementedError:
File "/../postgres.py", line 224, in setUp
node.start()
File "/../python3.13/site-packages/testgres/node.py", line 1187, in start
self._manually_started_pm_pid = self._get_node_state().pid
File "/../python3.13/site-packages/testgres/node.py", line 1079, in _get_node_state
return utils.get_pg_node_state(
File "/../python3.13/site-packages/testgres/utils.py", line 530, in get_pg_node_state
if platform_utils_provider.get().ProcessIsZombi_soft_check(os_ops, pid) is True:
File "/..python3.13/site-packages/testgres/impl/platforms/internal_platform_utils.py", line 71, in ProcessIsZombi_soft_check
raise NotImplementedError("InternalPlatformUtils::ProcessIsZombi_soft_ver is not implemented.")
NotImplementedError: InternalPlatformUtils::ProcessIsZombi_soft_ver is not implemented.
FWIW, patching testgres.impl.platforms.internal_platform_utils_factory::create_internal_platform_utils to return the win32 implementation (which appears to be basically no-ops) when os_ops.get_platform() returns "darwin" lets our tests using testgres complete successfully on macOS with testgres 1.16.1
Activity
jamadden commentedon Sep 21, 2026
FWIW, patching
testgres.impl.platforms.internal_platform_utils_factory::create_internal_platform_utilsto return thewin32implementation (which appears to be basically no-ops) whenos_ops.get_platform()returns"darwin"lets our tests using testgres complete successfully on macOS with testgres 1.16.1dmitry-lipetsk commentedon Sep 22, 2026
Hello Jason,
Thanks for this notification.
I added a formal support of macos in #435 - for local operations only.
CI on macos is added, too.
New package will be released asap.
jamadden commentedon Sep 22, 2026
Thanks!