Skip to content

Commit

Permalink
drop python 3.7 support (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Jul 16, 2023
1 parent 5c629f5 commit 7303065
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Test Suite

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
push:
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
linters:
Expand All @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ["3.8", "3.9", "3.10", "3.11"]

# Service containers to run with `container-job`
services:
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def extras_require() -> t.Dict[str, t.List[str]]:
long_description_content_type="text/markdown",
author="Daniel Townsend",
author_email="dan@dantownsend.co.uk",
python_requires=">=3.7.0",
python_requires=">=3.8.0",
url="https://github.com/piccolo-orm/piccolo_api",
packages=find_packages(exclude=("tests",)),
package_data={
Expand All @@ -80,7 +80,6 @@ def extras_require() -> t.Dict[str, t.List[str]]:
"License :: OSI Approved :: MIT License",
"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 7303065

Please sign in to comment.