Skip to content

Commit 16cf947

Browse files
Drop support for python 3.7 (#502)
* Drop support for python 3.7 Support for this version ends on 27 June 2023; there's no reason not to use a newer version (or the container, which is based on python 3.11) unless your OS vendor has stuck you with an earlier one. * Update authors Dylan Ayrey is the original author of trufflehog, the source of tartufo, but he's never contributed to this codebase and we've diverged fairly significantly at this point. It seems saner to change the author entry to GoDaddy, while continuing to credit Dylan in the README.md. * Fix overlooked references Remove references to python 3.7 from workflows --------- Co-authored-by: Scott Bailey <[email protected]>
1 parent d3b9c59 commit 16cf947

File tree

6 files changed

+17
-117
lines changed

6 files changed

+17
-117
lines changed

.github/workflows/ci.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, windows-latest, macos-latest]
25-
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
25+
python-version: [3.8, 3.9, "3.10", 3.11]
2626
include:
2727
- os: ubuntu-latest
2828
path: ~/.cache/pypoetry
@@ -51,9 +51,6 @@ jobs:
5151
uses: actions/setup-python@db9987b4c1f10f0404fa60ee629f675fafbd6763
5252
with:
5353
python-version: ${{ matrix.python-version }}
54-
- name: Install Enchant
55-
run: brew install enchant
56-
if: ${{ matrix.os == 'macos-latest' && matrix.python-version == '3.7' }}
5754
- name: Install dependencies
5855
run: |
5956
pip install -U pip

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
12-
- name: Set up Python 3.7
12+
- name: Set up Python 3.8
1313
uses: actions/setup-python@db9987b4c1f10f0404fa60ee629f675fafbd6763
1414
with:
15-
python-version: 3.7
15+
python-version: 3.8
1616
- name: Install dependencies
1717
run: |
1818
pip install --upgrade pip

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
vT.B.D - Month D 2023
2+
---------------------
3+
4+
* [#502](https://github.com/godaddy/tartufo/pull/502) - Drop support for
5+
python 3.7; this version reached end of support on 27 June 2023.
6+
17
v4.1.0 - April 3 2023
2-
--------------------
8+
---------------------
39

410
Features:
511
* [#473](https://github.com/godaddy/tartufo/pull/473) - Introduces new flag `--target-config/--no-target-config` to enable or disable processing of the config file in the repository or folder being scanned

poetry.lock

+2-103
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ build-backend = "poetry.core.masonry.api"
33
requires = ["poetry_core>=1.0.0"]
44

55
[tool.poetry]
6-
authors = ["Dylan Ayrey <[email protected]>"]
6+
authors = ["GoDaddy <[email protected]>"]
77
classifiers = [
88
"Development Status :: 5 - Production/Stable",
99
"Environment :: Console",
@@ -12,7 +12,6 @@ classifiers = [
1212
"Natural Language :: English",
1313
"Operating System :: OS Independent",
1414
"Programming Language :: Python",
15-
"Programming Language :: Python :: 3.7",
1615
"Programming Language :: Python :: 3.8",
1716
"Programming Language :: Python :: 3.9",
1817
"Programming Language :: Python :: 3.10",
@@ -39,10 +38,10 @@ tartufo = "tartufo.cli:main"
3938

4039
[tool.poetry.dependencies]
4140
GitPython = "^3.1.30"
42-
pygit2 = [{version = "^1.10.0", python = "~3.7"}, {version = "^1.11.0", python = "^3.8"}]
41+
pygit2 = "^1.11.0"
4342
click = "^8.1.0"
4443
colorama = {version = "*", markers = "sys_platform == 'win32'"}
45-
python = "^3.7.2"
44+
python = "^3.8"
4645
tomlkit = "^0.11.4"
4746
cached-property = "^1.5.2"
4847

tox.ini

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[tox]
2-
minversion = 3.7.0
2+
minversion = 3.8.0
33
toxworkdir = {env:TOX_WORK_DIR:.tox}
44
skip_missing_interpreters = True
5-
envlist = py{37,38,39,py3,310,311},black,mypy,pylint,vulture,docs
5+
envlist = py{38,39,py3,310,311},black,mypy,pylint,vulture,docs
66
parallel_show_output = True
77
isolated_build = True
88

99
[gh-actions]
1010
python =
11-
3.7: py37
1211
3.8: py38
1312
3.9: py39
1413
3.10: py310

0 commit comments

Comments
 (0)