Skip to content

Commit

Permalink
Stop supporting Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Oct 12, 2023
1 parent 711e9fd commit 0b38464
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- { name: "3.10", python: "3.10", os: ubuntu-latest, tox: py310 }
- { name: "3.9", python: "3.9", os: ubuntu-latest, tox: py39 }
- { name: "3.8", python: "3.8", os: ubuntu-latest, tox: py38 }
- { name: "3.7", python: "3.7", os: ubuntu-latest, tox: py37 }

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 0 additions & 3 deletions locust/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,6 @@ 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, 8):
logger.info("Python 3.7 support is deprecated and will be removed soon")

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

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "locust"
license = { text = "MIT"}
description = "Developer friendly load testing framework"
dynamic = ["version"]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"gevent >=20.12.1",
"flask >=2.0.0",
Expand All @@ -31,7 +31,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit 0b38464

Please sign in to comment.