Skip to content

Commit

Permalink
Log deprecation warning in python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Nov 19, 2023
1 parent f4288d3 commit 919ac91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions locust/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ def is_valid_percentile(parameter):
See https://github.com/locustio/locust/wiki/Installation#increasing-maximum-number-of-open-files-limit for more info."""
)

if sys.version_info <= (3, 9):
logger.info("Python 3.8 support is deprecated and will be removed soon")

# create locust Environment
locustfile_path = None if not locustfile else os.path.basename(locustfile)

Expand Down

0 comments on commit 919ac91

Please sign in to comment.