From 78c0afe0066ba7651f18e96c50578ceb438daac3 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Tue, 5 Apr 2022 10:18:55 -0600 Subject: [PATCH 1/3] setup: min python version is now 3.7 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3934513b..f49a07c3 100644 --- a/setup.py +++ b/setup.py @@ -98,5 +98,5 @@ setuptools.setup( "Programming Language :: Python :: 3", "Topic :: Security", ], - python_requires=">=3.6", + python_requires=">=3.7", ) From 715ac64ae694fef79b0ec5c071af97711d07de07 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Tue, 5 Apr 2022 10:19:04 -0600 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9047b3fa..474b80be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ### Breaking Changes - instruction scope and operand feature are new and are not backwards compatible with older versions of capa + - Python 3.7 is now the minimum supported Python version #866 @williballenthin ### New Rules (4) From 0617b87f36938a3e1bf2c082061fd5301fbfe2ec Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Tue, 5 Apr 2022 10:19:09 -0600 Subject: [PATCH 3/3] ci: no longer test against py3.6 --- .github/workflows/publish.yml | 2 +- .github/workflows/tests.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a5119e4c..42525df9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.6' + python-version: '3.7' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cf12c605..1f3cc7f7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -67,11 +67,9 @@ jobs: matrix: os: [ubuntu-20.04, windows-2019, macos-10.15] # across all operating systems - python-version: ["3.6", "3.10"] + python-version: ["3.7", "3.10"] include: # on Ubuntu run these as well - - os: ubuntu-20.04 - python-version: "3.7" - os: ubuntu-20.04 python-version: "3.8" - os: ubuntu-20.04