Skip to content

Commit

Permalink
build: remove deprecated calls for argument groups
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
VoltrexKeyva authored and marco-ippolito committed Jun 17, 2024
1 parent 69b24b1 commit 646cfb7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,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',
Expand All @@ -457,15 +455,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',
Expand Down Expand Up @@ -645,8 +639,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',
Expand All @@ -659,8 +651,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',
Expand Down

0 comments on commit 646cfb7

Please sign in to comment.