Skip to content

Commit a786d29

Browse files
committed
removing python 3.7
1 parent 8b2cd6a commit a786d29

File tree

4 files changed

+3
-16
lines changed

4 files changed

+3
-16
lines changed

.github/workflows/codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
matrix:
88
os: [ubuntu-latest]
9-
python: ["3.7","3.8","3.9","3.10","3.11"]
9+
python: ["3.8","3.9","3.10","3.11"]
1010
env:
1111
OS: ${{ matrix.os }}
1212
PYTHON: ${{ matrix.python }}

setup.cfg

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ classifiers =
2525
Typing :: Typed
2626
Programming Language :: Python :: 3
2727
Programming Language :: Python :: 3 :: Only
28-
Programming Language :: Python :: 3.7
2928
Programming Language :: Python :: 3.8
3029
Programming Language :: Python :: 3.9
3130
Programming Language :: Python :: 3.10

tests/apiv2_test.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,9 @@
1313
from hypercorn.asyncio import serve
1414
from hypercorn.config import Config
1515

16-
# FIXME
17-
# python3.7 compat typing.get_origin
1816
from typing import ForwardRef
1917

20-
if sys.version_info >= (3, 8):
21-
import typing
22-
else:
23-
import typing_extensions as typing
24-
18+
import typing
2519

2620
import aiopenapi3
2721
from aiopenapi3 import OpenAPI

tests/ref_test.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from __future__ import annotations
2-
import sys
32

43
"""
54
This file tests that $ref resolution works as expected, and that
@@ -8,12 +7,7 @@
87

98
from typing import ForwardRef
109

11-
if sys.version_info >= (3, 8):
12-
import typing
13-
else:
14-
# fot typing.get_origin
15-
import typing_extensions as typing
16-
10+
import typing
1711

1812
import pytest
1913
from aiopenapi3 import OpenAPI

0 commit comments

Comments
 (0)