Skip to content

Commit 48c15d0

Browse files
VoltrexKeyvamarco-ippolito
authored andcommittedJun 17, 2024
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: #52913 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 4bf3d44 commit 48c15d0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed
 

‎configure.py

-10
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,6 @@
447447
dest='shared_cares_libpath',
448448
help='a directory to search for the shared cares DLL')
449449

450-
parser.add_argument_group(shared_optgroup)
451-
452450
for builtin in shareable_builtins:
453451
builtin_id = 'shared_builtin_' + builtin + '_path'
454452
shared_builtin_optgroup.add_argument('--shared-builtin-' + builtin + '-path',
@@ -457,15 +455,11 @@
457455
help='Path to shared file for ' + builtin + ' builtin. '
458456
'Will be used instead of bundled version at runtime')
459457

460-
parser.add_argument_group(shared_builtin_optgroup)
461-
462458
static_optgroup.add_argument('--static-zoslib-gyp',
463459
action='store',
464460
dest='static_zoslib_gyp',
465461
help='path to zoslib.gyp file for includes and to link to static zoslib library')
466462

467-
parser.add_argument_group(static_optgroup)
468-
469463
parser.add_argument('--tag',
470464
action='store',
471465
dest='tag',
@@ -645,8 +639,6 @@
645639
default='deps',
646640
help='Download directory [default: %(default)s]')
647641

648-
parser.add_argument_group(intl_optgroup)
649-
650642
parser.add_argument('--debug-lib',
651643
action='store_true',
652644
dest='node_debug_lib',
@@ -659,8 +651,6 @@
659651
default=None,
660652
help='build nghttp2 with DEBUGBUILD (default is false)')
661653

662-
parser.add_argument_group(http2_optgroup)
663-
664654
parser.add_argument('--without-npm',
665655
action='store_true',
666656
dest='without_npm',

0 commit comments

Comments
 (0)
Please sign in to comment.