From b463385aa83b1b2e46f51d2cd53892e297f95b4f Mon Sep 17 00:00:00 2001 From: Mohammed Keyvanzadeh Date: Sat, 11 May 2024 05:33:03 +0330 Subject: [PATCH] build: remove deprecated calls for argument groups Remove calls of `add_argument_group()` where an existing argument group is passed as an argument, this is deprecated since Python 3.11. PR-URL: https://github.com/nodejs/node/pull/52913 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Luigi Pinca --- configure.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/configure.py b/configure.py index a8e48d08bc083b..879ed9f9ea435b 100755 --- a/configure.py +++ b/configure.py @@ -448,8 +448,6 @@ dest='shared_cares_libpath', help='a directory to search for the shared cares DLL') -parser.add_argument_group(shared_optgroup) - for builtin in shareable_builtins: builtin_id = 'shared_builtin_' + builtin + '_path' shared_builtin_optgroup.add_argument('--shared-builtin-' + builtin + '-path', @@ -458,15 +456,11 @@ help='Path to shared file for ' + builtin + ' builtin. ' 'Will be used instead of bundled version at runtime') -parser.add_argument_group(shared_builtin_optgroup) - static_optgroup.add_argument('--static-zoslib-gyp', action='store', dest='static_zoslib_gyp', help='path to zoslib.gyp file for includes and to link to static zoslib library') -parser.add_argument_group(static_optgroup) - parser.add_argument('--tag', action='store', dest='tag', @@ -646,8 +640,6 @@ default='deps', help='Download directory [default: %(default)s]') -parser.add_argument_group(intl_optgroup) - parser.add_argument('--debug-lib', action='store_true', dest='node_debug_lib', @@ -660,8 +652,6 @@ default=None, help='build nghttp2 with DEBUGBUILD (default is false)') -parser.add_argument_group(http2_optgroup) - parser.add_argument('--without-npm', action='store_true', dest='without_npm',