Skip to content

Commit

Permalink
Remove deprecated code
Browse files Browse the repository at this point in the history
We deprecated this in Apr of 2023.  "Debugged!"
  • Loading branch information
khk-globus committed Jan 24, 2024
1 parent 6968c33 commit 147b96a
Show file tree
Hide file tree
Showing 36 changed files with 5 additions and 820 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Removed
^^^^^^^

- Remove the funcx-* wrappers, per rebrand-to-Globus-Compute deprecation in
Apr, 2024.
17 changes: 0 additions & 17 deletions compute_endpoint/globus_compute_endpoint/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from globus_compute_endpoint.exception_handling import handle_auth_errors
from globus_compute_endpoint.logging_config import setup_logging
from globus_compute_endpoint.self_diagnostic import run_self_diagnostic
from globus_compute_endpoint.version import DEPRECATION_FUNCX_ENDPOINT
from globus_compute_sdk.sdk.login_manager import LoginManager
from globus_compute_sdk.sdk.login_manager.tokenstore import ensure_compute_dir
from globus_compute_sdk.sdk.login_manager.whoami import print_whoami_info
Expand Down Expand Up @@ -687,21 +686,5 @@ def cli_run():
app()


def cli_run_funcx():
"""Entry point that prints a custom message. i.e. deprecation warnings"""
fmt = DEPRECATION_FUNCX_ENDPOINT

# Colorized notice to be a bit more visible
fmt = "{title}DEPRECATION NOTICE{rs}\n{body}" + fmt + "{rs}"
title = frs = body = rs = ""
if sys.stderr.isatty():
title = "\033[37;41m" # White FG, Red BG
body = "\033[33m" # Yellow FG
rs = "\033[0m" # Reset colors

print(fmt.format(title=title, body=body, frs=frs, rs=rs), file=sys.stderr)
app()


if __name__ == "__main__":
app()
11 changes: 0 additions & 11 deletions compute_endpoint/globus_compute_endpoint/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,5 @@
# this is needed because it's imported by `globus-compute-sdk` to do the version check
VERSION = __version__

# Here as it's the easier way for funcx-endpoint cli to display it
DEPRECATION_FUNCX_ENDPOINT = """
funcX Endpoint has been renamed to Globus Compute Endpoint and the new package
is available on PyPI:
https://pypi.org/project/globus-compute-endpoint/
Please consider upgrading to Globus Compute. More information can be found at:
https://globus-compute.readthedocs.io/en/latest/funcx_upgrade.html
"""


# app name to send as part of requests
app_name = f"Globus Compute Endpoint v{__version__}"
6 changes: 0 additions & 6 deletions compute_funcx/README.md

This file was deleted.

52 changes: 0 additions & 52 deletions compute_funcx/RELEASING.md

This file was deleted.

201 changes: 0 additions & 201 deletions compute_funcx/endpoint/LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion compute_funcx/endpoint/MANIFEST.in

This file was deleted.

11 changes: 0 additions & 11 deletions compute_funcx/endpoint/PyPI.md

This file was deleted.

8 changes: 0 additions & 8 deletions compute_funcx/endpoint/README.md

This file was deleted.

4 changes: 0 additions & 4 deletions compute_funcx/endpoint/funcx_endpoint/__init__.py

This file was deleted.

Empty file.
Empty file.

This file was deleted.

3 changes: 0 additions & 3 deletions compute_funcx/endpoint/funcx_endpoint/executors/__init__.py

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions compute_funcx/endpoint/funcx_endpoint/version.py

This file was deleted.

15 changes: 0 additions & 15 deletions compute_funcx/endpoint/setup.cfg

This file was deleted.

0 comments on commit 147b96a

Please sign in to comment.