Skip to content

Commit 4886a34

Browse files
committed
Merge remote-tracking branch 'origin/main' into lelia/ruff-ci-precommit-mccabe
# Conflicts: # CHANGELOG.md # socketsecurity/__init__.py
2 parents 3742c39 + 86e3c1d commit 4886a34

7 files changed

Lines changed: 82 additions & 74 deletions

File tree

.github/actions/setup-docker/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runs:
2121
steps:
2222
- uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
2323
if: inputs.enable-qemu == 'true'
24-
- uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
24+
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
2525
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
2626
with:
2727
username: ${{ inputs.dockerhub-username }}

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 2.7.2
3+
## 2.7.3
44

55
### Fixed: package timestamps were truncated
66

@@ -35,6 +35,14 @@
3535
the configured log level and format. They now use the `socketcli` logger like
3636
the rest of the CLI.
3737

38+
## 2.7.2
39+
40+
### Changed: bump pinned @coana-tech/cli to 15.10.39
41+
42+
- Bumped the pinned reachability engine (`@coana-tech/cli`) from `15.10.36` to
43+
`15.10.39`. See the [Coana changelogs](https://docs.coana.tech/changelogs) for
44+
engine changes.
45+
3846
## 2.7.1
3947

4048
### Changed: bump pinned @coana-tech/cli to 15.10.36

docs/cli-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ If you don't want to provide the Socket API Token every time then you can use th
275275
| Parameter | Required | Default | Description |
276276
|:---------------------------------|:---------|:--------|:---------------------------------------------------------------------------------------------------------------------------|
277277
| `--reach` | False | False | Enable reachability analysis to identify which vulnerable functions are actually called by your code. Creates a full application reachability scan (`scan_type=socket_tier1`). |
278-
| `--reach-version` | False | 15.10.36 | Version of @coana-tech/cli to use. Defaults to the pinned version that ships with this CLI release, so the engine only changes when you upgrade the Socket CLI. Pass `latest` to always use the newest published version (opt-in auto-update), or an explicit version (e.g. `1.2.3`) to pin it. |
278+
| `--reach-version` | False | 15.10.39 | Version of @coana-tech/cli to use. Defaults to the pinned version that ships with this CLI release, so the engine only changes when you upgrade the Socket CLI. Pass `latest` to always use the newest published version (opt-in auto-update), or an explicit version (e.g. `1.2.3`) to pin it. |
279279
| `--reach-analysis-timeout` | False | 10m | Timeout for each reachability analysis run, e.g. `90s`, `10m` or `1h`. Omitted by default, so coana applies its own default (`10m`). Alias: `--reach-timeout` |
280280
| `--reach-analysis-memory-limit` | False | 8GB | Memory limit for each reachability analysis run, e.g. `512MB` or `8GB`. Omitted by default, so coana applies its own default (`8GB`). Alias: `--reach-memory-limit` |
281281
| `--reach-concurrency` | False | 1 | Control parallel analysis execution (must be >= 1). Omitted by default, so coana applies its own default. |

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.7.2"
9+
version = "2.7.3"
1010
requires-python = ">= 3.11"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [
@@ -20,7 +20,7 @@ dependencies = [
2020
"beautifulsoup4==4.15.0",
2121
"markdown==3.10.3",
2222
"brotli==1.2.0; platform_python_implementation == 'CPython'",
23-
"brotlicffi==1.2.0.1; platform_python_implementation != 'CPython'",
23+
"brotlicffi==1.2.0.2; platform_python_implementation != 'CPython'",
2424
]
2525
readme = "README.md"
2626
description = "Socket Security CLI for CI/CD"
@@ -47,9 +47,9 @@ test = [
4747
"pytest-watch==4.2.0"
4848
]
4949
dev = [
50-
"ruff==0.16.4",
50+
"ruff==0.16.5",
5151
"twine==7.0.0", # for building
52-
"uv==0.12.5", # for dependency management
52+
"uv==0.12.8", # for dependency management
5353
"pre-commit==4.6.2",
5454
"hatch==1.18.0"
5555
]

socketsecurity/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__author__ = "socket.dev"
2-
__version__ = "2.7.2"
2+
__version__ = "2.7.3"
33
USER_AGENT = f"SocketPythonCLI/{__version__}"

socketsecurity/core/tools/reachability.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Pinned @coana-tech/cli version. Bumped deliberately per Python CLI release so the
2020
# reachability engine version only changes through a standard pip upgrade (advance notice).
2121
# Pass --reach-version latest to opt into the newest published version instead.
22-
DEFAULT_COANA_CLI_VERSION: Final = "15.10.36"
22+
DEFAULT_COANA_CLI_VERSION: Final = "15.10.39"
2323

2424
# Resolved @coana-tech/cli script paths from the npm-install fallback, keyed by version.
2525
# Lives for the process lifetime so repeated fallback invocations install only once
@@ -56,7 +56,7 @@ def __init__(self, sdk: socketdev, api_token: str):
5656

5757
def _resolve_coana_package_spec(self, version: str | None = None) -> str:
5858
"""
59-
Resolve the @coana-tech/cli package spec to run (e.g. '@coana-tech/cli@15.10.36').
59+
Resolve the @coana-tech/cli package spec to run (e.g. '@coana-tech/cli@15.10.39').
6060
6161
Args:
6262
version: Coana CLI version to use.
@@ -65,7 +65,7 @@ def _resolve_coana_package_spec(self, version: str | None = None) -> str:
6565
- '<semver>': that exact version.
6666
6767
Returns:
68-
str: The package specifier to use with npx (e.g. '@coana-tech/cli@15.10.36').
68+
str: The package specifier to use with npx (e.g. '@coana-tech/cli@15.10.39').
6969
"""
7070
return f"@coana-tech/cli@{self._resolve_coana_version(version)}"
7171

0 commit comments

Comments
 (0)