From da6c6cfb4894ee40da8f53d89bbc95df6e20bb78 Mon Sep 17 00:00:00 2001 From: xusheng Date: Fri, 19 Jul 2024 08:28:10 +0800 Subject: [PATCH 1/5] Update Binary Ninja version to 4.1 and use Python 3.9 to test it (#2212) --- .github/workflows/tests.yml | 2 +- CHANGELOG.md | 1 + tests/test_binja_features.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 84c4f2fe..5002ae9d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -119,7 +119,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.11"] + python-version: ["3.9", "3.11"] steps: - name: Checkout capa with submodules # do only run if BN_SERIAL is available, have to do this in every step, see https://github.com/orgs/community/discussions/26726#discussioncomment-3253118 diff --git a/CHANGELOG.md b/CHANGELOG.md index 531aaa75..6e2a1e3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ ### Development - CI: use macos-12 since macos-11 is deprecated and will be removed on June 28th, 2024 #2173 @mr-tz +- CI: update Binary Ninja version to 4.1 and use Python 3.9 to test it #2211 @xusheng6 ### Raw diffs - [capa v7.1.0...master](https://github.com/mandiant/capa/compare/v7.1.0...master) diff --git a/tests/test_binja_features.py b/tests/test_binja_features.py index c226d2ee..09a9a0a1 100644 --- a/tests/test_binja_features.py +++ b/tests/test_binja_features.py @@ -63,4 +63,4 @@ def test_standalone_binja_backend(): @pytest.mark.skipif(binja_present is False, reason="Skip binja tests if the binaryninja Python API is not installed") def test_binja_version(): version = binaryninja.core_version_info() - assert version.major == 4 and version.minor == 0 + assert version.major == 4 and version.minor == 1 From d68e057439021202a1d79470949b5f8d35c7017f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:16:05 +0200 Subject: [PATCH 2/5] build(deps): bump pyinstaller from 6.8.0 to 6.9.0 (#2220) Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller) from 6.8.0 to 6.9.0. - [Release notes](https://github.com/pyinstaller/pyinstaller/releases) - [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst) - [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.8.0...v6.9.0) --- updated-dependencies: - dependency-name: pyinstaller dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index da45289a..14fc2539 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -156,7 +156,7 @@ build = [ # we want all developer environments to be consistent. # These dependencies are not used in production environments # and should not conflict with other libraries/tooling. - "pyinstaller==6.8.0", + "pyinstaller==6.9.0", "setuptools==70.0.0", "build==1.2.1" ] From 216ac8dd9605f0bae419c0d65ade58308d5fa904 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:16:22 +0200 Subject: [PATCH 3/5] build(deps): bump deptry from 0.16.1 to 0.17.0 (#2222) Bumps [deptry](https://github.com/fpgmaas/deptry) from 0.16.1 to 0.17.0. - [Release notes](https://github.com/fpgmaas/deptry/releases) - [Changelog](https://github.com/fpgmaas/deptry/blob/main/CHANGELOG.md) - [Commits](https://github.com/fpgmaas/deptry/compare/0.16.1...0.17.0) --- updated-dependencies: - dependency-name: deptry dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 14fc2539..defe297a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -149,7 +149,7 @@ dev = [ "types-psutil==5.8.23", "types_requests==2.32.0.20240602", "types-protobuf==5.26.0.20240422", - "deptry==0.16.1" + "deptry==0.17.0" ] build = [ # Dev and build dependencies are not relaxed because From 17aab2c4fcc50e5abc52fc498935d447379f4555 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:16:40 +0200 Subject: [PATCH 4/5] build(deps): bump pip from 24.0 to 24.1.2 (#2199) Bumps [pip](https://github.com/pypa/pip) from 24.0 to 24.1.2. - [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/pip/commits) --- updated-dependencies: - dependency-name: pip dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b667e63a..46fe81b7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,7 +21,7 @@ mdurl==0.1.2 msgpack==1.0.8 networkx==3.1 pefile==2023.2.7 -pip==24.0 +pip==24.1.2 protobuf==5.27.1 pyasn1==0.4.8 pyasn1-modules==0.2.8 From fd686ac5910c4e18c3676454cd4f9284f96f7290 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:17:45 +0200 Subject: [PATCH 5/5] build(deps): bump types-protobuf from 5.26.0.20240422 to 5.27.0.20240626 (#2185) Bumps [types-protobuf](https://github.com/python/typeshed) from 5.26.0.20240422 to 5.27.0.20240626. - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-protobuf dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index defe297a..5d699360 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -148,7 +148,7 @@ dev = [ "types-termcolor==1.1.4", "types-psutil==5.8.23", "types_requests==2.32.0.20240602", - "types-protobuf==5.26.0.20240422", + "types-protobuf==5.27.0.20240626", "deptry==0.17.0" ] build = [