Skip to content

Commit 1b172e8

Browse files
committed
Drop python 3.7 & 3.8 support
Both are EOL >6 months
1 parent 6eb1d50 commit 1b172e8

5 files changed

Lines changed: 7 additions & 16 deletions

File tree

.github/workflows/run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
strategy:
6262
matrix:
6363
platform: [ubuntu-latest, macos-latest, windows-latest]
64-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
64+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
6565
runs-on: ${{ matrix.platform }}
6666
permissions:
6767
contents: read

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Release 0.11.0 (unreleased)
22
====================================
33

4+
* Drop python 3.7, 3.8 support (#801)
45
* Don't show animation when running in CI (#702)
56
* Improve logic for creating Purls in SBoM (#780)
67
* Add External VCS reference to SBoM if possible (#780)

dfetch/reporting/check/code_climate_reporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
.. code-block:: yaml
3939
4040
dfetch:
41-
image: "python:3.7"
41+
image: "python:3.13"
4242
script:
4343
- pip install dfetch
4444
- dfetch check --code-climate dfetch.json

dfetch/resources/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
"""Resources needed when dfetch is distributed."""
22

3-
try:
4-
import importlib.resources as importlib_resources
5-
except ModuleNotFoundError:
6-
import importlib_resources # type:ignore
7-
3+
import importlib.resources as importlib_resources
84
import sys
95
from pathlib import Path
106
from typing import ContextManager

pyproject.toml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "dfetch"
77
authors = [{ name = "Ben Spoor", email = "dfetch@spoor.cc" }]
88
description = "Dependency fetcher"
99
readme = { file = "README.md", content-type = "text/markdown" }
10-
requires-python = ">=3.7"
10+
requires-python = ">=3.9"
1111
keywords = [
1212
"dfetch",
1313
"dependency management",
@@ -29,8 +29,6 @@ classifiers = [
2929
"Environment :: Console",
3030
"Intended Audience :: Developers",
3131
"License :: OSI Approved :: MIT License",
32-
"Programming Language :: Python :: 3.7",
33-
"Programming Language :: Python :: 3.8",
3432
"Programming Language :: Python :: 3.9",
3533
"Programming Language :: Python :: 3.10",
3634
"Programming Language :: Python :: 3.11",
@@ -46,15 +44,11 @@ dependencies = [
4644
"pykwalify==1.8.0",
4745
"halo==0.0.31",
4846
"colorama==0.4.6",
49-
"typing-extensions==4.7.1; python_version <= '3.7.0'",
50-
"typing-extensions==4.13.2; python_version <= '3.8.0'",
51-
"typing-extensions==4.15.0; python_version > '3.8.0'",
52-
"tldextract==5.1.2; python_version <= '3.8.0'",
53-
"tldextract==5.3.0; python_version > '3.8.0'",
47+
"typing-extensions==4.15.0",
48+
"tldextract==5.3.0",
5449
"sarif-om==1.0.4",
5550
"semver==3.0.4",
5651
"patch-ng==1.18.1",
57-
"importlib-resources==5.4.0; python_version <= '3.7.0'",
5852
"cyclonedx-python-lib==4.2.2",
5953
"infer-license==0.1.0; python_version <= '3.10.0'",
6054
"infer-license==0.2.0; python_version > '3.10.0'",

0 commit comments

Comments
 (0)