Skip to content

Commit

Permalink
Merge pull request #162 from seddonym/drop-py38
Browse files Browse the repository at this point in the history
Drop support for Python 3.8
  • Loading branch information
seddonym authored Oct 8, 2024
2 parents 4851667 + 1a12ec2 commit 878488b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
python-version: [
"3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"
"3.9", "3.10", "3.11", "3.12", "3.13-dev"
]
os: [ubuntu-latest, macos-latest, windows-latest]

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: |
3.8
3.9
3.10
3.11
Expand Down Expand Up @@ -74,7 +73,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: |
3.8
3.9
3.10
3.11
Expand Down Expand Up @@ -107,7 +105,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: |
3.8
3.9
3.10
3.11
Expand Down Expand Up @@ -140,7 +137,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: |
3.8
3.9
3.10
3.11
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ latest

* Added `as_packages` option to the `find_shortest_chains` method.
* Include 3.13 wheel in release.
* Drop support for Python 3.8.

3.4.1 (2024-07-12)
------------------
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description = "Builds a queryable graph of the imports within one or more Python
authors = [
{name = "David Seddon", email = "[email protected]"},
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"typing-extensions>=3.10.0.0",
]
Expand All @@ -26,7 +26,6 @@ classifiers = [
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
4 changes: 1 addition & 3 deletions src/grimp/adaptors/_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ class _Link:


# A chain of modules, each of which imports the next.
if TYPE_CHECKING:
# TODO: remove TYPE_CHECKING conditional once on Python 3.9.
_Chain = tuple[str, ...]
_Chain = tuple[str, ...]


def _generate_module_permutations(
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ envlist =
clean,
check,
docs,
{py38,py39,py310,py311,py312,py13},
{py39,py310,py311,py312,py13},

[testenv]
basepython =
py38: {env:TOXPYTHON:python3.8}
py39: {env:TOXPYTHON:python3.9}
py310: {env:TOXPYTHON:python3.10}
py311: {env:TOXPYTHON:python3.11}
Expand Down Expand Up @@ -100,7 +99,6 @@ deps = coverage==6.4.3

[gh-actions]
python =
3.8: py38, report
3.9: py39, report
3.10: py310, report
3.11: py311, report
Expand Down

0 comments on commit 878488b

Please sign in to comment.