From b34d791d058239ff417b5695294b86ebf656f42c Mon Sep 17 00:00:00 2001 From: Ana Maria Martinez Gomez Date: Tue, 13 Apr 2021 12:06:05 +0200 Subject: [PATCH 1/4] build: Fix binary for Windows 7 Python 3.9 doesn't support Windows 7. Build with Python 3.8 instead. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35f47c517..0e43beb79 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,10 +26,10 @@ jobs: uses: actions/checkout@v2 with: submodules: true - - name: Set up Python 3.9 + - name: Set up Python 3.8 uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: 3.8 - if: matrix.os == 'ubuntu-16.04' run: sudo apt-get install -y libyaml-dev - name: Install PyInstaller From 62743e136351f742259b9bb0b71e316c891adf28 Mon Sep 17 00:00:00 2001 From: Ana Maria Martinez Gomez Date: Tue, 13 Apr 2021 12:08:30 +0200 Subject: [PATCH 2/4] ci: Enable tests for master-py2 branch Use the master-py branch to backport fixes to capa 1.6 (Python 2 support). --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 13b75be80..a844ce5f8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ master ] + branches: [ master, master-py2 ] pull_request: - branches: [ master ] + branches: [ master, master-py2 ] jobs: code_style: From 54f8f6d1626140b1c8c06364dd7b7af24c0e110f Mon Sep 17 00:00:00 2001 From: Ana Maria Martinez Gomez Date: Tue, 13 Apr 2021 12:16:19 +0200 Subject: [PATCH 3/4] version: bump to v1.6.2 --- capa/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/version.py b/capa/version.py index f49459c74..51bbb3f21 100644 --- a/capa/version.py +++ b/capa/version.py @@ -1 +1 @@ -__version__ = "1.6.1" +__version__ = "1.6.2" From 60834e3ecd4893dc3047f406ead4a7b8ddcd826b Mon Sep 17 00:00:00 2001 From: Ana Maria Martinez Gomez Date: Tue, 13 Apr 2021 12:17:55 +0200 Subject: [PATCH 4/4] changelog: v1.6.2 This release backports a fix to capa 1.6: The Windows binary was built with Python 3.9 which doesn't support Windows 7. --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f6c083bb..0374c8ae3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,25 @@ ### Development ### Raw diffs + - [capa v1.6.1...master](https://github.com/fireeye/capa/compare/v1.6.1...master) - [capa-rules v1.6.1...master](https://github.com/fireeye/capa-rules/compare/v1.6.1...master) +## v1.6.2 (2021-04-13) + +This release backports a fix to capa 1.6: The Windows binary was built with Python 3.9 which doesn't support Windows 7. + +### Bug Fixes + +- build: use Python 3.8 for PyInstaller to support consistently running across multiple operating systems including Windows 7 @mr-tz @Ana06 + +### Raw diffs + + - [capa v1.6.1...v1.6.2](https://github.com/fireeye/capa/compare/v1.6.1...v1.6.2) + - [capa-rules v1.6.1...v1.6.2](https://github.com/fireeye/capa-rules/compare/v1.6.1...v1.6.2) + + ## v1.6.1 (2021-04-07) This release includes several bug fixes, such as a vivisect issue that prevented capa from working on Windows with Python 3. It also adds 17 new rules and a bunch of improvements in the rules and IDA rule generator. We appreciate everyone who opened issues, provided feedback, and contributed code and rules.