Skip to content

Commit

Permalink
Merge pull request #2677 from locustio/drop-support-for-Python-3.8
Browse files Browse the repository at this point in the history
Drop support for Python 3.8
  • Loading branch information
cyberw committed Apr 17, 2024
2 parents 645249b + 962dfaa commit 680ec6b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- { name: "3.11", python: "3.11", os: ubuntu-latest, tox: py311 }
- { 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 }

steps:
- uses: actions/checkout@v3
Expand Down
12 changes: 9 additions & 3 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.8"
requires-python = ">=3.9"
dependencies = [
"gevent >=22.10.2",
"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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -104,8 +103,15 @@ locust = "locust.main:main"
[tool.mypy]
# missing type stubs
ignore_missing_imports = true
python_version = "3.8"
python_version = "3.9"

[[tool.mypy.overrides]]
module = ["locust.dispatch"]
no_strict_optional = true

[tool.pyright]
exclude = [
"locust/test",
]
reportOptionalMemberAccess = "none"
analyzeUnannotatedFunctions = false
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ skipsdist = True
envlist =
ruff
mypy
py{38,39,310,311,312}
py{39,310,311,312}
fail_fast_test_main

[testenv]
Expand Down

0 comments on commit 680ec6b

Please sign in to comment.