Skip to content

Commit

Permalink
add support for python 3.11 and 3.12 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfiola authored Jan 29, 2024
1 parent 946b20b commit 27a19e6
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 8 deletions.
32 changes: 31 additions & 1 deletion .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
python-version: "3.10"
- run: pip install -r requirements-dev.txt
- run: pydocstyle src
unit-test:
unit-test-python-310:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
needs: [black-lint, flake8-lint, pydocstyle-lint]
runs-on: ubuntu-latest
Expand All @@ -54,4 +54,34 @@ jobs:
- run: pip install -r requirements-dev.txt
- run: pip install -e .
- run: coverage run -a -m pytest tests/unit
unit-test-python-311:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
needs: [ black-lint, flake8-lint, pydocstyle-lint ]
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: pip install -r requirements.txt
- run: pip install -r requirements-dev.txt
- run: pip install -e .
- run: coverage run -a -m pytest tests/unit
unit-test-python-312:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
needs: [ black-lint, flake8-lint, pydocstyle-lint ]
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.12"
- run: pip install -r requirements.txt
- run: pip install -r requirements-dev.txt
- run: pip install -e .
- run: coverage run -a -m pytest tests/unit

10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ maintainers = [
]
keywords = ["load testing", "performance", "locust", "grasshopper"]
license = {file = "LICENSE"}
requires-python = ">=3.9,<4"
requires-python = ">=3.10,<4"
dependencies = [
"gevent ~=21.12.0",
"gevent ~=23.9.1",
"influxdb ~= 5.3.1",
"locust ~= 2.12.2",
"locust ~= 2.21.0",
"locust-influxdb-listener ~= 1.0.2",
"pytest ~= 6.2.5",
"termcolor ~= 1.1.0",
"pyyaml >= 5.4.1",
"tag-matcher ~= 0.0.5"
"tag-matcher ~= 0.0.5",
"termcolor ~= 1.1.0",
]

[project.urls]
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gevent==21.12.0
gevent==23.9.1
influxdb==5.3.1
locust==2.12.2
locust==2.21.0
locust-influxdb-listener==1.0.2
pytest>=6.2.5
pyyaml>=5.4.1
Expand Down

0 comments on commit 27a19e6

Please sign in to comment.