Skip to content

Commit fde5708

Browse files
committed
Remove rp_uuid param support
1 parent e7edd8d commit fde5708

3 files changed

Lines changed: 2 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
- Client version updated to [5.6.6](https://github.com/reportportal/client-Python/releases/tag/5.6.6), by @HardNorth
88
### Fixed
99
- Some configuration parameter names, which are different in the client, by @HardNorth
10+
### Removed
11+
- `rp_uuid` param support, as it was deprecated pretty while ago, by @HardNorth
1012

1113
## [5.5.2]
1214
### Fixed

pytest_reportportal/config.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -147,17 +147,6 @@ def __init__(self, pytest_config: Config) -> None:
147147

148148
# API key auth parameter
149149
self.rp_api_key = getenv("RP_API_KEY") or self.find_option(pytest_config, "rp_api_key")
150-
if not self.rp_api_key:
151-
self.rp_api_key = getenv("RP_UUID") or self.find_option(pytest_config, "rp_uuid")
152-
if self.rp_api_key:
153-
warnings.warn(
154-
"Parameter `rp_uuid` is deprecated since 5.1.9 "
155-
"and will be subject for removing in the next "
156-
"major version. Use `rp_api_key` argument "
157-
"instead.",
158-
DeprecationWarning,
159-
2,
160-
)
161150

162151
# OAuth 2.0 parameters
163152
self.rp_oauth_uri = self.find_option(pytest_config, "rp_oauth_uri")

pytest_reportportal/plugin.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,6 @@ def add_shared_option(name, help_str, default=None, action="store"):
552552
name="rp_parent_item_id",
553553
help_str="Create all test item as child items of the given (already " "existing) item.",
554554
)
555-
add_shared_option(name="rp_uuid", help_str="Deprecated: use `rp_api_key` " "instead.")
556555
add_shared_option(name="rp_api_key", help_str="API key of Report Portal. Usually located on UI profile " "page.")
557556
add_shared_option(name="rp_endpoint", help_str="Server endpoint")
558557
add_shared_option(name="rp_mode", help_str="Visibility of current launch [DEFAULT, DEBUG]", default="DEFAULT")
@@ -572,11 +571,6 @@ def add_shared_option(name, help_str, default=None, action="store"):
572571
name="rp_launch_uuid_print_output",
573572
help_str="Launch UUID print output. Default `stdout`. Possible values: [stderr, stdout]",
574573
)
575-
add_shared_option(
576-
name="rp_enabled",
577-
help_str="Enable reportportal plugin",
578-
default=True,
579-
)
580574

581575
# OAuth 2.0 parameters
582576
parser.addini("rp_oauth_uri", type="args", help="OAuth 2.0 token endpoint URL for password grant authentication")

0 commit comments

Comments
 (0)