Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
feat: show deprecation warning (#124)
Browse files Browse the repository at this point in the history
* feat!: only show deprecation warning

Since Sentinel has been deprecated, there's no need for it to execute any logic other than providing a deprecation notice.

* chore: don't exit after deprecation warning

* chore: run black to format code
  • Loading branch information
thephez authored Dec 5, 2023
1 parent 52b4e57 commit 728e796
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ def has_required_env_vars():


def main():
print(
"deprecation warning: Dash Sentinel is deprecated and should be uninstalled. See https://github.com/dashpay/sentinel for details."
)

install_instructions = "\tpip install -r requirements.txt"

if not is_valid_python_version():
Expand Down

0 comments on commit 728e796

Please sign in to comment.