Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ in development
Changed
~~~~~~~

* Removed --python3 deprecated flag from st2client. #5305

Contributed by Amanda McGuinness (@amanda11 Ammeon Solutions)

Contributed by @blag.
* Fixed ``__init__.py`` files to use double quotes to better align with black linting #5299

Contributed by @blag.
Expand Down
13 changes: 0 additions & 13 deletions st2client/st2client/commands/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import six
import editor
import warnings
import yaml

from st2client.models import Config
Expand Down Expand Up @@ -255,12 +254,6 @@ def __init__(self, resource, *args, **kwargs):
help="Name of the %s in Exchange, or a git repo URL."
% resource.get_plural_display_name().lower(),
)
self.parser.add_argument(
"--python3",
action="store_true",
default=False,
help="Use Python 3 binary for pack virtual environment.",
)
self.parser.add_argument(
"--force",
action="store_true",
Expand All @@ -282,12 +275,6 @@ def run(self, args, **kwargs):
if not is_structured_output:
self._get_content_counts_for_pack(args, **kwargs)

if args.python3:
warnings.warn(
"DEPRECATION WARNING: --python3 flag is ignored and will be removed "
"in v3.5.0 as StackStorm now runs with python3 only"
)

return self.manager.install(
args.packs,
force=args.force,
Expand Down