Skip to content

Commit

Permalink
Update minimal Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Jan 15, 2024
1 parent 86804fb commit e4b00e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.12
- name: Lint with flake8
run: |
python -m pip install --upgrade pip
Expand All @@ -32,10 +32,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.12
- name: Type checking with mypy
run: |
python -m pip install --upgrade pip
Expand All @@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

runs-on: ubuntu-latest

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
install_requires=["prometheus_client>=0.12", "starlette>=0.35"],
python_requires=">=3.8",
)

0 comments on commit e4b00e5

Please sign in to comment.