Skip to content

Commit

Permalink
deprecating my own GracefulKiller in favor of pypi's
Browse files Browse the repository at this point in the history
  • Loading branch information
Mausy5043 committed Jul 21, 2024
1 parent 45beefb commit f3f5b78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "hatchling.build"

[project]
name = "mausy5043-common"
version = "1.6.7" # latest production version
version = "1.6.8" # latest production version
# version = "1.5.4" # latest test version
description = "Common python functions"
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion src/mausy5043_common/libsignals.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
# TODO: migrate to https://pypi.org/project/GracefulKiller/

import signal

import warnings
warnings.warn("This module is deprecated. Use https://pypi.org/project/GracefulKiller/ instead.")

class GracefulKiller: # pylint: disable=R0903
"""A class to intercept kill signals."""
Expand Down

0 comments on commit f3f5b78

Please sign in to comment.