Skip to content

Commit 0c645ed

Browse files
committed
Drop Python 3.7 support
1 parent 8d31f0b commit 0c645ed

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: "actions/checkout@v3"
1818
- uses: "actions/setup-python@v4"
1919
with:
20-
python-version: 3.7
20+
python-version: 3.8
2121
- name: "Install dependencies"
2222
run: "scripts/install"
2323
- name: "Build package & docs"

.github/workflows/test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1818

1919
steps:
2020
- uses: "actions/checkout@v3"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Some things HTTP Core does do:
2525

2626
## Requirements
2727

28-
Python 3.7+
28+
Python 3.8+
2929

3030
## Installation
3131

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Some things HTTP Core does do:
2525

2626
## Requirements
2727

28-
Python 3.7+
28+
Python 3.8+
2929

3030
## Installation
3131

scripts/check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export SOURCE_FILES="httpcore tests"
99
set -x
1010

1111
${PREFIX}isort --check --diff --project=httpcore $SOURCE_FILES
12-
${PREFIX}black --exclude '/(_sync|sync_tests)/' --check --diff --target-version=py37 $SOURCE_FILES
12+
${PREFIX}black --exclude '/(_sync|sync_tests)/' --check --diff --target-version=py38 $SOURCE_FILES
1313
${PREFIX}flake8 $SOURCE_FILES
1414
${PREFIX}mypy $SOURCE_FILES
1515
scripts/unasync --check

scripts/lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -x
1010

1111
${PREFIX}autoflake --in-place --recursive --remove-all-unused-imports $SOURCE_FILES
1212
${PREFIX}isort --project=httpcore $SOURCE_FILES
13-
${PREFIX}black --target-version=py37 --exclude '/(_sync|sync_tests)/' $SOURCE_FILES
13+
${PREFIX}black --target-version=py38 --exclude '/(_sync|sync_tests)/' $SOURCE_FILES
1414

1515
# Run unasync last because its `--check` mode is not aware of code formatters.
1616
# (This means sync code isn't prettified, and that's mostly okay.)

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def get_packages(package):
3737

3838
setup(
3939
name="httpcore",
40-
python_requires=">=3.7",
40+
python_requires=">=3.8",
4141
version=get_version("httpcore"),
4242
url="https://github.com/encode/httpcore",
4343
project_urls={
@@ -73,7 +73,6 @@ def get_packages(package):
7373
"Framework :: AsyncIO",
7474
"Framework :: Trio",
7575
"Programming Language :: Python :: 3",
76-
"Programming Language :: Python :: 3.7",
7776
"Programming Language :: Python :: 3.8",
7877
"Programming Language :: Python :: 3.9",
7978
"Programming Language :: Python :: 3.10",

0 commit comments

Comments
 (0)