Skip to content

Commit

Permalink
fix: Drop support for python 3.7 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
keelerm84 authored Apr 4, 2024
1 parent eb8fbd2 commit 4372af2
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: pipx install poetry
uses: abatilo/actions-poetry@7b6d33e44b4f08d7021a1dee3c044e9c253d6439

- uses: ./.github/actions/build
- uses: ./.github/actions/build-docs
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8

- name: Install poetry
run: pipx install poetry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8

- name: Install poetry
run: pipx install poetry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-python@v4
if: ${{ steps.release.outputs.releases_created }}
with:
python-version: 3.7
python-version: 3.8

- name: Install poetry
if: ${{ steps.release.outputs.releases_created }}
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ help: #! Show this help message

.PHONY: install
install:
@poetry install
poetry install

#
# Quality control checks
Expand All @@ -31,6 +31,7 @@ test: install
.PHONY: lint
lint: #! Run type analysis and linting checks
lint: install
poetry run python --version
poetry run mypy ld_eventsource testing

#
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is a synchronous implementation which blocks the caller's thread when readi

## Supported Python versions

This version of the package is compatible with Python 3.7 and higher.
This version of the package is compatible with Python 3.8 and higher.

## Contributing

Expand Down
8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"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 All @@ -28,15 +27,14 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.7"
python = ">=3.8"
urllib3 = ">=1.26.0,<3"


[tool.poetry.group.dev.dependencies]
mock = ">=2.0.0"
pytest = ">=2.8"
pytest-mypy = "0.8.1"
mypy = ">=1.4.1"
mypy = "^1.4.0"


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

[tool.mypy]
python_version = "3.7"
python_version = "3.8"
ignore_missing_imports = true
install_types = true
non_interactive = true
Expand Down

0 comments on commit 4372af2

Please sign in to comment.