Skip to content

Commit

Permalink
Merge pull request #2473 from locustio/deprecate-support-for-python-3.8
Browse files Browse the repository at this point in the history
Log deprecation warning in python 3.8
  • Loading branch information
cyberw authored Nov 19, 2023
2 parents f4288d3 + 919ac91 commit 1dccade
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 1dccade

Please sign in to comment.