Skip to content

Commit 4372af2

Browse files
authored
fix: Drop support for python 3.7 (#30)
1 parent eb8fbd2 commit 4372af2

File tree

7 files changed

+12
-13
lines changed

7 files changed

+12
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
19+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2020

2121
steps:
2222
- uses: actions/checkout@v4
@@ -26,7 +26,7 @@ jobs:
2626
python-version: ${{ matrix.python-version }}
2727

2828
- name: Install poetry
29-
run: pipx install poetry
29+
uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439
3030

3131
- uses: ./.github/actions/build
3232
- uses: ./.github/actions/build-docs
@@ -55,7 +55,7 @@ jobs:
5555

5656
strategy:
5757
matrix:
58-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
58+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
5959

6060
steps:
6161
- uses: actions/checkout@v4

.github/workflows/manual-publish-docs.yml

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

1414
- uses: actions/setup-python@v4
1515
with:
16-
python-version: 3.7
16+
python-version: 3.8
1717

1818
- name: Install poetry
1919
run: pipx install poetry

.github/workflows/manual-publish.yml

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

2020
- uses: actions/setup-python@v4
2121
with:
22-
python-version: 3.7
22+
python-version: 3.8
2323

2424
- name: Install poetry
2525
run: pipx install poetry

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/setup-python@v4
2929
if: ${{ steps.release.outputs.releases_created }}
3030
with:
31-
python-version: 3.7
31+
python-version: 3.8
3232

3333
- name: Install poetry
3434
if: ${{ steps.release.outputs.releases_created }}

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ help: #! Show this help message
1717

1818
.PHONY: install
1919
install:
20-
@poetry install
20+
poetry install
2121

2222
#
2323
# Quality control checks
@@ -31,6 +31,7 @@ test: install
3131
.PHONY: lint
3232
lint: #! Run type analysis and linting checks
3333
lint: install
34+
poetry run python --version
3435
poetry run mypy ld_eventsource testing
3536

3637
#

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This is a synchronous implementation which blocks the caller's thread when readi
1818

1919
## Supported Python versions
2020

21-
This version of the package is compatible with Python 3.7 and higher.
21+
This version of the package is compatible with Python 3.8 and higher.
2222

2323
## Contributing
2424

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ classifiers = [
1313
"License :: OSI Approved :: Apache Software License",
1414
"Operating System :: OS Independent",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.7",
1716
"Programming Language :: Python :: 3.8",
1817
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
@@ -28,15 +27,14 @@ packages = [
2827
]
2928

3029
[tool.poetry.dependencies]
31-
python = ">=3.7"
30+
python = ">=3.8"
3231
urllib3 = ">=1.26.0,<3"
3332

3433

3534
[tool.poetry.group.dev.dependencies]
3635
mock = ">=2.0.0"
3736
pytest = ">=2.8"
38-
pytest-mypy = "0.8.1"
39-
mypy = ">=1.4.1"
37+
mypy = "^1.4.0"
4038

4139

4240
[tool.poetry.group.contract-tests]
@@ -63,7 +61,7 @@ urllib3 = ">=1.26.0"
6361
jinja2 = "3.0.0"
6462

6563
[tool.mypy]
66-
python_version = "3.7"
64+
python_version = "3.8"
6765
ignore_missing_imports = true
6866
install_types = true
6967
non_interactive = true

0 commit comments

Comments
 (0)