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.
  • Loading branch information
VoltrexKeyva committed May 9, 2024
1 parent 2863c54 commit 4b828b4
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 @@ -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',
Expand All @@ -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',
Expand Down Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 4b828b4

Please sign in to comment.