chore: add community files, CI workflows, and host test tooling
Add the repository-facing scaffolding: - Community/legal: README.md, LICENSE (GPL-3.0-or-later), NOTICE, CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md, .gitleaks.toml - CI: .github/ workflows (ci.yml aggregate gate, nightly.yml, codeql.yml), issue/PR templates, dependabot config (pinned Actions per README) - Host tooling: tools/frame_tools (ruff/pyright/pytest gates, partition, evidence-schema, doc-links, SBOM checks), tests/, pyproject.toml, uv.lock - poc/ host side: poc/host contract-test suite (ASan/TSan-capable), poc/README.md, poc/poc-a.code-workspace Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <[email protected]>
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
name: Bug report
|
||||
description: Report a reproducible defect. Do not report security vulnerabilities here.
|
||||
title: "fix: "
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for taking the time to report a problem. For vulnerabilities, follow SECURITY.md.
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Description
|
||||
description: What happened, and what did you expect instead?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: reproduction
|
||||
attributes:
|
||||
label: Reproduction
|
||||
description: Provide the smallest reliable sequence of steps.
|
||||
placeholder: |
|
||||
1. Build revision ...
|
||||
2. Run ...
|
||||
3. Observe ...
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: revision
|
||||
attributes:
|
||||
label: Repository revision
|
||||
description: Commit SHA or branch and whether the tree was dirty.
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: hardware
|
||||
attributes:
|
||||
label: Hardware
|
||||
description: Board, revision, attached peripherals, or "host only".
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: environment
|
||||
attributes:
|
||||
label: Toolchain and environment
|
||||
description: ESP-IDF tag and compiler, or host OS and compiler.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Relevant output
|
||||
description: Remove credentials, device secrets, private keys, and unrelated personal data.
|
||||
render: text
|
||||
- type: checkboxes
|
||||
id: checks
|
||||
attributes:
|
||||
label: Checks
|
||||
options:
|
||||
- label: I searched existing issues and pull requests.
|
||||
required: true
|
||||
- label: This report does not contain a security vulnerability or secret.
|
||||
required: true
|
||||
@@ -0,0 +1 @@
|
||||
blank_issues_enabled: false
|
||||
@@ -0,0 +1,41 @@
|
||||
name: Feature request
|
||||
description: Propose a focused capability or improvement.
|
||||
title: "feat: "
|
||||
body:
|
||||
- type: textarea
|
||||
id: problem
|
||||
attributes:
|
||||
label: Problem
|
||||
description: What concrete problem should be solved?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: proposal
|
||||
attributes:
|
||||
label: Proposed change
|
||||
description: Describe observable behavior, not only an implementation.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: Alternatives considered
|
||||
description: What existing behavior or smaller approaches did you consider?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: validation
|
||||
attributes:
|
||||
label: Validation needs
|
||||
description: Identify host tests, hardware, evidence, compatibility, or security concerns.
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
id: checks
|
||||
attributes:
|
||||
label: Checks
|
||||
options:
|
||||
- label: I searched existing issues and pull requests.
|
||||
required: true
|
||||
- label: I can describe the expected behavior independently of a specific implementation.
|
||||
required: true
|
||||
@@ -0,0 +1,22 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: monday
|
||||
time: "06:00"
|
||||
timezone: Etc/UTC
|
||||
commit-message:
|
||||
prefix: "chore(deps)"
|
||||
open-pull-requests-limit: 5
|
||||
- package-ecosystem: uv
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: monday
|
||||
time: "06:00"
|
||||
timezone: Etc/UTC
|
||||
commit-message:
|
||||
prefix: "chore(deps)"
|
||||
open-pull-requests-limit: 5
|
||||
@@ -0,0 +1,20 @@
|
||||
## Summary
|
||||
|
||||
<!-- Explain the problem and the focused change. -->
|
||||
|
||||
## Validation
|
||||
|
||||
<!-- List exact commands, hardware runs, and evidence. Use "not run" with a reason where needed. -->
|
||||
|
||||
## Risk
|
||||
|
||||
<!-- Note compatibility, security, partition, ABI, persistence, and rollback implications. -->
|
||||
|
||||
## Checklist
|
||||
|
||||
- [ ] The title follows `<type>(optional-scope): summary`.
|
||||
- [ ] Tests and documentation cover changed behavior.
|
||||
- [ ] Local repository gates pass, or failures are explained above.
|
||||
- [ ] Firmware changes were built with ESP-IDF `v6.0.2` for the affected configuration.
|
||||
- [ ] No credentials, private keys, device secrets, or private vulnerability details are included.
|
||||
- [ ] Third-party material and generated artifacts are identified with applicable notices.
|
||||
@@ -0,0 +1,287 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
repository-gates:
|
||||
name: Repository gates
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d
|
||||
with:
|
||||
version: "0.12.5"
|
||||
python-version: "3.11"
|
||||
enable-cache: true
|
||||
cache-dependency-glob: uv.lock
|
||||
- name: Install locked Python environment
|
||||
run: |
|
||||
set -euo pipefail
|
||||
uv sync --frozen
|
||||
- name: Validate pull request title
|
||||
if: github.event_name == 'pull_request'
|
||||
env:
|
||||
PR_TITLE: ${{ github.event.pull_request.title }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
uv run frame-pr-title
|
||||
- name: Lint and test repository tools
|
||||
run: |
|
||||
set -euo pipefail
|
||||
uv run ruff format --check tools tests
|
||||
uv run ruff check tools tests
|
||||
uv run pyright
|
||||
uv run pytest
|
||||
- name: Check C and C++ formatting
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mapfile -t sources < <(git ls-files 'poc/common/**' 'poc/host/**' \
|
||||
'poc/apps/m1_hardware/main/**' | grep -E '\.(c|cc|h|hh)$' | sort)
|
||||
clang-format-18 --dry-run --Werror "${sources[@]}"
|
||||
- name: Validate repository data and documentation
|
||||
run: |
|
||||
set -euo pipefail
|
||||
uv run frame-partitions
|
||||
uv run frame-evidence
|
||||
uv run frame-doc-links
|
||||
uv run frame-sbom --output .build/reports/sbom.cdx.json
|
||||
- name: Upload repository reports
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
|
||||
with:
|
||||
name: repository-reports
|
||||
path: .build/reports/
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
|
||||
host-clang-sanitizers:
|
||||
name: Host Clang ASan and UBSan
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Configure, build, and test
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake -S poc/host -B .build/host-clang -DENABLE_SANITIZERS=ON
|
||||
cmake --build .build/host-clang --parallel 2
|
||||
ctest --test-dir .build/host-clang --output-on-failure
|
||||
|
||||
host-gcc:
|
||||
name: Host GCC compatibility
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Configure, build, and test
|
||||
env:
|
||||
CC: gcc
|
||||
CXX: g++
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake -S poc/host -B .build/host-gcc
|
||||
cmake --build .build/host-gcc --parallel 2
|
||||
ctest --test-dir .build/host-gcc --output-on-failure
|
||||
|
||||
host-clang-tidy:
|
||||
name: Host clang-tidy
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Configure and run clang-tidy
|
||||
env:
|
||||
CC: clang-18
|
||||
CXX: clang++-18
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake -S poc/host -B .build/host-tidy -DENABLE_CLANG_TIDY=ON
|
||||
cmake --build .build/host-tidy --parallel 2
|
||||
|
||||
host-coverage:
|
||||
name: Host branch coverage
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d
|
||||
with:
|
||||
version: "0.12.5"
|
||||
python-version: "3.11"
|
||||
enable-cache: true
|
||||
cache-dependency-glob: uv.lock
|
||||
- name: Install locked Python environment
|
||||
run: |
|
||||
set -euo pipefail
|
||||
uv sync --frozen
|
||||
- name: Build and collect LLVM coverage
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
LLVM_PROFILE_FILE: ${{ github.workspace }}/.build/coverage/profile-%p.profraw
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake -S poc/host -B .build/coverage -DENABLE_COVERAGE=ON
|
||||
cmake --build .build/coverage --parallel 2
|
||||
ctest --test-dir .build/coverage --output-on-failure
|
||||
llvm-profdata merge -sparse .build/coverage/*.profraw -o .build/coverage/coverage.profdata
|
||||
llvm-cov export .build/coverage/frame_abi_test \
|
||||
-object=.build/coverage/frame_handle_test \
|
||||
-object=.build/coverage/lifecycle_state_test \
|
||||
-object=.build/coverage/frame_abi_c_test \
|
||||
-instr-profile=.build/coverage/coverage.profdata \
|
||||
-sources poc/common/components/frame_poc_runtime/include/frame_poc/frame_abi.h \
|
||||
poc/common/components/frame_poc_runtime/include/frame_poc/frame_handle.hh \
|
||||
poc/common/components/frame_poc_runtime/include/frame_poc/lifecycle_state.hh \
|
||||
> .build/coverage/coverage.json
|
||||
uv run frame-coverage .build/coverage/coverage.json --minimum 90
|
||||
|
||||
secrets:
|
||||
name: Gitleaks
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: Check out full history
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
- name: Scan repository history
|
||||
uses: gitleaks/gitleaks-action@e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
GITLEAKS_CONFIG: .gitleaks.toml
|
||||
GITLEAKS_ENABLE_COMMENTS: "false"
|
||||
GITLEAKS_ENABLE_UPLOAD_ARTIFACT: "false"
|
||||
|
||||
firmware-dev:
|
||||
name: ESP-IDF dev firmware
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
container:
|
||||
image: docker.io/espressif/idf@sha256:0d8c9773d48a327233f9c1d7c654ff0bcf133ae24503ea2e97a57cfe02b8cb67
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Configure and build dev firmware
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake --preset dev
|
||||
cmake --build --preset dev --parallel 2
|
||||
- name: Upload dev firmware
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
|
||||
with:
|
||||
name: firmware-dev
|
||||
path: |
|
||||
.build/dev/*.bin
|
||||
.build/dev/*.elf
|
||||
.build/dev/*.map
|
||||
.build/dev/bootloader/*.bin
|
||||
.build/dev/partition_table/*.bin
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
include-hidden-files: true
|
||||
|
||||
firmware-m1:
|
||||
name: ESP-IDF M1 hardware firmware
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
container:
|
||||
image: docker.io/espressif/idf@sha256:0d8c9773d48a327233f9c1d7c654ff0bcf133ae24503ea2e97a57cfe02b8cb67
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Configure and build M1 firmware
|
||||
working-directory: poc/apps/m1_hardware
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake --preset default
|
||||
cmake --build --preset default --parallel 2
|
||||
- name: Upload M1 firmware
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
|
||||
with:
|
||||
name: firmware-m1
|
||||
path: |
|
||||
poc/apps/m1_hardware/build/default/*.bin
|
||||
poc/apps/m1_hardware/build/default/*.elf
|
||||
poc/apps/m1_hardware/build/default/*.map
|
||||
poc/apps/m1_hardware/build/default/bootloader/*.bin
|
||||
poc/apps/m1_hardware/build/default/partition_table/*.bin
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
include-hidden-files: true
|
||||
|
||||
required:
|
||||
name: required
|
||||
runs-on: ubuntu-24.04
|
||||
if: always()
|
||||
needs:
|
||||
- repository-gates
|
||||
- host-clang-sanitizers
|
||||
- host-gcc
|
||||
- host-clang-tidy
|
||||
- host-coverage
|
||||
- secrets
|
||||
- firmware-dev
|
||||
- firmware-m1
|
||||
steps:
|
||||
- name: Confirm required jobs passed
|
||||
env:
|
||||
FIRMWARE_DEV_RESULT: ${{ needs.firmware-dev.result }}
|
||||
HOST_CLANG_RESULT: ${{ needs.host-clang-sanitizers.result }}
|
||||
HOST_GCC_RESULT: ${{ needs.host-gcc.result }}
|
||||
HOST_TIDY_RESULT: ${{ needs.host-clang-tidy.result }}
|
||||
HOST_COVERAGE_RESULT: ${{ needs.host-coverage.result }}
|
||||
SECRETS_RESULT: ${{ needs.secrets.result }}
|
||||
REPOSITORY_GATES_RESULT: ${{ needs.repository-gates.result }}
|
||||
FIRMWARE_M1_RESULT: ${{ needs.firmware-m1.result }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
test "${REPOSITORY_GATES_RESULT}" = success
|
||||
test "${HOST_CLANG_RESULT}" = success
|
||||
test "${HOST_GCC_RESULT}" = success
|
||||
test "${HOST_TIDY_RESULT}" = success
|
||||
test "${HOST_COVERAGE_RESULT}" = success
|
||||
test "${SECRETS_RESULT}" = success
|
||||
test "${FIRMWARE_DEV_RESULT}" = success
|
||||
test "${FIRMWARE_M1_RESULT}" = success
|
||||
printf '%s\n' 'All required CI jobs passed.'
|
||||
@@ -0,0 +1,58 @@
|
||||
name: CodeQL
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: "41 3 * * 3"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
concurrency:
|
||||
group: codeql-${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: CodeQL ${{ matrix.language }}
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- language: c-cpp
|
||||
build_mode: manual
|
||||
- language: python
|
||||
build_mode: none
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
build-mode: ${{ matrix.build_mode }}
|
||||
- name: Build host C and C++ targets
|
||||
if: matrix.language == 'c-cpp'
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake -S poc/host -B .build/codeql-host
|
||||
cmake --build .build/codeql-host --parallel 2
|
||||
- name: Analyze
|
||||
uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938
|
||||
@@ -0,0 +1,196 @@
|
||||
name: Nightly
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "17 2 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
concurrency:
|
||||
group: nightly-${{ github.ref }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
host-smoke:
|
||||
name: Host smoke test
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d
|
||||
with:
|
||||
version: "0.12.5"
|
||||
python-version: "3.11"
|
||||
enable-cache: true
|
||||
cache-dependency-glob: uv.lock
|
||||
- name: Install locked Python environment
|
||||
run: |
|
||||
set -euo pipefail
|
||||
uv sync --frozen
|
||||
- name: Configure, build, and run smoke tests
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake -S poc/host -B .build/nightly-host -DENABLE_SANITIZERS=ON
|
||||
cmake --build .build/nightly-host --parallel 2
|
||||
ctest --test-dir .build/nightly-host --output-on-failure
|
||||
- name: Run ThreadSanitizer build
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake -S poc/host -B .build/nightly-tsan -DENABLE_TSAN=ON
|
||||
cmake --build .build/nightly-tsan --parallel 2
|
||||
ctest --test-dir .build/nightly-tsan --output-on-failure
|
||||
- name: Run libFuzzer contract smoke test
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake -S poc/host -B .build/nightly-fuzz -DENABLE_FUZZER=ON
|
||||
cmake --build .build/nightly-fuzz --target frame_contract_fuzz --parallel 2
|
||||
.build/nightly-fuzz/frame_contract_fuzz -max_total_time=60 -max_len=64
|
||||
- name: Generate dependency SBOM
|
||||
run: |
|
||||
set -euo pipefail
|
||||
uv run frame-sbom --output .build/nightly-reports/sbom.cdx.json
|
||||
- name: Upload nightly reports
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
|
||||
with:
|
||||
name: nightly-reports
|
||||
path: .build/nightly-reports/
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
- name: Report deferred nightly checks
|
||||
run: |
|
||||
set -euo pipefail
|
||||
printf '%s\n' 'External link checking is deferred until a repository checker exists.'
|
||||
|
||||
firmware:
|
||||
name: ESP-IDF ${{ matrix.profile }} firmware
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: docker.io/espressif/idf@sha256:0d8c9773d48a327233f9c1d7c654ff0bcf133ae24503ea2e97a57cfe02b8cb67
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
profile:
|
||||
- dev
|
||||
- prod
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Configure and build firmware
|
||||
env:
|
||||
BUILD_PROFILE: ${{ matrix.profile }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake --preset "${BUILD_PROFILE}"
|
||||
cmake --build --preset "${BUILD_PROFILE}" --parallel 2
|
||||
- name: Upload firmware
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
|
||||
with:
|
||||
name: firmware-${{ matrix.profile }}
|
||||
path: |
|
||||
.build/${{ matrix.profile }}/*.bin
|
||||
.build/${{ matrix.profile }}/*.elf
|
||||
.build/${{ matrix.profile }}/*.map
|
||||
.build/${{ matrix.profile }}/bootloader/*.bin
|
||||
.build/${{ matrix.profile }}/partition_table/*.bin
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
include-hidden-files: true
|
||||
|
||||
m1-firmware:
|
||||
name: ESP-IDF M1 hardware firmware
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: docker.io/espressif/idf@sha256:0d8c9773d48a327233f9c1d7c654ff0bcf133ae24503ea2e97a57cfe02b8cb67
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Configure and build M1 firmware
|
||||
working-directory: poc/apps/m1_hardware
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cmake --preset default
|
||||
cmake --build --preset default --parallel 2
|
||||
- name: Upload M1 firmware
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
|
||||
with:
|
||||
name: firmware-m1-nightly
|
||||
path: |
|
||||
poc/apps/m1_hardware/build/default/*.bin
|
||||
poc/apps/m1_hardware/build/default/*.elf
|
||||
poc/apps/m1_hardware/build/default/*.map
|
||||
poc/apps/m1_hardware/build/default/bootloader/*.bin
|
||||
poc/apps/m1_hardware/build/default/partition_table/*.bin
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
include-hidden-files: true
|
||||
|
||||
result:
|
||||
name: Track nightly result
|
||||
if: always()
|
||||
needs:
|
||||
- host-smoke
|
||||
- firmware
|
||||
- m1-firmware
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 20
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
steps:
|
||||
- name: Create, update, or close the nightly issue
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
HOST_RESULT: ${{ needs.host-smoke.result }}
|
||||
FIRMWARE_RESULT: ${{ needs.firmware.result }}
|
||||
M1_RESULT: ${{ needs.m1-firmware.result }}
|
||||
REPOSITORY: ${{ github.repository }}
|
||||
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
title='ci: nightly checks are failing'
|
||||
issue_number="$(gh issue list --repo "${REPOSITORY}" --state open \
|
||||
--search "${title} in:title" --json number,title \
|
||||
--jq 'map(select(.title == "ci: nightly checks are failing"))[0].number // empty')"
|
||||
|
||||
if [[ "${HOST_RESULT}" == success && "${FIRMWARE_RESULT}" == success && "${M1_RESULT}" == success ]]; then
|
||||
if [[ -n "${issue_number}" ]]; then
|
||||
gh issue comment "${issue_number}" --repo "${REPOSITORY}" \
|
||||
--body "Nightly recovered: ${RUN_URL}"
|
||||
gh issue close "${issue_number}" --repo "${REPOSITORY}" \
|
||||
--reason completed
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
body="Nightly failed. Host=${HOST_RESULT}, firmware=${FIRMWARE_RESULT}, M1=${M1_RESULT}. ${RUN_URL}"
|
||||
if [[ -n "${issue_number}" ]]; then
|
||||
gh issue comment "${issue_number}" --repo "${REPOSITORY}" --body "${body}"
|
||||
else
|
||||
gh issue create --repo "${REPOSITORY}" --title "${title}" --body "${body}"
|
||||
fi
|
||||
exit 1
|
||||
@@ -0,0 +1,25 @@
|
||||
title = "Frame secret scanning"
|
||||
|
||||
[extend]
|
||||
useDefault = true
|
||||
|
||||
[[rules]]
|
||||
id = "frame-configured-credential"
|
||||
description = "Frame credential assigned in source or configuration"
|
||||
regex = '''(?i)\b(?:frame_(?:api_token|ota_signing_key|plugin_signing_key|private_key|secret)|wifi_(?:passphrase|password))\b\s*(?::|=)\s*["']?([^"'\s]{8,})'''
|
||||
secretGroup = 1
|
||||
entropy = 3.0
|
||||
keywords = ["frame_", "wifi_"]
|
||||
|
||||
[allowlist]
|
||||
description = "Published immutable dependency and CI identities"
|
||||
regexTarget = "match"
|
||||
regexes = [
|
||||
'''3d3c42e5aac5ba805825da76410c181273ba90b1''',
|
||||
'''043fb46d1a93c77aae656e7c1c64a875d1fc6a0a''',
|
||||
'''20cfd1bf945f4377ade1205e4dbc17946fc9a30d''',
|
||||
'''cdf488f595d80d6e07e03d4674febd5ab45fa938''',
|
||||
'''0d8c9773d48a327233f9c1d7c654ff0bcf133ae24503ea2e97a57cfe02b8cb67''',
|
||||
'''3af20a3d75c49db9dc2286fd50862c34055c9f578419ad1f2bf7ed3ed01391fe''',
|
||||
'''25f711fa39d438b5d864dd7aeb4896a3f989485a893f69e56fc846156a31272a''',
|
||||
]
|
||||
@@ -0,0 +1,158 @@
|
||||
# Contributor Covenant 3.0 Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
We pledge to make our community welcoming, safe, and equitable for all.
|
||||
|
||||
We are committed to fostering an environment that respects and promotes the dignity, rights, and
|
||||
contributions of all individuals, regardless of characteristics including race, ethnicity, caste,
|
||||
color, age, physical characteristics, neurodiversity, disability, sex or gender, gender identity
|
||||
or expression, sexual orientation, language, philosophy or religion, national or social origin,
|
||||
socio-economic position, level of education, or other status. The same privileges of participation
|
||||
are extended to everyone who participates in good faith and in accordance with this Covenant.
|
||||
|
||||
## Encouraged Behaviors
|
||||
|
||||
While acknowledging differences in social norms, we all strive to meet our community's
|
||||
expectations for positive behavior. We also understand that our words and actions may be
|
||||
interpreted differently than we intend based on culture, background, or native language.
|
||||
|
||||
With these considerations in mind, we agree to behave mindfully toward each other and act in ways
|
||||
that center our shared values, including:
|
||||
|
||||
1. Respecting the **purpose of our community**, our activities, and our ways of gathering.
|
||||
2. Engaging **kindly and honestly** with others.
|
||||
3. Respecting **different viewpoints** and experiences.
|
||||
4. **Taking responsibility** for our actions and contributions.
|
||||
5. Gracefully giving and accepting **constructive feedback**.
|
||||
6. Committing to **repairing harm** when it occurs.
|
||||
7. Behaving in other ways that promote and sustain the **well-being of our community**.
|
||||
|
||||
## Restricted Behaviors
|
||||
|
||||
We agree to restrict the following behaviors in our community. Instances, threats, and promotion
|
||||
of these behaviors are violations of this Code of Conduct.
|
||||
|
||||
1. **Harassment.** Violating explicitly expressed boundaries or engaging in unnecessary personal
|
||||
attention after any clear request to stop.
|
||||
2. **Character attacks.** Making insulting, demeaning, or pejorative comments directed at a
|
||||
community member or group of people.
|
||||
3. **Stereotyping or discrimination.** Characterizing anyone's personality or behavior on the
|
||||
basis of immutable identities or traits.
|
||||
4. **Sexualization.** Behaving in a way that would generally be considered inappropriately intimate
|
||||
in the context or purpose of the community.
|
||||
5. **Violating confidentiality.** Sharing or acting on someone's personal or private information
|
||||
without their permission.
|
||||
6. **Endangerment.** Causing, encouraging, or threatening violence or other harm toward any person
|
||||
or group.
|
||||
7. Behaving in other ways that **threaten the well-being** of our community.
|
||||
|
||||
### Other Restrictions
|
||||
|
||||
1. **Misleading identity.** Impersonating someone else for any reason, or pretending to be someone
|
||||
else to evade enforcement actions.
|
||||
2. **Failing to credit sources.** Not properly crediting the sources of content you contribute.
|
||||
3. **Promotional materials.** Sharing marketing or other commercial content in a way that is
|
||||
outside the norms of the community.
|
||||
4. **Irresponsible communication.** Failing to responsibly present content which includes, links,
|
||||
or describes any other restricted behaviors.
|
||||
|
||||
## Reporting an Issue
|
||||
|
||||
Tensions can occur between community members even when they are trying their best to collaborate.
|
||||
Not every conflict represents a code of conduct violation, and this Code of Conduct reinforces
|
||||
encouraged behaviors and norms that can help avoid conflicts and minimize harm.
|
||||
|
||||
When an incident does occur, it is important to report it promptly. For conduct on GitHub, use
|
||||
GitHub's private reporting, blocking, or abuse-reporting features as appropriate. You may also
|
||||
contact the repository maintainers through their GitHub profiles and request a private channel.
|
||||
Do not post sensitive incident details in a public issue.
|
||||
|
||||
Community Moderators take reports of violations seriously and will make every effort to respond in
|
||||
a timely manner. They will investigate all reports of code of conduct violations, reviewing
|
||||
messages, logs, and recordings, or interviewing witnesses and other participants. Community
|
||||
Moderators will keep investigation and enforcement actions as transparent as possible while
|
||||
prioritizing safety and confidentiality. In order to honor these values, enforcement actions are
|
||||
carried out in private with the involved parties, but communicating to the whole community may be
|
||||
part of a mutually agreed upon resolution.
|
||||
|
||||
## Addressing and Repairing Harm
|
||||
|
||||
If an investigation by the Community Moderators finds that this Code of Conduct has been violated,
|
||||
the following enforcement ladder may be used to determine how best to repair harm, based on the
|
||||
incident's impact on the individuals involved and the community as a whole. Depending on the
|
||||
severity of a violation, lower rungs on the ladder may be skipped.
|
||||
|
||||
### 1. Warning
|
||||
|
||||
**Event:** A violation involving a single incident or series of incidents.
|
||||
|
||||
**Consequence:** A private, written warning from the Community Moderators.
|
||||
|
||||
**Repair:** Examples of repair include a private written apology, acknowledgement of
|
||||
responsibility, and seeking clarification on expectations.
|
||||
|
||||
### 2. Temporarily Limited Activities
|
||||
|
||||
**Event:** A repeated incidence of a violation that previously resulted in a warning, or the first
|
||||
incidence of a more serious violation.
|
||||
|
||||
**Consequence:** A private, written warning with a time-limited cooldown period designed to
|
||||
underscore the seriousness of the situation and give the community members involved time to
|
||||
process the incident. The cooldown period may be limited to particular communication channels or
|
||||
interactions with particular community members.
|
||||
|
||||
**Repair:** Examples of repair may include making an apology, using the cooldown period to reflect
|
||||
on actions and impact, and being thoughtful about re-entering community spaces after the period is
|
||||
over.
|
||||
|
||||
### 3. Temporary Suspension
|
||||
|
||||
**Event:** A pattern of repeated violation which the Community Moderators have tried to address
|
||||
with warnings, or a single serious violation.
|
||||
|
||||
**Consequence:** A private written warning with conditions for return from suspension. In general,
|
||||
temporary suspensions give the person being suspended time to reflect upon their behavior and
|
||||
possible corrective actions.
|
||||
|
||||
**Repair:** Examples of repair include respecting the spirit of the suspension, meeting the
|
||||
specified conditions for return, and being thoughtful about how to reintegrate with the community
|
||||
when the suspension is lifted.
|
||||
|
||||
### 4. Permanent Ban
|
||||
|
||||
**Event:** A pattern of repeated code of conduct violations that other steps on the ladder have
|
||||
failed to resolve, or a violation so serious that the Community Moderators determine there is no
|
||||
way to keep the community safe with this person as a member.
|
||||
|
||||
**Consequence:** Access to all community spaces, tools, and communication channels is removed. In
|
||||
general, permanent bans should be rarely used, should have strong reasoning behind them, and should
|
||||
only be resorted to if working through other remedies has failed to change the behavior.
|
||||
|
||||
**Repair:** There is no possible repair in cases of this severity.
|
||||
|
||||
This enforcement ladder is intended as a guideline. It does not limit the ability of Community
|
||||
Managers to use their discretion and judgment, in keeping with the best interests of our community.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies within all community spaces, and also applies when an individual is
|
||||
officially representing the community in public or other spaces. Examples of representing our
|
||||
community include using an official email address, posting via an official social media account,
|
||||
or acting as an appointed representative at an online or offline event.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org),
|
||||
version 3.0, permanently available at
|
||||
[https://www.contributor-covenant.org/version/3/0/](https://www.contributor-covenant.org/version/3/0/).
|
||||
|
||||
Contributor Covenant is stewarded by the Organization for Ethical Source and licensed under
|
||||
[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
|
||||
|
||||
For answers to common questions about Contributor Covenant, see the
|
||||
[FAQ](https://www.contributor-covenant.org/faq). Translations are provided at
|
||||
[Contributor Covenant translations](https://www.contributor-covenant.org/translations). Additional
|
||||
enforcement and community guideline resources are available at
|
||||
[Contributor Covenant resources](https://www.contributor-covenant.org/resources). The enforcement
|
||||
ladder was inspired by the work of [Mozilla's code of conduct team](https://github.com/mozilla/inclusion).
|
||||
@@ -0,0 +1,75 @@
|
||||
# Contributing To Frame
|
||||
|
||||
Contributions are welcome through GitHub issues and pull requests. Keep changes focused and do not
|
||||
combine unrelated refactors with behavioral changes.
|
||||
|
||||
## Before Opening A Change
|
||||
|
||||
1. Search existing issues and pull requests for related work.
|
||||
2. For architecture or hardware changes, open an issue before investing in a large implementation.
|
||||
3. Do not include credentials, signing keys, device secrets, private evidence, or proprietary
|
||||
firmware in an issue or pull request.
|
||||
4. Follow the [Code of Conduct](CODE_OF_CONDUCT.md).
|
||||
|
||||
Security vulnerabilities must not be filed as public issues. Follow [SECURITY.md](SECURITY.md).
|
||||
|
||||
## Pull Requests
|
||||
|
||||
Use a title in this form:
|
||||
|
||||
```text
|
||||
<type>(optional-scope): concise summary
|
||||
```
|
||||
|
||||
Allowed types are `build`, `chore`, `ci`, `docs`, `feat`, `fix`, `perf`, `refactor`, `revert`,
|
||||
`style`, and `test`. Breaking changes may add `!`, for example `feat(runtime)!: change plugin ABI`.
|
||||
|
||||
Describe the motivation, behavior change, validation performed, and any hardware dependencies.
|
||||
Update tests and documentation when behavior changes. A pull request should be reviewable as a
|
||||
single coherent change.
|
||||
|
||||
## Local Validation
|
||||
|
||||
Install Python 3.11 or newer and uv, then run:
|
||||
|
||||
```sh
|
||||
uv sync --frozen
|
||||
uv run ruff format --check tools tests
|
||||
uv run ruff check tools tests
|
||||
uv run pyright
|
||||
uv run pytest
|
||||
uv run frame-partitions
|
||||
uv run frame-evidence
|
||||
uv run frame-doc-links
|
||||
```
|
||||
|
||||
For host-contract changes, run both a sanitizer build and a GCC compatibility build:
|
||||
|
||||
```sh
|
||||
CC=clang CXX=clang++ cmake -S poc/host -B .build/host-clang -DENABLE_SANITIZERS=ON
|
||||
cmake --build .build/host-clang
|
||||
ctest --test-dir .build/host-clang --output-on-failure
|
||||
|
||||
CC=gcc CXX=g++ cmake -S poc/host -B .build/host-gcc
|
||||
cmake --build .build/host-gcc
|
||||
ctest --test-dir .build/host-gcc --output-on-failure
|
||||
|
||||
CC=clang CXX=clang++ cmake -S poc/host -B .build/host-tsan -DENABLE_TSAN=ON
|
||||
cmake --build .build/host-tsan
|
||||
ctest --test-dir .build/host-tsan --output-on-failure
|
||||
```
|
||||
|
||||
For product firmware changes, build the affected preset using the exact ESP-IDF `v6.0.2`
|
||||
environment. CI builds `dev`; the scheduled workflow builds both `dev` and `prod`.
|
||||
|
||||
## Evidence
|
||||
|
||||
Architecture-gate evidence must conform to `poc/evidence/schema.json`. Evidence must identify its
|
||||
source commit and platform and must carry digests for referenced artifacts. Do not mark a gate as
|
||||
passing without the required hardware run and retained artifacts.
|
||||
|
||||
## Licensing
|
||||
|
||||
By submitting a contribution, you agree that it may be distributed under this repository's
|
||||
GPL-3.0-or-later license. Identify any third-party material and preserve its applicable notices and
|
||||
license terms.
|
||||
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,11 @@
|
||||
Frame
|
||||
|
||||
Except where otherwise noted, this project is distributed under the GNU General Public License,
|
||||
version 3 or (at your option) any later version. See LICENSE.
|
||||
|
||||
This repository integrates or refers to separately licensed third-party software, including
|
||||
ESP-IDF and the joltwallet/littlefs ESP-IDF component. Those works retain their own copyright and
|
||||
license notices; review their supplied license terms when redistributing a combined work.
|
||||
|
||||
CODE_OF_CONDUCT.md is adapted from Contributor Covenant 3.0, stewarded by the Organization for
|
||||
Ethical Source and licensed under CC BY-SA 4.0.
|
||||
@@ -0,0 +1,91 @@
|
||||
# Frame
|
||||
|
||||
[](https://github.com/Aniakea/frame/actions/workflows/ci.yml)
|
||||
[](https://github.com/Aniakea/frame/actions/workflows/nightly.yml)
|
||||
[](https://github.com/Aniakea/frame/actions/workflows/codeql.yml)
|
||||
|
||||
> **Draft / PoC:** the v4.2 architecture and hardware gates are not signed off. Green cloud CI
|
||||
> does not mean M1, PoC-A through PoC-E, power-cut durability, or production security has passed.
|
||||
|
||||
Frame is an ESP32-S3 firmware project exploring an embedded plugin architecture. The repository
|
||||
contains the product firmware skeleton, isolated architecture proofs of concept, host-side contract
|
||||
tests, and repository validation tools.
|
||||
|
||||
The firmware currently targets the Waveshare ESP32-S3-RLCD-4.2 (N16R8) with ESP-IDF `v6.0.2`
|
||||
and requires a toolchain that provides C++26 mode. The custom 16 MiB flash layout contains two
|
||||
OTA slots, core-dump storage, encrypted NVS, internal plugin storage, and system storage. Signed
|
||||
plugin resources live on a dedicated FAT32 TF card; dynamic plugins do not start without it.
|
||||
|
||||
## Repository Layout
|
||||
|
||||
- `main/` contains the firmware entry point.
|
||||
- `components/` contains product firmware components.
|
||||
- `poc/` contains isolated architecture proofs of concept and host contract tests.
|
||||
- `plugins/` is reserved for plugin build inputs; installed code is content-addressed at runtime.
|
||||
- `tools/frame_tools/` contains local repository gate commands.
|
||||
|
||||
## Firmware Build
|
||||
|
||||
Install CMake 3.25 or newer and Ninja, then export an ESP-IDF checkout at the exact `v6.0.2` tag.
|
||||
The checked-in presets target `esp32s3` and keep generated configuration under `.build/`.
|
||||
|
||||
```sh
|
||||
. "$IDF_PATH/export.sh"
|
||||
cmake --preset dev
|
||||
cmake --build --preset dev
|
||||
```
|
||||
|
||||
Use the production defaults with:
|
||||
|
||||
```sh
|
||||
. "$IDF_PATH/export.sh"
|
||||
cmake --preset prod
|
||||
cmake --build --preset prod
|
||||
```
|
||||
|
||||
Production builds are build artifacts, not release attestations. Hardware validation and signing
|
||||
remain separate release concerns.
|
||||
|
||||
## Host Tests
|
||||
|
||||
The host project is a plain CMake/CTest suite. It does not build ESP32 firmware.
|
||||
|
||||
```sh
|
||||
cmake -S poc/host -B .build/poc-host -DENABLE_SANITIZERS=ON
|
||||
cmake --build .build/poc-host
|
||||
ctest --test-dir .build/poc-host --output-on-failure
|
||||
```
|
||||
|
||||
## Repository Gates
|
||||
|
||||
Python 3.11 or newer and [uv](https://docs.astral.sh/uv/) are required.
|
||||
|
||||
```sh
|
||||
uv sync --frozen
|
||||
uv run ruff format --check tools tests
|
||||
uv run ruff check tools tests
|
||||
uv run pyright
|
||||
uv run pytest
|
||||
uv run frame-partitions
|
||||
uv run frame-evidence
|
||||
uv run frame-doc-links
|
||||
uv run frame-sbom --output .build/reports/sbom.cdx.json
|
||||
```
|
||||
|
||||
CI also runs an independent ThreadSanitizer build and enforces at least 90% LLVM branch coverage
|
||||
for the shared ABI, handle, and lifecycle contract headers.
|
||||
|
||||
Evidence manifests placed in `poc/evidence/` are validated against the existing
|
||||
`poc/evidence/schema.json`. The schema itself is always checked, including when no manifests have
|
||||
been collected yet.
|
||||
|
||||
## Contributing And Security
|
||||
|
||||
Read [CONTRIBUTING.md](CONTRIBUTING.md) before submitting a change. Report security issues through
|
||||
GitHub private vulnerability reporting as described in [SECURITY.md](SECURITY.md). Community
|
||||
participation is governed by [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
|
||||
|
||||
## License
|
||||
|
||||
Except where a file or third-party component states otherwise, this project is licensed under the
|
||||
GNU General Public License, version 3 or later. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
This project is pre-release. Security fixes are made on the `main` branch; no released version line
|
||||
is currently supported.
|
||||
|
||||
## Reporting A Vulnerability
|
||||
|
||||
Do not report vulnerabilities in a public issue, discussion, pull request, evidence manifest, or
|
||||
commit.
|
||||
|
||||
Use GitHub private vulnerability reporting:
|
||||
|
||||
1. Open the repository's **Security** tab.
|
||||
2. Select **Advisories** and then **Report a vulnerability**.
|
||||
3. Include the affected revision, impact, reproduction details, and any suggested mitigation.
|
||||
|
||||
Keep exploit details and proof-of-concept material in the private advisory until maintainers agree
|
||||
that coordinated disclosure is safe. The maintainers will acknowledge the report through the
|
||||
private advisory, investigate it, and use that advisory for follow-up and disclosure coordination.
|
||||
|
||||
If GitHub does not show **Report a vulnerability**, do not disclose the issue publicly. Use
|
||||
GitHub's private contact options for the repository maintainers and ask for a private reporting
|
||||
channel without including vulnerability details in the first message.
|
||||
@@ -0,0 +1,31 @@
|
||||
# Architecture Proofs of Concept
|
||||
|
||||
This tree is isolated from the product firmware. It may implement only the minimum code needed to prove or disprove the gates in `_doc/project.md`.
|
||||
|
||||
Every board PoC under `apps/` is a standard ESP-IDF project, and every shared firmware component
|
||||
under `common/components/` uses `idf_component_register`. The checked-in CMake presets, VS Code
|
||||
ESP-IDF extension, and CI all use the same generated sdkconfig location. Board evidence may be
|
||||
collected with the extension or the documented `idf.py` commands; ordinary host CMake must not link
|
||||
ESP-IDF firmware targets.
|
||||
|
||||
## Gate Order
|
||||
|
||||
1. PoC-A: toolchain, dynamic ELF, scheduler, cancellation, and memory behavior
|
||||
2. PoC-B: display latency and SPI bandwidth
|
||||
3. PoC-C: lifecycle, update rollback, watchdog, and fault handling
|
||||
4. PoC-D: system/SD storage isolation and recovery
|
||||
5. PoC-E: power-loss durability, package fuzzing, and production security
|
||||
|
||||
A failed gate stops later gates and returns the architecture to review. PoC code must not be linked into the product components before all gates pass and the architecture is signed again.
|
||||
|
||||
## Host-Only Contract Tests
|
||||
|
||||
`host/` is the only ordinary CMake project. It produces test executables for ABI headers and pure state models; it does not produce ESP32 firmware or compile ESP-IDF components.
|
||||
|
||||
```sh
|
||||
cmake -S poc/host -B .build/poc-host -DENABLE_SANITIZERS=ON
|
||||
cmake --build .build/poc-host
|
||||
ctest --test-dir .build/poc-host --output-on-failure
|
||||
```
|
||||
|
||||
PoC-A provides the first ESP-IDF test application. Later board applications and pytest-embedded drivers are added one gate at a time after their required hardware and loader decisions are accepted.
|
||||
@@ -0,0 +1,100 @@
|
||||
cmake_minimum_required(VERSION 3.25)
|
||||
|
||||
project(frame_poc_host LANGUAGES C CXX)
|
||||
|
||||
set(CMAKE_C_STANDARD 17)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_C_EXTENSIONS OFF)
|
||||
set(CMAKE_CXX_STANDARD 26)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
option(ENABLE_SANITIZERS "Enable AddressSanitizer and UndefinedBehaviorSanitizer" OFF)
|
||||
option(ENABLE_TSAN "Enable ThreadSanitizer" OFF)
|
||||
option(ENABLE_COVERAGE "Enable LLVM source-based coverage" OFF)
|
||||
option(ENABLE_FUZZER "Build the Clang libFuzzer contract target" OFF)
|
||||
option(ENABLE_CLANG_TIDY "Run clang-tidy on Frame host targets" OFF)
|
||||
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
googletest
|
||||
GIT_REPOSITORY https://github.com/google/googletest.git
|
||||
GIT_TAG 52eb8108c5bdec04579160ae17225d66034bd723
|
||||
GIT_SHALLOW FALSE
|
||||
)
|
||||
set(INSTALL_GTEST OFF CACHE BOOL "" FORCE)
|
||||
FetchContent_MakeAvailable(googletest)
|
||||
include(GoogleTest)
|
||||
|
||||
add_library(frame_poc_contract INTERFACE)
|
||||
target_include_directories(frame_poc_contract INTERFACE
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/../common/components/frame_poc_runtime/include")
|
||||
target_compile_options(frame_poc_contract INTERFACE
|
||||
$<$<COMPILE_LANGUAGE:C>:-Wall;-Wextra;-Werror;-Wpedantic>
|
||||
$<$<COMPILE_LANGUAGE:CXX>:-Wall;-Wextra;-Werror;-Wpedantic>)
|
||||
|
||||
if((ENABLE_SANITIZERS AND ENABLE_TSAN) OR
|
||||
(ENABLE_FUZZER AND (ENABLE_SANITIZERS OR ENABLE_TSAN OR ENABLE_COVERAGE)))
|
||||
message(FATAL_ERROR "Sanitizer, TSan, coverage, and fuzz modes require separate builds")
|
||||
endif()
|
||||
|
||||
if(ENABLE_FUZZER)
|
||||
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
message(FATAL_ERROR "ENABLE_FUZZER requires Clang")
|
||||
endif()
|
||||
add_executable(frame_contract_fuzz tests/frame_contract_fuzz.cc)
|
||||
target_link_libraries(frame_contract_fuzz PRIVATE frame_poc_contract)
|
||||
target_compile_options(frame_contract_fuzz PRIVATE
|
||||
-fno-omit-frame-pointer -fsanitize=fuzzer,address,undefined)
|
||||
target_link_options(frame_contract_fuzz PRIVATE
|
||||
-fno-omit-frame-pointer -fsanitize=fuzzer,address,undefined)
|
||||
endif()
|
||||
|
||||
if(ENABLE_SANITIZERS)
|
||||
target_compile_options(frame_poc_contract INTERFACE
|
||||
-fno-omit-frame-pointer -fsanitize=address,undefined)
|
||||
target_link_options(frame_poc_contract INTERFACE
|
||||
-fno-omit-frame-pointer -fsanitize=address,undefined)
|
||||
endif()
|
||||
|
||||
if(ENABLE_TSAN)
|
||||
target_compile_options(frame_poc_contract INTERFACE
|
||||
-fno-omit-frame-pointer -fsanitize=thread)
|
||||
target_link_options(frame_poc_contract INTERFACE
|
||||
-fno-omit-frame-pointer -fsanitize=thread)
|
||||
endif()
|
||||
|
||||
if(ENABLE_COVERAGE)
|
||||
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
message(FATAL_ERROR "ENABLE_COVERAGE requires Clang")
|
||||
endif()
|
||||
target_compile_options(frame_poc_contract INTERFACE
|
||||
-fprofile-instr-generate -fcoverage-mapping)
|
||||
target_link_options(frame_poc_contract INTERFACE
|
||||
-fprofile-instr-generate -fcoverage-mapping)
|
||||
endif()
|
||||
|
||||
enable_testing()
|
||||
|
||||
add_executable(frame_abi_test tests/frame_abi_test.cc)
|
||||
target_link_libraries(frame_abi_test PRIVATE frame_poc_contract GTest::gtest_main)
|
||||
gtest_discover_tests(frame_abi_test)
|
||||
|
||||
add_executable(frame_abi_c_test tests/frame_abi_c_test.c)
|
||||
target_link_libraries(frame_abi_c_test PRIVATE frame_poc_contract)
|
||||
add_test(NAME frame_abi_c_test COMMAND frame_abi_c_test)
|
||||
|
||||
add_executable(frame_handle_test tests/frame_handle_test.cc)
|
||||
target_link_libraries(frame_handle_test PRIVATE frame_poc_contract GTest::gtest_main)
|
||||
gtest_discover_tests(frame_handle_test)
|
||||
|
||||
add_executable(lifecycle_state_test tests/lifecycle_state_test.cc)
|
||||
target_link_libraries(lifecycle_state_test PRIVATE frame_poc_contract GTest::gtest_main)
|
||||
gtest_discover_tests(lifecycle_state_test)
|
||||
|
||||
if(ENABLE_CLANG_TIDY)
|
||||
find_program(CLANG_TIDY_EXECUTABLE NAMES clang-tidy-18 clang-tidy REQUIRED)
|
||||
foreach(target frame_abi_test frame_handle_test lifecycle_state_test)
|
||||
set_property(TARGET ${target} PROPERTY CXX_CLANG_TIDY "${CLANG_TIDY_EXECUTABLE}")
|
||||
endforeach()
|
||||
endif()
|
||||
@@ -0,0 +1,21 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include "frame_poc/frame_abi.h"
|
||||
|
||||
_Static_assert(sizeof(frame_abi_header_t) == 16, "ABI header size changed");
|
||||
_Static_assert(offsetof(frame_abi_header_t, struct_size) == 0, "ABI header prefix changed");
|
||||
_Static_assert(sizeof(plugin_instance_handle_t) == sizeof(uint64_t), "handle width changed");
|
||||
_Static_assert(FRAME_ERR_RATE_LIMITED == -29, "error value changed");
|
||||
|
||||
int main(void) {
|
||||
const frame_abi_header_t abi = {
|
||||
.struct_size = sizeof(frame_abi_header_t),
|
||||
.abi_major = FRAME_ABI_MAJOR,
|
||||
.abi_minor = FRAME_ABI_MINOR,
|
||||
.feature_bits = 0,
|
||||
};
|
||||
|
||||
return frame_abi_supports(&abi, FRAME_ABI_MAJOR, FRAME_ABI_MINOR, sizeof(frame_abi_header_t), 0)
|
||||
? 0
|
||||
: 1;
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <type_traits>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frame_poc/frame_abi.h"
|
||||
|
||||
namespace {
|
||||
|
||||
constexpr uint64_t kRequiredFeature = UINT64_C(1) << 12;
|
||||
|
||||
struct extended_service {
|
||||
frame_abi_header_t abi;
|
||||
void (*operation)(void);
|
||||
};
|
||||
|
||||
static_assert(__cplusplus >= 202302L);
|
||||
static_assert(std::is_standard_layout_v<frame_abi_header_t>);
|
||||
static_assert(std::is_standard_layout_v<frame_post_operation_t>);
|
||||
static_assert(std::is_standard_layout_v<frame_completion_operation_t>);
|
||||
static_assert(offsetof(frame_abi_header_t, struct_size) == 0);
|
||||
static_assert(offsetof(extended_service, abi) == 0);
|
||||
static_assert(sizeof(plugin_instance_handle_t) == sizeof(uint64_t));
|
||||
|
||||
TEST(FrameAbi, AcceptsCompatibleExtension) {
|
||||
const extended_service service{
|
||||
.abi =
|
||||
{
|
||||
.struct_size = sizeof(extended_service),
|
||||
.abi_major = FRAME_ABI_MAJOR,
|
||||
.abi_minor = FRAME_ABI_MINOR + 1,
|
||||
.feature_bits = kRequiredFeature,
|
||||
},
|
||||
.operation = nullptr,
|
||||
};
|
||||
|
||||
EXPECT_TRUE(frame_abi_supports(&service.abi, FRAME_ABI_MAJOR, FRAME_ABI_MINOR,
|
||||
sizeof(extended_service), kRequiredFeature));
|
||||
}
|
||||
|
||||
TEST(FrameAbi, RejectsIncompatibleOffer) {
|
||||
const extended_service service{
|
||||
.abi =
|
||||
{
|
||||
.struct_size = sizeof(extended_service),
|
||||
.abi_major = FRAME_ABI_MAJOR,
|
||||
.abi_minor = FRAME_ABI_MINOR + 1,
|
||||
.feature_bits = kRequiredFeature,
|
||||
},
|
||||
.operation = nullptr,
|
||||
};
|
||||
|
||||
EXPECT_FALSE(frame_abi_supports(nullptr, FRAME_ABI_MAJOR, FRAME_ABI_MINOR,
|
||||
sizeof(frame_abi_header_t), 0));
|
||||
EXPECT_FALSE(frame_abi_supports(&service.abi, FRAME_ABI_MAJOR + 1, FRAME_ABI_MINOR,
|
||||
sizeof(frame_abi_header_t), 0));
|
||||
EXPECT_FALSE(frame_abi_supports(&service.abi, FRAME_ABI_MAJOR, FRAME_ABI_MINOR + 2,
|
||||
sizeof(frame_abi_header_t), 0));
|
||||
EXPECT_FALSE(frame_abi_supports(&service.abi, FRAME_ABI_MAJOR, FRAME_ABI_MINOR,
|
||||
sizeof(extended_service) + 1, 0));
|
||||
EXPECT_FALSE(frame_abi_supports(&service.abi, FRAME_ABI_MAJOR, FRAME_ABI_MINOR,
|
||||
sizeof(frame_abi_header_t), kRequiredFeature << 1));
|
||||
}
|
||||
|
||||
TEST(FrameAbi, PinsStableErrorValues) {
|
||||
EXPECT_EQ(FRAME_OK, 0);
|
||||
EXPECT_EQ(FRAME_ERR_INVALID_PTR, -1);
|
||||
EXPECT_EQ(FRAME_ERR_INVALID_ARGUMENT, -28);
|
||||
EXPECT_EQ(FRAME_ERR_RATE_LIMITED, -29);
|
||||
EXPECT_EQ(FRAME_ERR_TARGET_MISMATCH, -35);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
@@ -0,0 +1,41 @@
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
#include "frame_poc/frame_abi.h"
|
||||
#include "frame_poc/frame_handle.hh"
|
||||
#include "frame_poc/lifecycle_state.hh"
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, std::size_t size) {
|
||||
if (size < 4) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
const auto state = static_cast<frame::poc::plugin_state>(data[0] % 10U);
|
||||
const auto event = static_cast<frame::poc::lifecycle_event>(data[1] % 11U);
|
||||
const auto result = frame::poc::transition(state, event);
|
||||
if (result.error != FRAME_OK && result.next != state) {
|
||||
__builtin_trap();
|
||||
}
|
||||
|
||||
const frame_abi_header_t abi{
|
||||
.struct_size = static_cast<uint32_t>(data[2]) * 8U,
|
||||
.abi_major = data[0],
|
||||
.abi_minor = data[1],
|
||||
.feature_bits = static_cast<uint64_t>(data[3]),
|
||||
};
|
||||
(void)frame_abi_supports(&abi, FRAME_ABI_MAJOR, FRAME_ABI_MINOR, sizeof(frame_abi_header_t),
|
||||
data[3] & UINT8_C(0x0F));
|
||||
|
||||
frame::poc::handle_table<uint32_t, 2> table;
|
||||
const frame::poc::handle_owner owner{
|
||||
.instance = static_cast<uint64_t>(data[0]) + 1U,
|
||||
.generation = static_cast<uint64_t>(data[1]) + 1U,
|
||||
};
|
||||
uint64_t handle = 0;
|
||||
if (table.acquire(owner, frame::poc::handle_type::buffer, data[2], &handle) == FRAME_OK) {
|
||||
uint32_t* value = nullptr;
|
||||
(void)table.get(handle, owner, frame::poc::handle_type::buffer, &value);
|
||||
(void)table.release(handle, owner, frame::poc::handle_type::buffer);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
#include <cstdint>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frame_poc/frame_handle.hh"
|
||||
|
||||
using frame::poc::handle_owner;
|
||||
using frame::poc::handle_table;
|
||||
using frame::poc::handle_type;
|
||||
|
||||
TEST(FrameHandle, EnforcesCapacityOwnershipGenerationAndType) {
|
||||
handle_table<uint32_t, 1> table;
|
||||
const handle_owner first_owner{.instance = 7, .generation = 11};
|
||||
const handle_owner next_generation{.instance = 7, .generation = 12};
|
||||
|
||||
uint64_t first_handle = 0;
|
||||
ASSERT_EQ(table.acquire(first_owner, handle_type::timer, 41, &first_handle), FRAME_OK);
|
||||
EXPECT_NE(first_handle, 0U);
|
||||
|
||||
uint32_t* value = nullptr;
|
||||
ASSERT_EQ(table.get(first_handle, first_owner, handle_type::timer, &value), FRAME_OK);
|
||||
ASSERT_NE(value, nullptr);
|
||||
EXPECT_EQ(*value, 41U);
|
||||
EXPECT_EQ(table.get(first_handle, next_generation, handle_type::timer, &value),
|
||||
FRAME_ERR_INVALID_PTR);
|
||||
EXPECT_EQ(table.get(first_handle, first_owner, handle_type::buffer, &value),
|
||||
FRAME_ERR_INVALID_PTR);
|
||||
|
||||
uint64_t overflow_handle = 0;
|
||||
EXPECT_EQ(table.acquire(first_owner, handle_type::buffer, 99, &overflow_handle),
|
||||
FRAME_ERR_CAPACITY);
|
||||
EXPECT_EQ(table.release(first_handle, next_generation, handle_type::timer),
|
||||
FRAME_ERR_INVALID_PTR);
|
||||
EXPECT_EQ(table.release(first_handle, first_owner, handle_type::timer), FRAME_OK);
|
||||
EXPECT_EQ(table.release(first_handle, first_owner, handle_type::timer), FRAME_ERR_INVALID_PTR);
|
||||
}
|
||||
|
||||
TEST(FrameHandle, ReuseInvalidatesStaleHandle) {
|
||||
handle_table<uint32_t, 1> table;
|
||||
const handle_owner first_owner{.instance = 7, .generation = 11};
|
||||
const handle_owner next_owner{.instance = 7, .generation = UINT64_C(1) << 40};
|
||||
uint64_t first_handle = 0;
|
||||
uint64_t replacement_handle = 0;
|
||||
|
||||
ASSERT_EQ(table.acquire(first_owner, handle_type::timer, 41, &first_handle), FRAME_OK);
|
||||
ASSERT_EQ(table.release(first_handle, first_owner, handle_type::timer), FRAME_OK);
|
||||
ASSERT_EQ(table.acquire(next_owner, handle_type::timer, 42, &replacement_handle), FRAME_OK);
|
||||
EXPECT_NE(replacement_handle, first_handle);
|
||||
|
||||
uint32_t* value = nullptr;
|
||||
EXPECT_EQ(table.get(first_handle, first_owner, handle_type::timer, &value),
|
||||
FRAME_ERR_INVALID_PTR);
|
||||
ASSERT_EQ(table.get(replacement_handle, next_owner, handle_type::timer, &value), FRAME_OK);
|
||||
ASSERT_NE(value, nullptr);
|
||||
EXPECT_EQ(*value, 42U);
|
||||
}
|
||||
|
||||
TEST(FrameHandle, RejectsInvalidArguments) {
|
||||
handle_table<uint32_t, 1> table;
|
||||
const handle_owner valid{.instance = 1, .generation = 1};
|
||||
uint64_t handle = 0;
|
||||
|
||||
EXPECT_EQ(table.acquire(valid, handle_type::timer, 1, nullptr), FRAME_ERR_INVALID_ARGUMENT);
|
||||
EXPECT_EQ(table.acquire({.instance = 0, .generation = 1}, handle_type::timer, 1, &handle),
|
||||
FRAME_ERR_INVALID_ARGUMENT);
|
||||
EXPECT_EQ(table.acquire({.instance = 1, .generation = 0}, handle_type::timer, 1, &handle),
|
||||
FRAME_ERR_INVALID_ARGUMENT);
|
||||
ASSERT_EQ(table.acquire(valid, handle_type::timer, 1, &handle), FRAME_OK);
|
||||
EXPECT_EQ(table.get(handle, valid, handle_type::timer, nullptr), FRAME_ERR_INVALID_PTR);
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
#include <array>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frame_poc/lifecycle_state.hh"
|
||||
|
||||
using frame::poc::lifecycle_event;
|
||||
using frame::poc::plugin_state;
|
||||
using frame::poc::transition;
|
||||
|
||||
namespace {
|
||||
|
||||
struct step {
|
||||
lifecycle_event event;
|
||||
plugin_state expected;
|
||||
};
|
||||
|
||||
template <std::size_t Size>
|
||||
void expect_path(plugin_state initial, const std::array<step, Size>& steps) {
|
||||
plugin_state current = initial;
|
||||
for (const step& item : steps) {
|
||||
const auto result = transition(current, item.event);
|
||||
ASSERT_EQ(result.error, FRAME_OK);
|
||||
ASSERT_EQ(result.next, item.expected);
|
||||
current = result.next;
|
||||
}
|
||||
}
|
||||
|
||||
TEST(LifecycleState, FollowsColdStartAndUnload) {
|
||||
constexpr std::array cold_start{
|
||||
step{lifecycle_event::begin_load, plugin_state::loading},
|
||||
step{lifecycle_event::prepare_succeeded, plugin_state::prepared},
|
||||
step{lifecycle_event::activation_committed, plugin_state::active},
|
||||
step{lifecycle_event::begin_quiesce, plugin_state::quiescing},
|
||||
step{lifecycle_event::quiesce_succeeded, plugin_state::unloading},
|
||||
step{lifecycle_event::unload_succeeded, plugin_state::unloaded},
|
||||
};
|
||||
expect_path(plugin_state::staged, cold_start);
|
||||
}
|
||||
|
||||
TEST(LifecycleState, SupportsPauseResumeAndCommittedUpdate) {
|
||||
constexpr std::array aborted{
|
||||
step{lifecycle_event::begin_pause, plugin_state::pausing},
|
||||
step{lifecycle_event::pause_succeeded, plugin_state::paused},
|
||||
step{lifecycle_event::resume_succeeded, plugin_state::active},
|
||||
};
|
||||
expect_path(plugin_state::active, aborted);
|
||||
|
||||
constexpr std::array committed{
|
||||
step{lifecycle_event::begin_pause, plugin_state::pausing},
|
||||
step{lifecycle_event::pause_succeeded, plugin_state::paused},
|
||||
step{lifecycle_event::begin_quiesce, plugin_state::quiescing},
|
||||
step{lifecycle_event::quiesce_succeeded, plugin_state::unloading},
|
||||
step{lifecycle_event::unload_succeeded, plugin_state::unloaded},
|
||||
};
|
||||
expect_path(plugin_state::active, committed);
|
||||
}
|
||||
|
||||
TEST(LifecycleState, RejectsEveryUnspecifiedTransition) {
|
||||
constexpr std::array states{
|
||||
plugin_state::staged, plugin_state::loading,
|
||||
plugin_state::prepared, plugin_state::active,
|
||||
plugin_state::pausing, plugin_state::paused,
|
||||
plugin_state::quiescing, plugin_state::unloading,
|
||||
plugin_state::unloaded, plugin_state::failed_restart_required,
|
||||
};
|
||||
constexpr std::array events{
|
||||
lifecycle_event::begin_load,
|
||||
lifecycle_event::prepare_succeeded,
|
||||
lifecycle_event::activation_committed,
|
||||
lifecycle_event::begin_pause,
|
||||
lifecycle_event::pause_succeeded,
|
||||
lifecycle_event::resume_succeeded,
|
||||
lifecycle_event::begin_quiesce,
|
||||
lifecycle_event::quiesce_succeeded,
|
||||
lifecycle_event::unload_succeeded,
|
||||
lifecycle_event::discard_candidate,
|
||||
lifecycle_event::fail_restart_required,
|
||||
};
|
||||
|
||||
for (const plugin_state state : states) {
|
||||
for (const lifecycle_event event : events) {
|
||||
const auto result = transition(state, event);
|
||||
if (result.error != FRAME_OK) {
|
||||
EXPECT_EQ(result.error, FRAME_ERR_INVALID_ARGUMENT);
|
||||
EXPECT_EQ(result.next, state);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TEST(LifecycleState, RestartRequiredIsTerminal) {
|
||||
const auto restart = transition(plugin_state::pausing, lifecycle_event::fail_restart_required);
|
||||
ASSERT_EQ(restart.error, FRAME_OK);
|
||||
ASSERT_EQ(restart.next, plugin_state::failed_restart_required);
|
||||
|
||||
const auto terminal =
|
||||
transition(plugin_state::failed_restart_required, lifecycle_event::begin_quiesce);
|
||||
EXPECT_EQ(terminal.error, FRAME_ERR_INVALID_ARGUMENT);
|
||||
EXPECT_EQ(terminal.next, plugin_state::failed_restart_required);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"name": "poc-a",
|
||||
"path": "apps/poc_a"
|
||||
},
|
||||
{
|
||||
"name": "poc-common",
|
||||
"path": "common"
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"idf.extensionActivationMode": "always",
|
||||
"idf.openOcdConfigs": [
|
||||
"board/esp32s3-builtin.cfg"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.12.5,<0.13"]
|
||||
build-backend = "uv_build"
|
||||
|
||||
[project]
|
||||
name = "frame-tools"
|
||||
version = "0.1.0"
|
||||
description = "Repository validation tools for Frame"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
license = "GPL-3.0-or-later"
|
||||
license-files = ["LICENSE"]
|
||||
dependencies = [
|
||||
"jsonschema>=4.23,<5",
|
||||
"PyYAML>=6.0.2,<7",
|
||||
"rfc3339-validator>=0.1.4,<1",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
frame-coverage = "frame_tools.coverage:main"
|
||||
frame-doc-links = "frame_tools.doc_links:main"
|
||||
frame-evidence = "frame_tools.evidence:main"
|
||||
frame-m1-capture = "frame_tools.m1_capture:main"
|
||||
frame-sbom = "frame_tools.sbom:main"
|
||||
frame-partitions = "frame_tools.partitions:main"
|
||||
frame-pr-title = "frame_tools.pr_title:main"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pyright>=1.1.400",
|
||||
"pytest>=8.4",
|
||||
"ruff>=0.12",
|
||||
]
|
||||
|
||||
[tool.uv.build-backend]
|
||||
module-name = "frame_tools"
|
||||
module-root = "tools"
|
||||
|
||||
[tool.pyright]
|
||||
include = ["tools/frame_tools", "tests"]
|
||||
pythonVersion = "3.11"
|
||||
typeCheckingMode = "standard"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-ra"
|
||||
testpaths = ["tests"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
target-version = "py311"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["B", "E", "F", "I", "SIM", "UP"]
|
||||
@@ -0,0 +1,23 @@
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
from frame_tools.coverage import branch_percentage
|
||||
|
||||
|
||||
def test_reads_llvm_branch_percentage(tmp_path: Path) -> None:
|
||||
report = tmp_path / "coverage.json"
|
||||
report.write_text(
|
||||
json.dumps({"data": [{"totals": {"branches": {"percent": 91.25}}}]}),
|
||||
encoding="utf-8",
|
||||
)
|
||||
|
||||
assert branch_percentage(report) == 91.25
|
||||
|
||||
|
||||
def test_rejects_invalid_llvm_export(tmp_path: Path) -> None:
|
||||
report = tmp_path / "coverage.json"
|
||||
report.write_text("{}", encoding="utf-8")
|
||||
|
||||
with pytest.raises(ValueError, match="invalid llvm-cov export"):
|
||||
branch_percentage(report)
|
||||
@@ -0,0 +1,35 @@
|
||||
from pathlib import Path
|
||||
|
||||
from frame_tools.doc_links import validate_doc_links
|
||||
|
||||
|
||||
def test_existing_file_and_anchor_pass(tmp_path: Path) -> None:
|
||||
(tmp_path / "target.md").write_text("# Target Heading\n", encoding="utf-8")
|
||||
(tmp_path / "source.md").write_text("[target](target.md#target-heading)\n", encoding="utf-8")
|
||||
|
||||
assert validate_doc_links(tmp_path) == []
|
||||
|
||||
|
||||
def test_missing_target_is_reported(tmp_path: Path) -> None:
|
||||
(tmp_path / "source.md").write_text("[missing](missing.md)\n", encoding="utf-8")
|
||||
|
||||
errors = validate_doc_links(tmp_path)
|
||||
|
||||
assert errors
|
||||
assert "does not exist" in errors[0]
|
||||
|
||||
|
||||
def test_ignored_virtual_environment_is_not_scanned(tmp_path: Path) -> None:
|
||||
ignored = tmp_path / ".venv-idf"
|
||||
ignored.mkdir()
|
||||
(ignored / "README.md").write_text("[missing](missing.md)\n", encoding="utf-8")
|
||||
|
||||
assert validate_doc_links(tmp_path) == []
|
||||
|
||||
|
||||
def test_ignored_opencode_state_is_not_scanned(tmp_path: Path) -> None:
|
||||
ignored = tmp_path / ".opencode" / "node_modules" / "example"
|
||||
ignored.mkdir(parents=True)
|
||||
(ignored / "README.md").write_text("[missing](missing.md)\n", encoding="utf-8")
|
||||
|
||||
assert validate_doc_links(tmp_path) == []
|
||||
@@ -0,0 +1,76 @@
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
from frame_tools.evidence import discover_manifests, validate_evidence
|
||||
|
||||
SCHEMA = Path("poc/evidence/schema.json")
|
||||
|
||||
|
||||
def valid_manifest() -> dict[str, object]:
|
||||
return {
|
||||
"schema_version": 1,
|
||||
"gate": "A",
|
||||
"run_id": "test-run",
|
||||
"verdict": "BLOCKED",
|
||||
"started_at": "2026-08-30T00:00:00Z",
|
||||
"finished_at": "2026-08-30T00:01:00Z",
|
||||
"source": {
|
||||
"repository_commit": "0" * 40,
|
||||
"dirty": False,
|
||||
"project_document_sha256": "0" * 64,
|
||||
},
|
||||
"platform": {
|
||||
"idf_tag": "v6.0.2",
|
||||
"compiler": "test compiler",
|
||||
"target": "esp32s3",
|
||||
"sdkconfig_sha256": "0" * 64,
|
||||
},
|
||||
"artifacts": [{"name": "log", "uri": "log.txt", "sha256": "0" * 64}],
|
||||
}
|
||||
|
||||
|
||||
def test_valid_manifest_passes(tmp_path: Path) -> None:
|
||||
path = tmp_path / "manifest.json"
|
||||
path.write_text(json.dumps(valid_manifest()), encoding="utf-8")
|
||||
|
||||
assert validate_evidence(SCHEMA, [path]) == []
|
||||
|
||||
|
||||
def test_m1_gate_manifest_passes(tmp_path: Path) -> None:
|
||||
manifest = valid_manifest()
|
||||
manifest["gate"] = "M1"
|
||||
path = tmp_path / "manifest.json"
|
||||
path.write_text(json.dumps(manifest), encoding="utf-8")
|
||||
|
||||
assert validate_evidence(SCHEMA, [path]) == []
|
||||
|
||||
|
||||
def test_invalid_manifest_reports_json_path(tmp_path: Path) -> None:
|
||||
manifest = valid_manifest()
|
||||
manifest["gate"] = "F"
|
||||
path = tmp_path / "manifest.json"
|
||||
path.write_text(json.dumps(manifest), encoding="utf-8")
|
||||
|
||||
errors = validate_evidence(SCHEMA, [path])
|
||||
|
||||
assert errors
|
||||
assert "['gate']" in errors[0]
|
||||
|
||||
|
||||
def test_invalid_date_time_is_rejected(tmp_path: Path) -> None:
|
||||
manifest = valid_manifest()
|
||||
manifest["started_at"] = "not-a-date"
|
||||
path = tmp_path / "manifest.json"
|
||||
path.write_text(json.dumps(manifest), encoding="utf-8")
|
||||
|
||||
errors = validate_evidence(SCHEMA, [path])
|
||||
|
||||
assert errors
|
||||
assert "['started_at']" in errors[0]
|
||||
|
||||
|
||||
def test_schema_is_not_discovered_as_a_manifest() -> None:
|
||||
manifests, errors = discover_manifests([SCHEMA.parent], SCHEMA)
|
||||
|
||||
assert errors == []
|
||||
assert SCHEMA not in manifests
|
||||
@@ -0,0 +1,180 @@
|
||||
import hashlib
|
||||
import importlib.util
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
from frame_tools.m1_capture import (
|
||||
CaptureSettings,
|
||||
CaptureWriter,
|
||||
LineKind,
|
||||
classify_payload,
|
||||
main,
|
||||
parse_device_json,
|
||||
run_capture,
|
||||
sequence_of,
|
||||
)
|
||||
|
||||
BOOT_LINE = "Frame M1 0.1.0-dev.1 boot complete"
|
||||
JSONL_LINE = (
|
||||
'{"schema_version":1,"sequence":7,"uptime_us":1000,"source":"m1","event":"status",'
|
||||
'"mode":"idle","crc32c":"deadbeef"}'
|
||||
)
|
||||
STATUS_LINE = '{"schema_version":1,"firmware":"0.1.0-dev.1","display":"OK","partitions_ok":true}'
|
||||
|
||||
|
||||
def test_parse_device_json_returns_none_for_plain_text() -> None:
|
||||
assert parse_device_json(BOOT_LINE) is None
|
||||
assert parse_device_json("{not json") is None
|
||||
|
||||
|
||||
def test_parse_device_json_decodes_device_lines() -> None:
|
||||
payload = parse_device_json(JSONL_LINE)
|
||||
|
||||
assert payload is not None
|
||||
assert payload["schema_version"] == 1
|
||||
|
||||
|
||||
def test_classify_payload_distinguishes_jsonl_from_status() -> None:
|
||||
jsonl = parse_device_json(JSONL_LINE)
|
||||
status = parse_device_json(STATUS_LINE)
|
||||
|
||||
assert jsonl is not None and classify_payload(jsonl) is LineKind.JSONL
|
||||
assert status is not None and classify_payload(status) is LineKind.STATUS
|
||||
assert classify_payload({"schema_version": 2}) is LineKind.RAW
|
||||
assert classify_payload({"other": 1}) is LineKind.RAW
|
||||
|
||||
|
||||
def test_sequence_of_rejects_non_integers() -> None:
|
||||
assert sequence_of({"sequence": 12}) == 12
|
||||
assert sequence_of({}) is None
|
||||
assert sequence_of({"sequence": "12"}) is None
|
||||
assert sequence_of({"sequence": True}) is None
|
||||
|
||||
|
||||
def test_capture_writer_routes_lines(tmp_path: Path) -> None:
|
||||
with CaptureWriter(tmp_path) as writer:
|
||||
writer.process_line(f"{BOOT_LINE}\r\n")
|
||||
writer.process_line(JSONL_LINE)
|
||||
writer.process_line(STATUS_LINE)
|
||||
|
||||
assert (tmp_path / "soak.log").read_text(encoding="utf-8").splitlines() == [
|
||||
BOOT_LINE,
|
||||
JSONL_LINE,
|
||||
STATUS_LINE,
|
||||
]
|
||||
assert (tmp_path / "jsonl.ndjson").read_text(encoding="utf-8").splitlines() == [JSONL_LINE]
|
||||
assert (tmp_path / "status.json").read_text(encoding="utf-8").splitlines() == [STATUS_LINE]
|
||||
assert writer.stats.jsonl_count == 1
|
||||
assert writer.stats.sequence_min == 7
|
||||
assert writer.stats.sequence_max == 7
|
||||
|
||||
|
||||
def test_capture_writer_tracks_sequence_bounds(tmp_path: Path) -> None:
|
||||
with CaptureWriter(tmp_path) as writer:
|
||||
for sequence in (5, 9, 3):
|
||||
writer.process_line(f'{{"schema_version":1,"sequence":{sequence}}}')
|
||||
|
||||
assert writer.stats.jsonl_count == 3
|
||||
assert writer.stats.sequence_min == 3
|
||||
assert writer.stats.sequence_max == 9
|
||||
assert writer.stats.as_metrics() == {
|
||||
"jsonl_count": 3,
|
||||
"sequence_min": 3,
|
||||
"sequence_max": 9,
|
||||
}
|
||||
|
||||
|
||||
def test_write_manifest_records_gate_and_stats(tmp_path: Path) -> None:
|
||||
with CaptureWriter(tmp_path) as writer:
|
||||
writer.process_line(BOOT_LINE)
|
||||
writer.process_line(JSONL_LINE)
|
||||
writer.process_line(STATUS_LINE)
|
||||
manifest_path = writer.write_manifest(
|
||||
"m1-test", "2026-08-30T00:00:00Z", "2026-08-30T01:00:00Z"
|
||||
)
|
||||
|
||||
manifest = json.loads(manifest_path.read_text(encoding="utf-8"))
|
||||
assert manifest["gate"] == "M1"
|
||||
assert manifest["verdict"] == "pending"
|
||||
assert manifest["run_id"] == "m1-test"
|
||||
assert manifest["started_at"] == "2026-08-30T00:00:00Z"
|
||||
assert manifest["ended_at"] == "2026-08-30T01:00:00Z"
|
||||
assert manifest["metrics"] == {"jsonl_count": 1, "sequence_min": 7, "sequence_max": 7}
|
||||
artifacts = {entry["name"]: entry for entry in manifest["artifacts"]}
|
||||
assert set(artifacts) == {"soak.log", "jsonl.ndjson", "status.json"}
|
||||
for name, entry in artifacts.items():
|
||||
digest = hashlib.sha256((tmp_path / name).read_bytes()).hexdigest()
|
||||
assert entry["sha256"] == digest
|
||||
assert entry["uri"] == name
|
||||
|
||||
|
||||
class FakeSerialPort:
|
||||
def __init__(self, lines: list[bytes]) -> None:
|
||||
self._lines = list(lines)
|
||||
self.written: list[bytes] = []
|
||||
self.closed = False
|
||||
|
||||
def readline(self) -> bytes:
|
||||
return self._lines.pop(0) if self._lines else b""
|
||||
|
||||
def write(self, data: bytes) -> int:
|
||||
self.written.append(data)
|
||||
return len(data)
|
||||
|
||||
def close(self) -> None:
|
||||
self.closed = True
|
||||
|
||||
|
||||
def test_run_capture_collects_artifacts_and_polls_status(tmp_path: Path) -> None:
|
||||
port_obj = FakeSerialPort(
|
||||
[f"{BOOT_LINE}\r\n".encode(), JSONL_LINE.encode(), STATUS_LINE.encode()]
|
||||
)
|
||||
settings = CaptureSettings(
|
||||
port="/dev/fake",
|
||||
baud=115200,
|
||||
duration=0.05,
|
||||
out_dir=tmp_path / "run",
|
||||
status_interval=0.01,
|
||||
)
|
||||
|
||||
def open_port(port: str, baudrate: int, timeout: float) -> FakeSerialPort:
|
||||
assert port == "/dev/fake"
|
||||
assert baudrate == 115200
|
||||
return port_obj
|
||||
|
||||
manifest_path = run_capture(settings, open_port)
|
||||
|
||||
assert manifest_path == tmp_path / "run" / "manifest.json"
|
||||
assert port_obj.written.count(b"status --json\r\n") >= 1
|
||||
assert port_obj.closed
|
||||
assert (tmp_path / "run" / "jsonl.ndjson").read_text(encoding="utf-8") == f"{JSONL_LINE}\n"
|
||||
assert (tmp_path / "run" / "status.json").read_text(encoding="utf-8") == f"{STATUS_LINE}\n"
|
||||
|
||||
|
||||
def test_main_requires_duration_and_out(tmp_path: Path) -> None:
|
||||
with pytest.raises(SystemExit) as excinfo:
|
||||
main(["--out", str(tmp_path)])
|
||||
assert excinfo.value.code == 2
|
||||
|
||||
with pytest.raises(SystemExit) as excinfo:
|
||||
main(["--duration", "1"])
|
||||
assert excinfo.value.code == 2
|
||||
|
||||
|
||||
def test_main_reports_missing_pyserial(tmp_path: Path) -> None:
|
||||
if importlib.util.find_spec("serial") is not None:
|
||||
pytest.skip("pyserial is installed; the missing-dependency path cannot be exercised")
|
||||
with pytest.raises(SystemExit, match="pyserial is required"):
|
||||
main(["--duration", "1", "--out", str(tmp_path)])
|
||||
|
||||
|
||||
def test_capture_writer_persists_lines_written_before_error(tmp_path: Path) -> None:
|
||||
class Boom(Exception):
|
||||
pass
|
||||
|
||||
with pytest.raises(Boom), CaptureWriter(tmp_path) as writer:
|
||||
writer.process_line(BOOT_LINE)
|
||||
raise Boom
|
||||
|
||||
assert (tmp_path / "soak.log").read_text(encoding="utf-8") == f"{BOOT_LINE}\n"
|
||||
@@ -0,0 +1,18 @@
|
||||
from pathlib import Path
|
||||
|
||||
from frame_tools.partitions import validate_partitions
|
||||
|
||||
|
||||
def test_repository_partition_layout_is_frozen() -> None:
|
||||
assert validate_partitions(Path("partitions.csv")) == []
|
||||
|
||||
|
||||
def test_changed_partition_is_rejected(tmp_path: Path) -> None:
|
||||
changed = Path("partitions.csv").read_text(encoding="utf-8").replace("0x4C0000", "0x4B0000")
|
||||
path = tmp_path / "partitions.csv"
|
||||
path.write_text(changed, encoding="utf-8")
|
||||
|
||||
errors = validate_partitions(path)
|
||||
|
||||
assert errors
|
||||
assert "plugin_fs" in errors[0]
|
||||
@@ -0,0 +1,11 @@
|
||||
from frame_tools.pr_title import validate_title
|
||||
|
||||
|
||||
def test_accepts_conventional_title() -> None:
|
||||
assert validate_title("feat(runtime): add lifecycle gate") is None
|
||||
assert validate_title("fix!: reject stale handles") is None
|
||||
|
||||
|
||||
def test_rejects_unstructured_title() -> None:
|
||||
assert validate_title("Add lifecycle gate") is not None
|
||||
assert validate_title("feature: add lifecycle gate") is not None
|
||||
@@ -0,0 +1,16 @@
|
||||
from pathlib import Path
|
||||
|
||||
from frame_tools.sbom import generate_sbom, locked_components
|
||||
|
||||
|
||||
def test_repository_sbom_has_locked_idf_and_lvgl() -> None:
|
||||
components = locked_components(Path("."))
|
||||
references = {str(component["bom-ref"]) for component in components}
|
||||
|
||||
assert "pkg:github/espressif/[email protected]" in references
|
||||
assert "pkg:espressif/lvgl/[email protected]" in references
|
||||
assert "pkg:github/google/googletest@52eb8108c5bdec04579160ae17225d66034bd723" in references
|
||||
|
||||
|
||||
def test_sbom_generation_is_deterministic() -> None:
|
||||
assert generate_sbom(Path(".")) == generate_sbom(Path("."))
|
||||
@@ -0,0 +1 @@
|
||||
"""Local repository gates for Frame."""
|
||||
@@ -0,0 +1,42 @@
|
||||
"""Enforce LLVM branch coverage for the shared Frame contract headers."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import sys
|
||||
from collections.abc import Sequence
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def branch_percentage(report: Path) -> float:
|
||||
data = json.loads(report.read_text(encoding="utf-8"))
|
||||
try:
|
||||
return float(data["data"][0]["totals"]["branches"]["percent"])
|
||||
except (KeyError, IndexError, TypeError, ValueError) as error:
|
||||
raise ValueError(f"{report}: invalid llvm-cov export") from error
|
||||
|
||||
|
||||
def main(argv: Sequence[str] | None = None) -> int:
|
||||
parser = argparse.ArgumentParser(description="Check Frame LLVM branch coverage")
|
||||
parser.add_argument("report", type=Path)
|
||||
parser.add_argument("--minimum", type=float, default=90.0)
|
||||
args = parser.parse_args(argv)
|
||||
|
||||
try:
|
||||
percentage = branch_percentage(args.report)
|
||||
except (OSError, UnicodeError, json.JSONDecodeError, ValueError) as error:
|
||||
print(error, file=sys.stderr)
|
||||
return 1
|
||||
if percentage < args.minimum:
|
||||
print(
|
||||
f"branch coverage {percentage:.2f}% is below {args.minimum:.2f}%",
|
||||
file=sys.stderr,
|
||||
)
|
||||
return 1
|
||||
print(f"branch coverage {percentage:.2f}% meets {args.minimum:.2f}%")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,153 @@
|
||||
"""Check local targets and Markdown heading fragments in repository documentation."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import re
|
||||
import sys
|
||||
from collections import Counter
|
||||
from collections.abc import Iterable, Sequence
|
||||
from pathlib import Path
|
||||
from urllib.parse import unquote, urlsplit
|
||||
|
||||
LINK_PATTERN = re.compile(r"!?\[[^]]*]\(\s*(<[^>]+>|[^\s)]+)(?:\s+[^)]*)?\)")
|
||||
HEADING_PATTERN = re.compile(r"^#{1,6}\s+(.+?)\s*#*\s*$")
|
||||
INLINE_CODE_PATTERN = re.compile(r"`+[^`]*`+")
|
||||
IGNORED_DIRECTORIES = {
|
||||
".build",
|
||||
".cache",
|
||||
".git",
|
||||
".opencode",
|
||||
".pytest_cache",
|
||||
".venv",
|
||||
".venv-idf",
|
||||
"build",
|
||||
"managed_components",
|
||||
}
|
||||
|
||||
|
||||
def _slug(text: str) -> str:
|
||||
text = re.sub(r"<[^>]*>", "", text)
|
||||
text = re.sub(r"!\[[^]]*]\([^)]*\)", "", text)
|
||||
text = re.sub(r"\[([^]]*)]\([^)]*\)", r"\1", text)
|
||||
text = re.sub(r"[`*_~]", "", text).strip().lower()
|
||||
text = re.sub(r"[^\w\- ]", "", text)
|
||||
return re.sub(r"\s", "-", text)
|
||||
|
||||
|
||||
def markdown_anchors(path: Path) -> set[str]:
|
||||
anchors: set[str] = set()
|
||||
seen: Counter[str] = Counter()
|
||||
in_fence = False
|
||||
for line in path.read_text(encoding="utf-8").splitlines():
|
||||
stripped = line.lstrip()
|
||||
if stripped.startswith(("```", "~~~")):
|
||||
in_fence = not in_fence
|
||||
continue
|
||||
if in_fence:
|
||||
continue
|
||||
match = HEADING_PATTERN.match(line)
|
||||
if match is None:
|
||||
continue
|
||||
base = _slug(match.group(1))
|
||||
duplicate = seen[base]
|
||||
seen[base] += 1
|
||||
anchors.add(base if duplicate == 0 else f"{base}-{duplicate}")
|
||||
return anchors
|
||||
|
||||
|
||||
def _markdown_files(root: Path, inputs: Sequence[Path]) -> tuple[list[Path], list[str]]:
|
||||
files: list[Path] = []
|
||||
errors: list[str] = []
|
||||
sources = list(inputs) if inputs else [root]
|
||||
for source in sources:
|
||||
if source.is_file() and source.suffix.lower() == ".md":
|
||||
files.append(source)
|
||||
elif source.is_dir():
|
||||
for path in source.rglob("*.md"):
|
||||
try:
|
||||
relative_parts = path.relative_to(root).parts
|
||||
except ValueError:
|
||||
relative_parts = path.parts
|
||||
if not any(part in IGNORED_DIRECTORIES for part in relative_parts):
|
||||
files.append(path)
|
||||
else:
|
||||
errors.append(f"{source}: documentation path does not exist or is not Markdown")
|
||||
return sorted(set(files), key=lambda path: str(path)), errors
|
||||
|
||||
|
||||
def _links(path: Path) -> Iterable[tuple[int, str]]:
|
||||
in_fence = False
|
||||
for line_number, line in enumerate(path.read_text(encoding="utf-8").splitlines(), start=1):
|
||||
stripped = line.lstrip()
|
||||
if stripped.startswith(("```", "~~~")):
|
||||
in_fence = not in_fence
|
||||
continue
|
||||
if in_fence:
|
||||
continue
|
||||
line = INLINE_CODE_PATTERN.sub("", line)
|
||||
for match in LINK_PATTERN.finditer(line):
|
||||
target = match.group(1)
|
||||
yield line_number, target[1:-1] if target.startswith("<") else target
|
||||
|
||||
|
||||
def validate_doc_links(root: Path, paths: Sequence[Path] = ()) -> list[str]:
|
||||
root = root.resolve()
|
||||
markdown_files, errors = _markdown_files(root, paths)
|
||||
anchor_cache: dict[Path, set[str]] = {}
|
||||
|
||||
for source in markdown_files:
|
||||
try:
|
||||
links = list(_links(source))
|
||||
except (OSError, UnicodeError) as error:
|
||||
errors.append(f"{source}: cannot read Markdown: {error}")
|
||||
continue
|
||||
|
||||
for line_number, raw_target in links:
|
||||
parsed = urlsplit(raw_target)
|
||||
if parsed.scheme or parsed.netloc:
|
||||
continue
|
||||
relative_target = Path(unquote(parsed.path))
|
||||
if not parsed.path:
|
||||
target = source.resolve()
|
||||
elif parsed.path.startswith("/"):
|
||||
target = (root / str(relative_target).lstrip("/")).resolve(strict=False)
|
||||
else:
|
||||
target = (source.parent / relative_target).resolve(strict=False)
|
||||
|
||||
if not target.is_relative_to(root):
|
||||
errors.append(
|
||||
f"{source}:{line_number}: local link escapes repository: {raw_target}"
|
||||
)
|
||||
continue
|
||||
if not target.exists():
|
||||
errors.append(
|
||||
f"{source}:{line_number}: local link target does not exist: {raw_target}"
|
||||
)
|
||||
continue
|
||||
if parsed.fragment and target.suffix.lower() == ".md":
|
||||
anchors = anchor_cache.setdefault(target, markdown_anchors(target))
|
||||
fragment = unquote(parsed.fragment)
|
||||
if fragment not in anchors:
|
||||
errors.append(
|
||||
f"{source}:{line_number}: Markdown anchor does not exist: {raw_target}"
|
||||
)
|
||||
return errors
|
||||
|
||||
|
||||
def main(argv: Sequence[str] | None = None) -> int:
|
||||
parser = argparse.ArgumentParser(description="Validate local links in Markdown files")
|
||||
parser.add_argument("paths", nargs="*", type=Path, help="Markdown files or directories")
|
||||
parser.add_argument("--root", type=Path, default=Path.cwd(), help="repository root")
|
||||
args = parser.parse_args(argv)
|
||||
|
||||
errors = validate_doc_links(args.root, args.paths)
|
||||
if errors:
|
||||
print("\n".join(errors), file=sys.stderr)
|
||||
return 1
|
||||
print("documentation links are valid")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,93 @@
|
||||
"""Validate PoC evidence manifests against the repository JSON Schema."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import sys
|
||||
from collections.abc import Sequence
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
from jsonschema import FormatChecker, SchemaError
|
||||
from jsonschema.validators import validator_for
|
||||
|
||||
|
||||
def _load_json(path: Path) -> Any:
|
||||
with path.open(encoding="utf-8") as stream:
|
||||
return json.load(stream)
|
||||
|
||||
|
||||
def _json_path(parts: Sequence[object]) -> str:
|
||||
return "$" + "".join(f"[{part!r}]" for part in parts)
|
||||
|
||||
|
||||
def validate_evidence(schema_path: Path, manifest_paths: Sequence[Path]) -> list[str]:
|
||||
try:
|
||||
schema = _load_json(schema_path)
|
||||
validator_class = validator_for(schema)
|
||||
validator_class.check_schema(schema)
|
||||
validator = validator_class(schema, format_checker=FormatChecker())
|
||||
except (OSError, UnicodeError, json.JSONDecodeError, SchemaError) as error:
|
||||
return [f"{schema_path}: invalid evidence schema: {error}"]
|
||||
|
||||
errors: list[str] = []
|
||||
for path in manifest_paths:
|
||||
try:
|
||||
manifest = _load_json(path)
|
||||
except (OSError, UnicodeError, json.JSONDecodeError) as error:
|
||||
errors.append(f"{path}: invalid JSON: {error}")
|
||||
continue
|
||||
|
||||
validation_errors = sorted(
|
||||
validator.iter_errors(manifest), key=lambda item: _json_path(list(item.path))
|
||||
)
|
||||
errors.extend(
|
||||
f"{path}:{_json_path(list(error.path))}: {error.message}" for error in validation_errors
|
||||
)
|
||||
return errors
|
||||
|
||||
|
||||
def discover_manifests(inputs: Sequence[Path], schema_path: Path) -> tuple[list[Path], list[str]]:
|
||||
candidates: list[Path] = []
|
||||
errors: list[str] = []
|
||||
sources = list(inputs) if inputs else [Path("poc/evidence")]
|
||||
schema_resolved = schema_path.resolve(strict=False)
|
||||
|
||||
for source in sources:
|
||||
if source.is_dir():
|
||||
candidates.extend(sorted(source.rglob("*.json")))
|
||||
elif source.is_file():
|
||||
candidates.append(source)
|
||||
else:
|
||||
errors.append(f"{source}: evidence path does not exist")
|
||||
|
||||
manifests = sorted(
|
||||
{path for path in candidates if path.resolve(strict=False) != schema_resolved},
|
||||
key=lambda path: str(path),
|
||||
)
|
||||
return manifests, errors
|
||||
|
||||
|
||||
def main(argv: Sequence[str] | None = None) -> int:
|
||||
parser = argparse.ArgumentParser(description="Validate Frame evidence manifests")
|
||||
parser.add_argument("paths", nargs="*", type=Path, help="manifest files or directories")
|
||||
parser.add_argument(
|
||||
"--schema",
|
||||
type=Path,
|
||||
default=Path("poc/evidence/schema.json"),
|
||||
help="evidence JSON Schema",
|
||||
)
|
||||
args = parser.parse_args(argv)
|
||||
|
||||
manifests, errors = discover_manifests(args.paths, args.schema)
|
||||
errors.extend(validate_evidence(args.schema, manifests))
|
||||
if errors:
|
||||
print("\n".join(errors), file=sys.stderr)
|
||||
return 1
|
||||
print(f"validated evidence schema and {len(manifests)} manifest(s)")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,260 @@
|
||||
"""Collect M1 hardware-validation evidence from the device serial console.
|
||||
|
||||
The collector passively records everything on the console into ``soak.log``,
|
||||
splits device JSON lines into ``jsonl.ndjson`` (telemetry) and ``status.json``
|
||||
(``status --json`` responses), and writes a draft ``manifest.json`` for the M1
|
||||
gate whose verdict is completed later by the soak judgment step.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import hashlib
|
||||
import importlib
|
||||
import json
|
||||
import sys
|
||||
import time
|
||||
from collections.abc import Sequence
|
||||
from dataclasses import dataclass
|
||||
from datetime import UTC, datetime
|
||||
from enum import Enum
|
||||
from pathlib import Path
|
||||
from typing import Protocol, cast
|
||||
|
||||
SOAK_LOG = "soak.log"
|
||||
JSONL_LOG = "jsonl.ndjson"
|
||||
STATUS_LOG = "status.json"
|
||||
MANIFEST_LOG = "manifest.json"
|
||||
STATUS_COMMAND = b"status --json\r\n"
|
||||
|
||||
|
||||
class LineKind(Enum):
|
||||
RAW = "raw"
|
||||
JSONL = "jsonl"
|
||||
STATUS = "status"
|
||||
|
||||
|
||||
def parse_device_json(line: str) -> dict[str, object] | None:
|
||||
"""Return the decoded device JSON object, or None for plain console text."""
|
||||
text = line.strip()
|
||||
if not text.startswith("{"):
|
||||
return None
|
||||
try:
|
||||
payload = json.loads(text)
|
||||
except json.JSONDecodeError:
|
||||
return None
|
||||
return payload if isinstance(payload, dict) else None
|
||||
|
||||
|
||||
def classify_payload(payload: dict[str, object]) -> LineKind:
|
||||
"""Telemetry lines carry ``sequence``; status responses do not."""
|
||||
if payload.get("schema_version") != 1:
|
||||
return LineKind.RAW
|
||||
return LineKind.JSONL if "sequence" in payload else LineKind.STATUS
|
||||
|
||||
|
||||
def sequence_of(payload: dict[str, object]) -> int | None:
|
||||
value = payload.get("sequence")
|
||||
if isinstance(value, bool) or not isinstance(value, int):
|
||||
return None
|
||||
return value
|
||||
|
||||
|
||||
@dataclass(slots=True)
|
||||
class CaptureStats:
|
||||
jsonl_count: int = 0
|
||||
sequence_min: int | None = None
|
||||
sequence_max: int | None = None
|
||||
|
||||
def record(self, payload: dict[str, object]) -> None:
|
||||
self.jsonl_count += 1
|
||||
sequence = sequence_of(payload)
|
||||
if sequence is not None:
|
||||
self.sequence_min = (
|
||||
sequence if self.sequence_min is None else min(self.sequence_min, sequence)
|
||||
)
|
||||
self.sequence_max = (
|
||||
sequence if self.sequence_max is None else max(self.sequence_max, sequence)
|
||||
)
|
||||
|
||||
def as_metrics(self) -> dict[str, int]:
|
||||
metrics = {"jsonl_count": self.jsonl_count}
|
||||
if self.sequence_min is not None:
|
||||
metrics["sequence_min"] = self.sequence_min
|
||||
if self.sequence_max is not None:
|
||||
metrics["sequence_max"] = self.sequence_max
|
||||
return metrics
|
||||
|
||||
|
||||
class SerialPort(Protocol):
|
||||
def readline(self) -> bytes: ...
|
||||
|
||||
def write(self, data: bytes) -> int: ...
|
||||
|
||||
def close(self) -> None: ...
|
||||
|
||||
|
||||
class SerialFactory(Protocol):
|
||||
def __call__(self, port: str, baudrate: int, timeout: float) -> SerialPort: ...
|
||||
|
||||
|
||||
def load_serial() -> SerialFactory:
|
||||
"""Import pyserial lazily; it is an optional, capture-only dependency."""
|
||||
try:
|
||||
module = importlib.import_module("serial")
|
||||
except ImportError as error:
|
||||
raise SystemExit(
|
||||
"pyserial is required for serial capture but is not installed; "
|
||||
"install it into the active environment with `uv pip install pyserial`"
|
||||
) from error
|
||||
# pyserial is absent from the checked-in dependency set, so bind it to a
|
||||
# Protocol at this boundary instead of importing it for type checking.
|
||||
return cast(SerialFactory, module.Serial)
|
||||
|
||||
|
||||
def _sha256(path: Path) -> str:
|
||||
digest = hashlib.sha256()
|
||||
with path.open("rb") as stream:
|
||||
for chunk in iter(lambda: stream.read(65536), b""):
|
||||
digest.update(chunk)
|
||||
return digest.hexdigest()
|
||||
|
||||
|
||||
def _utc_now() -> str:
|
||||
return datetime.now(UTC).strftime("%Y-%m-%dT%H:%M:%SZ")
|
||||
|
||||
|
||||
class CaptureWriter:
|
||||
"""Route decoded serial lines into the soak, JSONL, and status artifacts."""
|
||||
|
||||
def __init__(self, out_dir: Path) -> None:
|
||||
out_dir.mkdir(parents=True, exist_ok=True)
|
||||
self._out_dir = out_dir
|
||||
self._soak = (out_dir / SOAK_LOG).open("w", encoding="utf-8")
|
||||
self._jsonl = (out_dir / JSONL_LOG).open("w", encoding="utf-8")
|
||||
self._status = (out_dir / STATUS_LOG).open("w", encoding="utf-8")
|
||||
self.stats = CaptureStats()
|
||||
|
||||
def __enter__(self) -> CaptureWriter:
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type: object, exc_value: object, traceback: object) -> None:
|
||||
self.close()
|
||||
|
||||
def close(self) -> None:
|
||||
for stream in (self._soak, self._jsonl, self._status):
|
||||
stream.close()
|
||||
|
||||
def process_line(self, line: str) -> None:
|
||||
text = line.rstrip("\r\n")
|
||||
self._soak.write(f"{text}\n")
|
||||
payload = parse_device_json(text)
|
||||
if payload is None:
|
||||
return
|
||||
match classify_payload(payload):
|
||||
case LineKind.JSONL:
|
||||
self.stats.record(payload)
|
||||
self._jsonl.write(f"{text}\n")
|
||||
case LineKind.STATUS:
|
||||
self._status.write(f"{text}\n")
|
||||
case LineKind.RAW:
|
||||
pass
|
||||
|
||||
def write_manifest(self, run_id: str, started_at: str, ended_at: str) -> Path:
|
||||
"""Write the collector draft manifest; the soak step completes the verdict."""
|
||||
for stream in (self._soak, self._jsonl, self._status):
|
||||
stream.flush()
|
||||
manifest = {
|
||||
"schema_version": 1,
|
||||
"gate": "M1",
|
||||
"run_id": run_id,
|
||||
"verdict": "pending",
|
||||
"started_at": started_at,
|
||||
"ended_at": ended_at,
|
||||
"metrics": self.stats.as_metrics(),
|
||||
"artifacts": [
|
||||
{"name": name, "uri": name, "sha256": _sha256(self._out_dir / name)}
|
||||
for name in (SOAK_LOG, JSONL_LOG, STATUS_LOG)
|
||||
],
|
||||
"notes": "collector draft; verdict, source, and platform are completed later",
|
||||
}
|
||||
path = self._out_dir / MANIFEST_LOG
|
||||
path.write_text(f"{json.dumps(manifest, indent=2)}\n", encoding="utf-8")
|
||||
return path
|
||||
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
class CaptureSettings:
|
||||
port: str
|
||||
baud: int
|
||||
duration: float
|
||||
out_dir: Path
|
||||
status_interval: float
|
||||
|
||||
|
||||
def _pump(port: SerialPort, writer: CaptureWriter, settings: CaptureSettings) -> None:
|
||||
deadline = time.monotonic() + settings.duration
|
||||
next_status = time.monotonic() + settings.status_interval
|
||||
while time.monotonic() < deadline:
|
||||
if time.monotonic() >= next_status:
|
||||
port.write(STATUS_COMMAND)
|
||||
next_status += settings.status_interval
|
||||
line = port.readline()
|
||||
if line:
|
||||
writer.process_line(line.decode("utf-8", errors="replace"))
|
||||
|
||||
|
||||
def run_capture(settings: CaptureSettings, open_port: SerialFactory) -> Path:
|
||||
"""Capture for ``settings.duration`` seconds and return the manifest path."""
|
||||
started_at = _utc_now()
|
||||
run_id = f"m1-{datetime.now(UTC).strftime('%Y%m%dT%H%M%SZ')}"
|
||||
port = open_port(settings.port, baudrate=settings.baud, timeout=1.0)
|
||||
try:
|
||||
with CaptureWriter(settings.out_dir) as writer:
|
||||
try:
|
||||
_pump(port, writer, settings)
|
||||
finally:
|
||||
manifest_path = writer.write_manifest(run_id, started_at, _utc_now())
|
||||
return manifest_path
|
||||
finally:
|
||||
port.close()
|
||||
|
||||
|
||||
def main(argv: Sequence[str] | None = None) -> int:
|
||||
parser = argparse.ArgumentParser(description="Collect M1 gate evidence from the serial console")
|
||||
parser.add_argument(
|
||||
"--port", default="/dev/ttyACM0", help="serial device (default: %(default)s)"
|
||||
)
|
||||
parser.add_argument("--baud", type=int, default=115200, help="baud rate (default: %(default)s)")
|
||||
parser.add_argument(
|
||||
"--duration", type=float, required=True, help="capture length in seconds (soak mode)"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--out", type=Path, required=True, help="output directory for captured artifacts"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--status-interval",
|
||||
type=float,
|
||||
default=120.0,
|
||||
help="seconds between status --json polls (default: %(default)s)",
|
||||
)
|
||||
args = parser.parse_args(argv)
|
||||
|
||||
settings = CaptureSettings(
|
||||
port=args.port,
|
||||
baud=args.baud,
|
||||
duration=args.duration,
|
||||
out_dir=args.out,
|
||||
status_interval=args.status_interval,
|
||||
)
|
||||
try:
|
||||
manifest_path = run_capture(settings, load_serial())
|
||||
except OSError as error:
|
||||
print(f"{settings.port}: cannot open serial port: {error}", file=sys.stderr)
|
||||
return 1
|
||||
print(f"{manifest_path}: capture complete")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,74 @@
|
||||
"""Validate the frozen 16 MiB Frame partition layout."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import csv
|
||||
import sys
|
||||
from collections.abc import Sequence
|
||||
from pathlib import Path
|
||||
|
||||
EXPECTED_HEADER = ("# Name", "Type", "SubType", "Offset", "Size", "Flags")
|
||||
EXPECTED_PARTITIONS = (
|
||||
("nvs", "data", "nvs", "0x9000", "0x14000", ""),
|
||||
("nvs_keys", "data", "nvs_keys", "0x1D000", "0x1000", "encrypted"),
|
||||
("otadata", "data", "ota", "0x1E000", "0x2000", ""),
|
||||
("coredump", "data", "coredump", "0x20000", "0x20000", ""),
|
||||
("ota_0", "app", "ota_0", "0x40000", "0x500000", ""),
|
||||
("ota_1", "app", "ota_1", "0x540000", "0x500000", ""),
|
||||
("plugin_fs", "data", "littlefs", "0xA40000", "0x4C0000", ""),
|
||||
("system_fs", "data", "littlefs", "0xF00000", "0x100000", ""),
|
||||
)
|
||||
|
||||
|
||||
def read_layout(path: Path) -> tuple[tuple[str, ...], ...]:
|
||||
with path.open(encoding="utf-8", newline="") as stream:
|
||||
rows = csv.reader(stream, skipinitialspace=True)
|
||||
return tuple(
|
||||
tuple(cell.strip() for cell in row) for row in rows if any(cell.strip() for cell in row)
|
||||
)
|
||||
|
||||
|
||||
def validate_partitions(path: Path) -> list[str]:
|
||||
try:
|
||||
rows = read_layout(path)
|
||||
except (OSError, UnicodeError, csv.Error) as error:
|
||||
return [f"{path}: cannot read partition CSV: {error}"]
|
||||
|
||||
expected = (EXPECTED_HEADER, *EXPECTED_PARTITIONS)
|
||||
if rows == expected:
|
||||
return []
|
||||
|
||||
errors: list[str] = []
|
||||
if not rows:
|
||||
return [f"{path}: partition CSV is empty"]
|
||||
if rows[0] != EXPECTED_HEADER:
|
||||
errors.append(f"{path}: header changed: expected {EXPECTED_HEADER!r}, got {rows[0]!r}")
|
||||
|
||||
actual_partitions = rows[1:]
|
||||
for index in range(max(len(actual_partitions), len(EXPECTED_PARTITIONS))):
|
||||
expected_row = EXPECTED_PARTITIONS[index] if index < len(EXPECTED_PARTITIONS) else None
|
||||
actual_row = actual_partitions[index] if index < len(actual_partitions) else None
|
||||
if actual_row != expected_row:
|
||||
errors.append(
|
||||
f"{path}: partition row {index + 1} changed: "
|
||||
f"expected {expected_row!r}, got {actual_row!r}"
|
||||
)
|
||||
return errors
|
||||
|
||||
|
||||
def main(argv: Sequence[str] | None = None) -> int:
|
||||
parser = argparse.ArgumentParser(description="Validate the frozen Frame partition table")
|
||||
parser.add_argument("path", nargs="?", type=Path, default=Path("partitions.csv"))
|
||||
args = parser.parse_args(argv)
|
||||
|
||||
errors = validate_partitions(args.path)
|
||||
if errors:
|
||||
print("\n".join(errors), file=sys.stderr)
|
||||
return 1
|
||||
print(f"{args.path}: partition layout matches the frozen layout")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,47 @@
|
||||
"""Validate pull request titles without granting pull request code extra permissions."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
from collections.abc import Sequence
|
||||
|
||||
TITLE_PATTERN = re.compile(
|
||||
r"^(?:build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)"
|
||||
r"(?:\([a-z0-9][a-z0-9._/-]*\))?!?: \S.*$"
|
||||
)
|
||||
|
||||
|
||||
def validate_title(title: str) -> str | None:
|
||||
"""Return a diagnostic when a PR title does not follow the repository convention."""
|
||||
if title != title.strip() or "\n" in title or "\r" in title:
|
||||
return "PR title must be a single line without leading or trailing whitespace"
|
||||
if not TITLE_PATTERN.fullmatch(title):
|
||||
return (
|
||||
"PR title must use '<type>(optional-scope): summary'; allowed types are "
|
||||
"build, chore, ci, docs, feat, fix, perf, refactor, revert, style, and test"
|
||||
)
|
||||
return None
|
||||
|
||||
|
||||
def main(argv: Sequence[str] | None = None) -> int:
|
||||
parser = argparse.ArgumentParser(description="Validate a Frame pull request title")
|
||||
parser.add_argument("--title", help="title to validate; defaults to the PR_TITLE environment")
|
||||
args = parser.parse_args(argv)
|
||||
|
||||
title = args.title if args.title is not None else os.environ.get("PR_TITLE")
|
||||
if title is None:
|
||||
parser.error("--title or PR_TITLE is required")
|
||||
|
||||
error = validate_title(title)
|
||||
if error is not None:
|
||||
print(error, file=sys.stderr)
|
||||
return 1
|
||||
print("PR title is valid")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,106 @@
|
||||
"""Generate a deterministic CycloneDX inventory from Frame lock files."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import sys
|
||||
import tomllib
|
||||
from collections.abc import Sequence
|
||||
from pathlib import Path
|
||||
|
||||
import yaml
|
||||
|
||||
|
||||
def _component(
|
||||
name: str, version: str, ecosystem: str, digest: str | None = None
|
||||
) -> dict[str, object]:
|
||||
item: dict[str, object] = {
|
||||
"type": "library",
|
||||
"bom-ref": f"pkg:{ecosystem}/{name}@{version}",
|
||||
"name": name,
|
||||
"version": version,
|
||||
"purl": f"pkg:{ecosystem}/{name}@{version}",
|
||||
}
|
||||
if digest is not None:
|
||||
item["hashes"] = [{"alg": "SHA-256", "content": digest}]
|
||||
return item
|
||||
|
||||
|
||||
def locked_components(root: Path) -> list[dict[str, object]]:
|
||||
components: dict[str, dict[str, object]] = {}
|
||||
uv_data = tomllib.loads((root / "uv.lock").read_text(encoding="utf-8"))
|
||||
for package in uv_data.get("package", []):
|
||||
name = package.get("name")
|
||||
version = package.get("version")
|
||||
if not isinstance(name, str) or not isinstance(version, str) or name == "frame-tools":
|
||||
continue
|
||||
item = _component(name, version, "pypi")
|
||||
components[str(item["bom-ref"])] = item
|
||||
|
||||
lock_files = [root / "dependencies.lock", root / "poc/apps/m1_hardware/dependencies.lock"]
|
||||
for path in lock_files:
|
||||
data = yaml.safe_load(path.read_text(encoding="utf-8"))
|
||||
for name, package in data.get("dependencies", {}).items():
|
||||
if name == "idf":
|
||||
continue
|
||||
version = str(package["version"])
|
||||
digest = package.get("component_hash")
|
||||
item = _component(name, version, "espressif", digest)
|
||||
components[str(item["bom-ref"])] = item
|
||||
|
||||
idf = _component("esp-idf", "6.0.2", "github/espressif")
|
||||
components[str(idf["bom-ref"])] = idf
|
||||
googletest = _component(
|
||||
"google/googletest", "52eb8108c5bdec04579160ae17225d66034bd723", "github"
|
||||
)
|
||||
components[str(googletest["bom-ref"])] = googletest
|
||||
return [components[key] for key in sorted(components)]
|
||||
|
||||
|
||||
def generate_sbom(root: Path) -> dict[str, object]:
|
||||
return {
|
||||
"bomFormat": "CycloneDX",
|
||||
"specVersion": "1.5",
|
||||
"serialNumber": "urn:uuid:ba788506-18cf-5a4e-ae35-38d141e6db90",
|
||||
"version": 1,
|
||||
"metadata": {
|
||||
"component": {
|
||||
"type": "application",
|
||||
"bom-ref": "pkg:github/Aniakea/frame",
|
||||
"name": "Frame",
|
||||
"version": "0.1.0-dev.1",
|
||||
}
|
||||
},
|
||||
"components": locked_components(root),
|
||||
}
|
||||
|
||||
|
||||
def main(argv: Sequence[str] | None = None) -> int:
|
||||
parser = argparse.ArgumentParser(description="Generate the Frame CycloneDX SBOM")
|
||||
parser.add_argument("--root", type=Path, default=Path.cwd())
|
||||
parser.add_argument("--output", type=Path)
|
||||
args = parser.parse_args(argv)
|
||||
|
||||
try:
|
||||
output = json.dumps(generate_sbom(args.root.resolve()), indent=2, sort_keys=True) + "\n"
|
||||
except (
|
||||
OSError,
|
||||
UnicodeError,
|
||||
ValueError,
|
||||
KeyError,
|
||||
TypeError,
|
||||
tomllib.TOMLDecodeError,
|
||||
) as error:
|
||||
print(error, file=sys.stderr)
|
||||
return 1
|
||||
if args.output is None:
|
||||
sys.stdout.write(output)
|
||||
else:
|
||||
args.output.parent.mkdir(parents=True, exist_ok=True)
|
||||
args.output.write_text(output, encoding="utf-8")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -0,0 +1,400 @@
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
||||
[[package]]
|
||||
name = "attrs"
|
||||
version = "26.1.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055, upload-time = "2026-03-19T14:22:25.026Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548, upload-time = "2026-03-19T14:22:23.645Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "colorama"
|
||||
version = "0.4.6"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "frame-tools"
|
||||
version = "0.1.0"
|
||||
source = { editable = "." }
|
||||
dependencies = [
|
||||
{ name = "jsonschema" },
|
||||
{ name = "pyyaml" },
|
||||
{ name = "rfc3339-validator" },
|
||||
]
|
||||
|
||||
[package.dev-dependencies]
|
||||
dev = [
|
||||
{ name = "pyright" },
|
||||
{ name = "pytest" },
|
||||
{ name = "ruff" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
{ name = "jsonschema", specifier = ">=4.23,<5" },
|
||||
{ name = "pyyaml", specifier = ">=6.0.2,<7" },
|
||||
{ name = "rfc3339-validator", specifier = ">=0.1.4,<1" },
|
||||
]
|
||||
|
||||
[package.metadata.requires-dev]
|
||||
dev = [
|
||||
{ name = "pyright", specifier = ">=1.1.400" },
|
||||
{ name = "pytest", specifier = ">=8.4" },
|
||||
{ name = "ruff", specifier = ">=0.12" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "iniconfig"
|
||||
version = "2.3.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "jsonschema"
|
||||
version = "4.26.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "attrs" },
|
||||
{ name = "jsonschema-specifications" },
|
||||
{ name = "referencing" },
|
||||
{ name = "rpds-py" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "jsonschema-specifications"
|
||||
version = "2025.9.1"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "referencing" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nodeenv"
|
||||
version = "1.10.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/24/bf/d1bda4f6168e0b2e9e5958945e01910052158313224ada5ce1fb2e1113b8/nodeenv-1.10.0.tar.gz", hash = "sha256:996c191ad80897d076bdfba80a41994c2b47c68e224c542b48feba42ba00f8bb", size = 55611, upload-time = "2025-12-20T14:08:54.006Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/88/b2/d0896bdcdc8d28a7fc5717c305f1a861c26e18c05047949fb371034d98bd/nodeenv-1.10.0-py2.py3-none-any.whl", hash = "sha256:5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827", size = 23438, upload-time = "2025-12-20T14:08:52.782Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "packaging"
|
||||
version = "26.3"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pluggy"
|
||||
version = "1.6.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pygments"
|
||||
version = "2.21.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/49/2e/ced460408999b33da6b31b0021b0f37d329e202d4169aeb164493778f25b/pygments-2.21.0.tar.gz", hash = "sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c", size = 5005329, upload-time = "2026-08-17T08:02:48.824Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl", hash = "sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9", size = 1250147, upload-time = "2026-08-17T08:02:44.912Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyright"
|
||||
version = "1.1.411"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "nodeenv" },
|
||||
{ name = "typing-extensions" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/7e/ab/265f7dc69d28113ebba19092e57b075f41543b2ed048429c5f56e2b88eac/pyright-1.1.411.tar.gz", hash = "sha256:d885a0551f2e763b089a02702174e7f4ba77548cddabc972ab86d1f7f1b0f998", size = 4112861, upload-time = "2026-06-25T02:14:06.37Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/0a/49/385be530a6a5b78d1cbcd5c2e38debc8959a2fc6bdb716f4e581002979fc/pyright-1.1.411-py3-none-any.whl", hash = "sha256:dc7c72a8e2700c55baa127554040e067041ea53ccfd50bf96308cc4291c7d5d9", size = 6181526, upload-time = "2026-06-25T02:14:04.691Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pytest"
|
||||
version = "9.1.1"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
||||
{ name = "iniconfig" },
|
||||
{ name = "packaging" },
|
||||
{ name = "pluggy" },
|
||||
{ name = "pygments" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyyaml"
|
||||
version = "6.0.3"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826, upload-time = "2025-09-25T21:31:58.655Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577, upload-time = "2025-09-25T21:32:00.088Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556, upload-time = "2025-09-25T21:32:01.31Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114, upload-time = "2025-09-25T21:32:03.376Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638, upload-time = "2025-09-25T21:32:04.553Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463, upload-time = "2025-09-25T21:32:06.152Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986, upload-time = "2025-09-25T21:32:07.367Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543, upload-time = "2025-09-25T21:32:08.95Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763, upload-time = "2025-09-25T21:32:09.96Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "referencing"
|
||||
version = "0.37.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "attrs" },
|
||||
{ name = "rpds-py" },
|
||||
{ name = "typing-extensions", marker = "python_full_version < '3.13'" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036, upload-time = "2025-10-13T15:30:48.871Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rfc3339-validator"
|
||||
version = "0.1.4"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "six" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/28/ea/a9387748e2d111c3c2b275ba970b735e04e15cdb1eb30693b6b5708c4dbd/rfc3339_validator-0.1.4.tar.gz", hash = "sha256:138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b", size = 5513, upload-time = "2021-05-12T16:37:54.178Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/7b/44/4e421b96b67b2daff264473f7465db72fbdf36a07e05494f50300cc7b0c6/rfc3339_validator-0.1.4-py2.py3-none-any.whl", hash = "sha256:24f6ec1eda14ef823da9e36ec7113124b39c04d50a4d3d3a3c2859577e7791fa", size = 3490, upload-time = "2021-05-12T16:37:52.536Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rpds-py"
|
||||
version = "2026.6.3"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/aa/2a/9618a122aeb2a169a28b03889a2995fe297588964333d4a7d67bdf46e147/rpds_py-2026.6.3.tar.gz", hash = "sha256:1cebd1337c242e4ec2293e541f712b2da849b29f48f0c293684b71c0632625d4", size = 64051, upload-time = "2026-06-30T07:17:53.009Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/94/1f/a2dca5ffdbf1d475ffc4e80e4d5d720ff3a00f691795910116960ee12511/rpds_py-2026.6.3-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:7b689145a1485c335569bd056464f3243a29af7ed3871c7be31ad624ba239bc7", size = 342174, upload-time = "2026-06-30T07:14:54.821Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4d/dc/323d08583c0832911768663d1944f0107fcd4088704858d84b5e06d105a0/rpds_py-2026.6.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:db08f45aecde626498fb3df07bcf6d2ec040af42e859a4f5040d79c200342911", size = 345513, upload-time = "2026-06-30T07:14:56.515Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/0b/2a/e31989834d18d2f26ec1d2774c5b1eb3331df4ea8ada525175294c94b48a/rpds_py-2026.6.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:acc992ab27b15f852c76755eb2ab7dce86585ddadba6fa5946e58556088845b4", size = 373783, upload-time = "2026-06-30T07:14:57.736Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/87/fe/e80107ee3639585c9941c17d6a42cd65325022f656c023191fce78c324c8/rpds_py-2026.6.3-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7f88d653e7b3b779d71ae7454e20dcc9b6bae903f33c269db9f2be41bda3f261", size = 378316, upload-time = "2026-06-30T07:14:59.077Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/22/6f/81e3adf81acfb6fa694de2a6e4e7d8863121e3e0799e0a7725e6cf5679c4/rpds_py-2026.6.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e52655eaf81e32593abedaa4bfe33170c8cfedf3365ed9be6e11e07f148f0278", size = 499423, upload-time = "2026-06-30T07:15:00.488Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/2d/9a/41263969df0ce3d9af2a96d5005a288200af1989aed3354bfceb5fc0b21f/rpds_py-2026.6.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dfcc8b909769d19db55c7cc9541eb64b9b774b1057ffffb4f1048070475bb9f9", size = 386077, upload-time = "2026-06-30T07:15:01.911Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/5e/19/7e98f468bd50346faff5b10e5297374b443bfdddacc8e9fbc65984539597/rpds_py-2026.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c1255b302953c86a486b81d330d5ee1d5bd937691ce271b6be0ef0e299eaab7", size = 371315, upload-time = "2026-06-30T07:15:03.317Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/99/3c/2b973b4d371906a134b03decfea7f5d9835a2c6d263454392e15b64b5b18/rpds_py-2026.6.3-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:8d2294a31386bfa251d8c8a39472beee17db67d4f1a6eabea665d35c9a4461c3", size = 383502, upload-time = "2026-06-30T07:15:04.627Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/98/2a/12e2799500af0a307bca76b63361c51f9fe479223561489c29eea1f2ee41/rpds_py-2026.6.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f8f23ead891a3b762f35ab3b04623da7056545b48aa60d59957e6789914545da", size = 402673, upload-time = "2026-06-30T07:15:05.856Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/2d/e3/21e5872d165fe08be4f229e3d5ee9d90019c0bf0e5538de60dbd54009450/rpds_py-2026.6.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:421aba32367055614287a4292b6a17f1939c9452299f7a0209c117e990b646d4", size = 549964, upload-time = "2026-06-30T07:15:07.159Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/1a/d0/5ee0fe36844297de8123bee27bc12078c1a7416ad9f1b8a8ca18d6b0c0ac/rpds_py-2026.6.3-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1e5822dfc2f0d4ab7e745eaa6d85945069329beeccef965af3f3bb26058fcab6", size = 615446, upload-time = "2026-06-30T07:15:08.531Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/b1/80/1ea5873cb683f2fbe5f21b23ea1f6d179ead19f3c5b249b7eb5dca568ef2/rpds_py-2026.6.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:83e35b57523816c8613fd0776b40cd8bb9f596b37ddd2692eb4a6bb5ab2f8c93", size = 576975, upload-time = "2026-06-30T07:15:09.97Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c9/e1/90ef639217a5ddb15b7f4f61b1c33911fd044ad03c311bafdd2bcab85582/rpds_py-2026.6.3-cp311-cp311-win32.whl", hash = "sha256:de3eceba0b683bcbb1ab93da016d0270df1f9ae7be716b40214c5dafac6ea45a", size = 204453, upload-time = "2026-06-30T07:15:11.324Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f2/b7/b7a1695d7af36f521fb11e80d6d3adbd744f73b921859bd3c2a2c0dc706f/rpds_py-2026.6.3-cp311-cp311-win_amd64.whl", hash = "sha256:2c54a076ca4d370980ab57bc0e31df57bbe8d41340436a90ef8b1219a3cbb127", size = 223219, upload-time = "2026-06-30T07:15:12.476Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d7/a2/145afacf796e4506062825941176ad9445c2dcf2b3b6a1f13d3030a15e19/rpds_py-2026.6.3-cp311-cp311-win_arm64.whl", hash = "sha256:168c733a7112e071bb7a66460e667edfcff06c017a3c523f7a8a8e08d0140804", size = 219137, upload-time = "2026-06-30T07:15:13.631Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/5c/be/2e8974163072e7bab7df1a5acd54c4498e75e35d6d18b864d3a9d5dadc92/rpds_py-2026.6.3-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:a0811d33247c3d6128a3001d763f2aa056bb3425204335400ac54f89eec3a0d0", size = 343691, upload-time = "2026-06-30T07:15:14.96Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a4/73/319dfa745dd668efe89309141ded489126461fcecd2b8f3a3cda185129b6/rpds_py-2026.6.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:538949e262e46caa31ac01bdb3c1e8f642622922cacbabbae6a8445d9dc33eaf", size = 338542, upload-time = "2026-06-30T07:15:16.267Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/21/63/4239893be1c4d09b709b1a8f6be4188f0870084ff547f46606b8a75f1b03/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:55927d532399c2c646100ff7feb48eaa940ad70f42cd68e1328f3ded9f81ca24", size = 368180, upload-time = "2026-06-30T07:15:17.62Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/1c/ca/9c5de382225234ceb37b1844ebdb140db12b2a278bb9efe2fcd19f6c82ce/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f56f1695bc5c0871cbc33dc0130fcf503aab0c57dcc5a6700a4f49eba4f2652e", size = 375067, upload-time = "2026-06-30T07:15:18.952Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/87/dc/863f69d1bf04ade34b7fe0d59b9fdf6f0135fe2d7cbca74f1d665589559d/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:270b293dae9058fc9fcedab50f13cebf46fb8ed1d1d54e0521a9da5d6b211975", size = 490509, upload-time = "2026-06-30T07:15:20.434Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ce/ef/eac16a12048b45ec7c7fa94f2be3438a5f26bf9cc8580b18a1cfd609b7f6/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:127565fead0a10943b282957bd5447804ff3160ad79f2ad2635e6d249e380680", size = 382754, upload-time = "2026-06-30T07:15:21.831Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/04/8f/d2f3f532616be4d06c316ef119683e832bd3d41e112bf3a88f4151c95b17/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ecabd69db66de867690f9797f2f8fa27ba501bbc24540cbdbdc649cd15888ba6", size = 366189, upload-time = "2026-06-30T07:15:23.371Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/e3/29/41a7b0e98a4b44cd676ab7598419623373eb43b20be68c084935c1a8cf88/rpds_py-2026.6.3-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:58eadac9cd119677b60e1cf8ac4052f35949d71b8a9e5556efccbe82533cf22a", size = 377750, upload-time = "2026-06-30T07:15:24.659Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/2e/05/ecda0bec46f9a1565090bcdc941d023f6a25aff85fda28f89f8d19878152/rpds_py-2026.6.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7491ee23305ac3eb59e492b6945881f5cd77a6f731061a3f25b77fd40f9e99a4", size = 395576, upload-time = "2026-06-30T07:15:25.987Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/68/a8/6ed52f03ee6cb854ce78785cc9a9a672eb880e83fd7224d471f667d151f1/rpds_py-2026.6.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2c99f7e8ccb3dd6e3e4bfeac657a7b208c9bac8075f4b078c02d7404c34107fa", size = 543807, upload-time = "2026-06-30T07:15:27.356Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/8f/d6/156c0d3eea27ba09b92562ba2364ba124c0a061b199e17eac637cd25a5e2/rpds_py-2026.6.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:62698275682bf121181861295c9181e789030a2d516071f5b8f3c23c170cd0fc", size = 611187, upload-time = "2026-06-30T07:15:28.931Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f1/31/774212ed989c62f7f310220089f9b0a3fb8f40f5443d1727abd5d9f52bc9/rpds_py-2026.6.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a214c993455f99a89aaeadc9b21241900037adc9d97203e374d75513c5911822", size = 573030, upload-time = "2026-06-30T07:15:30.553Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c9/50/22f73127a41f1ce4f87fe39aadfb9a126345801c274aa93ae88456249327/rpds_py-2026.6.3-cp312-cp312-win32.whl", hash = "sha256:501f9f04a588d6a09179368c57071301445191767c64e4b52a6aa9871f1ef5ed", size = 202185, upload-time = "2026-06-30T07:15:32.027Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/04/3a/f0ee4d4dde9d3b69dedf1b5f74e7a40017046d55052d173e418c6a94f960/rpds_py-2026.6.3-cp312-cp312-win_amd64.whl", hash = "sha256:2c958bf94822e9290a40aaf2a822d4bc5c88099093e3948ad6c571eca9272e5f", size = 220394, upload-time = "2026-06-30T07:15:33.359Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f3/83/3382fe37f809b59f02aac04dbc4e765b480b46ee0227ed516e3bdc4d3dfc/rpds_py-2026.6.3-cp312-cp312-win_arm64.whl", hash = "sha256:22bffe6042b9bcb0822bcd1955ec00e245daf17b4344e4ed8e9551b976b63e96", size = 215753, upload-time = "2026-06-30T07:15:34.778Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a4/9e/b818ee580026ec578138e961027a68820c40afeb1ec8f6819b54fb99e196/rpds_py-2026.6.3-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:3cfe765c1da0072636ca06628261e0ea05688e160d5c8a03e0217c3854037223", size = 343012, upload-time = "2026-06-30T07:15:36.005Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f3/6b/686d9dc4359a8f163cfbbf89ee0b4e586431de22fe8248edb63a8cf50d49/rpds_py-2026.6.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f4d78253f6996be4901669ad25319f842f740eccf4d58e3c7f3dd39e6dde1d8f", size = 338203, upload-time = "2026-06-30T07:15:37.462Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9e/9b/069aa329940f8207615e091f5eedbbd40e1e15eac68a0790fd05ccdf796c/rpds_py-2026.6.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:54f45a148e28767bf343d33a684693c70e451c6f4c0e9904709a723fafbdfc1f", size = 367984, upload-time = "2026-06-30T07:15:39.008Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/14/db/34c203e4becff3703e4d3bc121842c00b8689197f398161203a880052f4e/rpds_py-2026.6.3-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:842e7b070435622248c7a2c44ae53fa1440e073cc3023bc919fed570884097a7", size = 374815, upload-time = "2026-06-30T07:15:40.253Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ee/7d/8071067d2cc453d916ad836e828c943f575e8a44612537759002a1e07381/rpds_py-2026.6.3-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8020133a74bd81b4572dd8e4be028a6b1ebcd70e6726edc3918008c08bee6ee6", size = 490545, upload-time = "2026-06-30T07:15:41.729Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a3/42/da06c5aa8f0484ff07f270787434204d9f4535e2f8c3b51ed402267e63c3/rpds_py-2026.6.3-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cdc7e35386f3847df728fbcb5e887e2d79c19e2fa1eba9e51b6621d23e3243af", size = 382828, upload-time = "2026-06-30T07:15:43.327Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/57/d7/fe978efc2ae50abe48eb7464668ea99f53c010c60aeebb7b35ad27f23661/rpds_py-2026.6.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:acac386b453c2516111b50985d60ce46e7fadb5ea71ae7b25f4c946935bf27cf", size = 365678, upload-time = "2026-06-30T07:15:44.992Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/69/9d/1d8922e1990b2a6eb532b6ff53d3e73d2b3bbffc84116c75826bee73dfc6/rpds_py-2026.6.3-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:425560c6fa0415f27261727bb20bd097568485e5eb0c121f1949417d1c516885", size = 377811, upload-time = "2026-06-30T07:15:46.523Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/b1/3d/198dceafb4fb034a6a47347e1b0735d34e0bd4a50be4e898d408ee66cb14/rpds_py-2026.6.3-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a550fb4950a06dde3beb4721f5ad4b25bf4513784665b0a8522c792e2bd822a4", size = 395382, upload-time = "2026-06-30T07:15:47.955Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/1f/f1/13968e49655d40b6b19d8b9140296bbc6f1d86b3f0f6c346cf9f1adddf4b/rpds_py-2026.6.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4f4bca01b63096f606e095734dd56e74e175f94cfbf24ff3d63281cec61f7bb7", size = 543832, upload-time = "2026-06-30T07:15:49.33Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ac/ab/289bcb1b90bd3e40a2900c561fa0e2087345ecbb094f0b870f2345142b7c/rpds_py-2026.6.3-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ccffae9a092a00deb7efd545fe5e2c33c33b88e7c054337e9a74c179347d0b7d", size = 611011, upload-time = "2026-06-30T07:15:50.847Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/1e/16/5043105e679436ccfbc8e5e0dd2d663ed18a8b8113515fd06a5e5d77c83e/rpds_py-2026.6.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1cf01971c4f2c5553b772a542e4aaf191789cd331bc2cd4ff0e6e65ba49e1e97", size = 572431, upload-time = "2026-06-30T07:15:52.394Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/85/ed/adab103321c0a6565d5ae1c2998349bc3ee175b82ccc5ae8fc04cc413075/rpds_py-2026.6.3-cp313-cp313-win32.whl", hash = "sha256:8c3d1e9c15b9d51ca0391e13da1a25a0a4df3c58a37c9dc368e0736cf7f69df0", size = 201710, upload-time = "2026-06-30T07:15:53.894Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/7b/ed/a03b09668e74e5dabbf2e211f6468e1820c0552f7b0500082da31841bf7b/rpds_py-2026.6.3-cp313-cp313-win_amd64.whl", hash = "sha256:9250a9a0a6fd4648b3f868da8d91a4c52b5811a62df58e753d50ae4454a36f80", size = 219454, upload-time = "2026-06-30T07:15:55.25Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/27/17/b8642c12930b71bc2b25831f6708ccf0f75abcd11883932ec9ce54ba3a78/rpds_py-2026.6.3-cp313-cp313-win_arm64.whl", hash = "sha256:900a67df3fd1660b035a4761c4ce73c382ea6b35f90f9863c36c6fd8bf8b09bb", size = 215063, upload-time = "2026-06-30T07:15:56.573Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/b6/36/7fbe9dcdaf857fb3f63c2a2284b62492d95f5e8334e947e5fb6e7f68c9be/rpds_py-2026.6.3-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:931908d9fc855d8f74783377822be318edb6dcb19e47169dc038f9a1bf60b06e", size = 344510, upload-time = "2026-06-30T07:15:57.921Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ba/54/f785cc3d3f60839ca57a5af4927a9f347b07b2799c373fc20f7949f87c7e/rpds_py-2026.6.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:d7469697dce35be237db177d42e2a2ee26e6dcc5fc052078a6fefabd288c6edd", size = 339495, upload-time = "2026-06-30T07:15:59.238Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/63/ef/d4cdaf309e6b095b43597103cf8c0b951d6cca2acce68c474f75ec12e0c7/rpds_py-2026.6.3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bcfbcf66006befb9fd2aeaa9e01feaf881b4dc330a02ba07d2322b1c11be7b5d", size = 369454, upload-time = "2026-06-30T07:16:01.021Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/96/4a/9559a68b7ee15db09d7981212e8c2e219d2a1d6d4faa0391d813c3496a36/rpds_py-2026.6.3-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:847927daf4cffbd4e90e42bc890069897101edd015f956cb8721b3473372edda", size = 374583, upload-time = "2026-06-30T07:16:02.287Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ef/75/8964aa7d2c6e8ac43eba8eb6e6b0fdda1f46d39f2fc3e6aa9f2cb17f485d/rpds_py-2026.6.3-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aca6c1ef08a82bfe327cc156da694660f599923e2e6665b6d81c9c2d0ac9ffc8", size = 492919, upload-time = "2026-06-30T07:16:03.723Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/8f/97/6908094ac804115e65aedfd90f1b5fee4eebebd3f6c4cfc5419939267565/rpds_py-2026.6.3-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ae50181a047c871561212bb97f7932a2d45fb53e947bd9b57ebad85b529cbc53", size = 383725, upload-time = "2026-06-30T07:16:05.305Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d1/9c/0d1fdc2e7aba23e290d603bc494e97bd205bae262ce33c6b32a69768ed5e/rpds_py-2026.6.3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dc319e5a1de4b6913aac94bf6a2f9e847371e0a140a43dd4991db1a09bc2d504", size = 367255, upload-time = "2026-06-30T07:16:07.086Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c4/fe/f0209ca4a9ed074bc8acb44dfd0e81c3122e94c9689f5645b7973a866719/rpds_py-2026.6.3-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:e4316bf32babbed84e691e352faf967ce2f0f024174a8643c37c94a1080374fc", size = 379060, upload-time = "2026-06-30T07:16:08.525Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c6/8d/f1cc54c616b9d8897de8738aac148d20afca93f68187475fe194d09a71b9/rpds_py-2026.6.3-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8c6e5a2f750cc71c3e3b11d71661f21d6f9bc6cebc6564b1466417a1ec03ec77", size = 395960, upload-time = "2026-06-30T07:16:09.989Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/fb/04/aafff00f73aeca2945f734f1d483c64ab8f472d0864ab02377fd8e89c3b2/rpds_py-2026.6.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:4470ce197d4090875cf6affbf1f853338387428df97c4fb7b7106317b8214698", size = 545356, upload-time = "2026-06-30T07:16:11.816Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/fd/cc/e229663b9e4ddac5a4acbe9085dd80a71af2a5d356b8b39d6bff233f24b0/rpds_py-2026.6.3-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:ea964164cc9afa72d4d9b23cc28dafae93693c0a53e0b42acbff15b22c3f9ddd", size = 612319, upload-time = "2026-06-30T07:16:13.586Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/e3/7a/8a0e6d3e6cd066af108b71b43122c3fe158dd9eb86acac626593a2582eb1/rpds_py-2026.6.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:639c8929aa0afe81be836b04de888460d6bed38b9c54cfc18da8f6bfabf5af5d", size = 573508, upload-time = "2026-06-30T07:16:15.23Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/87/03/2a69ab618a789cf6cf85c86bb844c62d090e700ab1a2aa676b3741b6c516/rpds_py-2026.6.3-cp314-cp314-win32.whl", hash = "sha256:882076c00c0a608b131187055ddc5ae29f2e7eaf870d6168980420d58528a5c8", size = 202504, upload-time = "2026-06-30T07:16:16.893Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/85/62/a3892ba945f4e24c78f352e5de3c7620d8479f73f211406a97263d13c7d2/rpds_py-2026.6.3-cp314-cp314-win_amd64.whl", hash = "sha256:0be972be84cfcaf46c8c6edf690ca0f154ac17babf1f6a955a51579b34ad2dc5", size = 220380, upload-time = "2026-06-30T07:16:18.108Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/3d/e7/c2bd44dc831931815ad11ebb5f430b5a0a4d3caa9de837107876c30c3432/rpds_py-2026.6.3-cp314-cp314-win_arm64.whl", hash = "sha256:2a9c6f195058cb45335e8cc3802745c603d716eb96bc9625950c1aac71c0c703", size = 215976, upload-time = "2026-06-30T07:16:19.654Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/79/9c/fff7b74bce9a091ec9a012a03f9ff5f69364eaf9451060dfc4486da2ffdd/rpds_py-2026.6.3-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:f90938e92afda60266da758ee7d363447f7f0138c9559f9e1811629580582d90", size = 346840, upload-time = "2026-06-30T07:16:21.268Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/e9/44/77bcb1168b33704908295533d27f10eb811e9e3e193e8993dc99572211d3/rpds_py-2026.6.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ec829541c45bca16e61c7ae50c20501f213605beb75d1aba91a6ee37fbbb56a4", size = 340282, upload-time = "2026-06-30T07:16:22.875Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/87/3c/7a9081c7c9e645b39efe19e4ffbeccd80add246327cd9b888aecffd72317/rpds_py-2026.6.3-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:afd70d95892096cdb26f15a00c45907b17817577aa8d1c76b2dcc2788391f9e9", size = 370403, upload-time = "2026-06-30T07:16:24.415Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f7/69/af47021eb7dad6ff3396cb001c08f0f3c4d06c20253f75be6421a59fe6b7/rpds_py-2026.6.3-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:29dfa0533a5d4c94d4dfa1b694fcb56c9c63aad8330ffdd816fd225d0a7a162f", size = 376055, upload-time = "2026-06-30T07:16:26.111Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/81/fc/a3bcf517084396a6dd258c592567a3c011ba4557f2fde23dceaf26e74f2e/rpds_py-2026.6.3-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:af05d726809bff6b141be124d4c7ce998f9c9c7f30edb1f46c07aa103d540b41", size = 494419, upload-time = "2026-06-30T07:16:27.596Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c9/eb/13d529d1788135425c7bf207f8463458ca5d92e43f3f701365b83e9dffc1/rpds_py-2026.6.3-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9826217f048f620d9a712672818bf231442c1b35d96b227a07eabd11b4bb6945", size = 384848, upload-time = "2026-06-30T07:16:29.183Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/8e/f4/b7ac49f30013aba8f7b9566b1dd07e81de95e708c1374b7bacc5b9bc5c9c/rpds_py-2026.6.3-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:536bceea4fa4acf7e1c61da2b5786304367c816c8895be71b8f537c480b0ea1f", size = 371369, upload-time = "2026-06-30T07:16:30.912Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/31/86/6260bafa622f788b07ddec0e52d810305c8b9b0b8c27f58a2ab04bf62b4f/rpds_py-2026.6.3-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:bc0011654b91cc4fb2ae701bec0a0ba1e552c0714247fa7af6c59e0ccfa3a4e1", size = 379673, upload-time = "2026-06-30T07:16:32.486Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/19/c3/03f1ee79a047b48daeca157c89a18509cde22b6b951d642b9b0af1be660a/rpds_py-2026.6.3-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:539d75de9e0d536c84ff18dfeb805398e58227001ce09231a26a08b9aed1ee0e", size = 397500, upload-time = "2026-06-30T07:16:34.471Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f0/95/8ed0cd8c377dca12aea498f119fe639fc474d1461545c39d2b5872eb1c0f/rpds_py-2026.6.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:166cf54d9f44fc6ceb53c7860258dde44a81406646de79f8ed3234fca3b6e538", size = 545978, upload-time = "2026-06-30T07:16:36.45Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d3/f2/0eb57f0eaa83f8fc152a7e03de968ab77e1f00732bebc892b190c6eebde7/rpds_py-2026.6.3-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:d34c20167764fbcf927194d532dd7e0c56772f0a5f943fa5ef9e9afbba8fb9db", size = 613350, upload-time = "2026-06-30T07:16:38.213Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/5b/de/e0674bdbc3ef7634989b3f854c3f34bc1f587d36e5bfdc5c378d57034619/rpds_py-2026.6.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ea7bb13b7c9a29791f87a0387ba7d3ad3a6d783d827e4d3f27b40a0ff44495e2", size = 576486, upload-time = "2026-06-30T07:16:39.797Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f2/f6/21101359743cd136ada781e8210a85769578422ba460672eea0e29739200/rpds_py-2026.6.3-cp314-cp314t-win32.whl", hash = "sha256:6de4744d05bd1aa1be4ed7ea1189e3979196808008113bbbf899a460966b925e", size = 201068, upload-time = "2026-06-30T07:16:41.316Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a6/b2/9574d4d44f7760c2aa32d92a0a4f41698e33f5b204a0bf5c9758f52c79d5/rpds_py-2026.6.3-cp314-cp314t-win_amd64.whl", hash = "sha256:c7b9a2f8f4d8e90af72571d3d495deebdd7e3c75451f5b41719aee166e940fc2", size = 220600, upload-time = "2026-06-30T07:16:43.091Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/08/ae/f23a2697e6ee6340a578b0f136be6483657bef0c6f9497b752bb5c0964bb/rpds_py-2026.6.3-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:e059c5dde6452b44424bd1834557556c226b57781dee1227af23518459722b13", size = 344726, upload-time = "2026-06-30T07:16:44.5Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c3/63/e7b3a1a5358dd32c930a1062d8e15b67fd6e8922e81df9e91706d66ee5c8/rpds_py-2026.6.3-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:2f7c26fbc5acd2522b95d4177fe4710ffd8e9b20529e703ffbf8db4d93903f05", size = 339587, upload-time = "2026-06-30T07:16:46.255Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ec/64/10a85681916ca55fffb91b0a211f84e34297c109243484dd6394660a8a7c/rpds_py-2026.6.3-cp315-cp315-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a3086b538543802f84c843911242db20447de00d8752dd0efc936dbcf02218ba", size = 369585, upload-time = "2026-06-30T07:16:48.101Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/76/c2/baf95c7c38823e12ba34407c5f5767a89e5cf2233895e56f608167ae9493/rpds_py-2026.6.3-cp315-cp315-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8f2e5c5ee828d42cb11760761c0af6507927bec42d0ad5458f97c9203b054617", size = 375479, upload-time = "2026-06-30T07:16:49.93Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/6a/94/0aad06c72d65101e11d33528d438cda99a39ce0da99466e156158f2541d3/rpds_py-2026.6.3-cp315-cp315-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ed0c1e5d10cdc7135537988c74a0188da68e2f3c30813ba3744ab1e42e0480f9", size = 492418, upload-time = "2026-06-30T07:16:51.641Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/b5/17/de3f5a479a1f056535d7489819639d8cd591ea6281d700390b43b1abd745/rpds_py-2026.6.3-cp315-cp315-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8c2642a7603ec0b16ed77da4555db3b4b472341904873788327c0b0d7b95f1bb", size = 384123, upload-time = "2026-06-30T07:16:53.622Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/46/7d/bf09bd1b145bb2671c03e1e6d1ab8651858d90d8c7dfeadd85a37a934fd8/rpds_py-2026.6.3-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8e4320744c1ffdd95a603def63344bfab2d33edeab301c5007e7de9f9f5b3885", size = 367351, upload-time = "2026-06-30T07:16:55.241Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a3/ea/1bb734f314b8be319149ddee80b18bd41372bdcfbdf88d28131c0cd37719/rpds_py-2026.6.3-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:a9f4645593036b81bbdb36b9c8e0ea0d1c3fee968c4d59db0344c14087ef143a", size = 378827, upload-time = "2026-06-30T07:16:56.841Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4b/93/d9611e5b25e26df9a3649813ed66193ace9347a7c7fc4ab7cf70e94851c0/rpds_py-2026.6.3-cp315-cp315-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e55d236be29255554da47abe5c577637db7c24a02b8b46f0ca9524c855801868", size = 395966, upload-time = "2026-06-30T07:16:58.557Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c3/cb/99d77e16e5534ae1d90629bbe419ba6ee170833a6a85e3aa1cc41726fbbc/rpds_py-2026.6.3-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:24e9c5386e16669b674a69c156c8eeefcb578f3b3397b713b08e6d60f3c7b187", size = 545680, upload-time = "2026-06-30T07:17:00.164Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/59/15/11a29755f790cef7a2f755e8e14f4f0c33f39489e1893a632a2eee59672b/rpds_py-2026.6.3-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:c60924535c75f1566b6eb75b5c31a48a43fef04fa2d0d201acbad8a9969c6107", size = 611853, upload-time = "2026-06-30T07:17:01.962Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/68/86/0c27547e21644da938fb530f7e1a8148dd24d02db07e7a5f2567a17ce710/rpds_py-2026.6.3-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:38a2fea2787428f811719ceb9114cb78964a3138838320c29ac39526c79c16ba", size = 573715, upload-time = "2026-06-30T07:17:03.693Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/29/71/4d8fcf700931815594bce892255bbd973b94efaf0fc1932b0590df18d886/rpds_py-2026.6.3-cp315-cp315-win32.whl", hash = "sha256:d483fe17f01ad64b7bf7cc38fcefff1ca9fb83f8c2b2542b68f97ffe0611b369", size = 202864, upload-time = "2026-06-30T07:17:05.746Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/eb/62/b577562de0edbb55b2be85ce5fd09c33e386b9b13eee09833af4240fd5c4/rpds_py-2026.6.3-cp315-cp315-win_amd64.whl", hash = "sha256:67e3a721ffc5d8d2210d3671872298c4a84e4b8035cfe42ffd7cde35d772b146", size = 220430, upload-time = "2026-06-30T07:17:07.471Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c8/95/d6d0b2509825141eef60669a5739eec88dbc6a48053d6c92993a5704defe/rpds_py-2026.6.3-cp315-cp315-win_arm64.whl", hash = "sha256:6e84adbcf4bf841aed8116a8264b9f50b4cb3e7bd89b516122e616ac56ca269e", size = 215877, upload-time = "2026-06-30T07:17:09.008Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/b7/bf/f3ea278f0afd615c1d0f19cb69043a41526e2bb600c2b536eb192218eb27/rpds_py-2026.6.3-cp315-cp315t-macosx_10_12_x86_64.whl", hash = "sha256:ae6dd8f10bd17aad820876d24caec9efdafd80a318d16c0a48edb5e136902c6b", size = 346933, upload-time = "2026-06-30T07:17:10.762Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9d/29/9907bdf1c5346763cf10b7f6852aad86652168c259def904cbe0082c5864/rpds_py-2026.6.3-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:bdbd97738551fca3917c1bd7188bec1920bb520104f28e7e1007f9ceb17b7690", size = 340274, upload-time = "2026-06-30T07:17:12.266Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/6f/2c/8e03767b5778ef25cebf74a7a91a2c3806f8eced4c92cb7406bbe060756d/rpds_py-2026.6.3-cp315-cp315t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8b95977e7211527ab0ba576e286d023389fbeeb32a6b7b771665d333c60e5342", size = 370763, upload-time = "2026-06-30T07:17:14.107Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/2e/e1/df2a7e1ba2efd796af26194250b8d42c821b46592311595162af9ef0528d/rpds_py-2026.6.3-cp315-cp315t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d15fde0e6fb0d88a60d221204873743e5d9f0b7d29165e62cd86d0413ad74ba6", size = 376467, upload-time = "2026-06-30T07:17:15.76Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/6b/de/8a0814d1946af29cb068fb259aa8622f856df1d0bab58429448726b537f5/rpds_py-2026.6.3-cp315-cp315t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a136d453475ac0fcbda502ef1e6504bd28d6d904700915d278deeab0d00fe140", size = 496689, upload-time = "2026-06-30T07:17:17.308Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/df/f3/f19e0c852ba13694f5a79f3b719331051573cb5693feacf8a88ffffc3a71/rpds_py-2026.6.3-cp315-cp315t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f826877d462181e5eb1c26a0026b8d0cab05d99844ecb6d8bf3627a2ca0c0442", size = 385340, upload-time = "2026-06-30T07:17:18.928Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/e2/ae/7ec3a9d2d4351f99e37bcb06b6b6f954512646bfdbf9742e1de727865daf/rpds_py-2026.6.3-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:79486287de1730dbaff3dbd124d0ca4d2ef7f9d29bf2544f1f93c09b5bcbbd12", size = 372179, upload-time = "2026-06-30T07:17:20.539Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d3/ac/9cee911dff2aaa9a5a8354f6610bf2e6a616de9197c5fff4f54f82585f1e/rpds_py-2026.6.3-cp315-cp315t-manylinux_2_31_riscv64.whl", hash = "sha256:808345f53cb952433ca2816f1604ff3515608a81784954f38d4452acfe8e61d5", size = 379993, upload-time = "2026-06-30T07:17:22.212Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/83/6b/7c2a07ba88d1e9a936612f7a5d067467ed03d971d5a06f7d309dff044a7e/rpds_py-2026.6.3-cp315-cp315t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1967debc37f64f2c4dc90a7f563aec558b471966e12adcac4e1c4240496b6ebf", size = 398909, upload-time = "2026-06-30T07:17:23.66Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/97/0b/776ffcb66783637b0031f6d58d6fb55913c8b5abf00aeecd46bf933fb477/rpds_py-2026.6.3-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:f0840b5b17057f7fd918b76183a4b5a0635f43e14eb2ce60dce1d4ee4707ea00", size = 546584, upload-time = "2026-06-30T07:17:25.264Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/55/33/ba3bc04d7092bd553c9b2b195624992d2cc4f3de1f380b7b93cbee67bd79/rpds_py-2026.6.3-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:faa679d19a6696fd54259ad321251ad77a13e70e03dd834daa762a44fb6196ef", size = 614357, upload-time = "2026-06-30T07:17:26.888Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/8b/71/14edf065f04630b1a8472f7653cad03f6c478bcf95ea0e6aed55451e33ea/rpds_py-2026.6.3-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:23a439f31ccbeff1574e24889128821d1f7917470e830cf6544dced1c662262a", size = 576533, upload-time = "2026-06-30T07:17:28.546Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ba/76/65002b08596c389105720a8c0d22298b8dc25a4baf89b2ce431343c8b1de/rpds_py-2026.6.3-cp315-cp315t-win32.whl", hash = "sha256:913ca42ccad3f8cc6e292b587ae8ae49c8c823e5dce51a736252fc7c7cdfa577", size = 201204, upload-time = "2026-06-30T07:17:30.193Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/8c/97/d855d6b3c322d1f27e26f5241c42016b56cf01377ea8ed348285f54652f0/rpds_py-2026.6.3-cp315-cp315t-win_amd64.whl", hash = "sha256:ae3d4fe8c0b9213624fdce7279d70e3b148b682ca20719ebd193a23ebfa47324", size = 220719, upload-time = "2026-06-30T07:17:31.788Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/b4/9c/f0d19ac587fd0e4ab6b72cda355e9c5a6166b01ef7e064e437aef8eb9fef/rpds_py-2026.6.3-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:4cf2d36a2357e4d07bb5a4f98801265327b48256867816cfd2ceb001e9754a8f", size = 349791, upload-time = "2026-06-30T07:17:33.315Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/38/c7/1d49d204c9fd2ee6c537601dc4c1ba921e03363ca576bfab94a00254ac9a/rpds_py-2026.6.3-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:30c6dc199b24a5e3e81d50da0f00858c5bbdb2617a750395687f4339c5818171", size = 352842, upload-time = "2026-06-30T07:17:34.897Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ac/e5/c0b5dc93cd0d4c06ce1f438907649514e2ea077bcd911e3154a51e96c38e/rpds_py-2026.6.3-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9891e594296ab9dada6551c8e7b387b2721f27a67eecd528412e8906247a7b90", size = 382094, upload-time = "2026-06-30T07:17:36.514Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/0d/54/ec0e907b4ca8d541112db352409bd15f871c9b243e0c92c9b5a46ae96f01/rpds_py-2026.6.3-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b5c2dc92304aa48a4a60443b548bb12f12e119d4b72f314015e67b9e1be97fca", size = 388662, upload-time = "2026-06-30T07:17:38.235Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d3/f4/921c22a4fd0f1c1ac13a3996ffbf0aa67951e2c8ad0d1d9574938a2932e8/rpds_py-2026.6.3-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:127e08c0642d880cf32ca47ec2a4a77b901f7e2dd1ad9762adb13955d72ffcc9", size = 504896, upload-time = "2026-06-30T07:17:39.689Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/0b/1b/a114b972cefa1ab1cdb3c7bb177cd3844a12826c507c722d3a73516dbbaf/rpds_py-2026.6.3-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8bb68f03f395eb793220b45c097bd4d8c32944393da0fad8b999efac0868fc8c", size = 391545, upload-time = "2026-06-30T07:17:41.336Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4e/98/af9b3db77d47fcbe6c8c1f36e2c2147ec70292819e99c325f871584a1c11/rpds_py-2026.6.3-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a3450b693fde92133e9f51060568a4c31fcca76d5e53bbd611e689ca446517e9", size = 380059, upload-time = "2026-06-30T07:17:42.857Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/c9/ba/0efd8668b97c1d26a61566386c636a7a7a09829e474fdf807caa15a2c844/rpds_py-2026.6.3-pp311-pypy311_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:5e8d07bddee435a2ff6f1920e18feff28d0bc4533e42f4bf6927fbd073312c41", size = 393235, upload-time = "2026-06-30T07:17:44.637Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/62/90/8c139ee9690f73b0829f32647de6f40d826f8f443af6fa72644f96351aac/rpds_py-2026.6.3-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3a83ae6c67b7676b9878378547ca8e93ed77a580037bcbcd1d32f739e1e6089c", size = 413008, upload-time = "2026-06-30T07:17:46.225Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9c/97/0043896fdd7828ce09a1d9a8b06433714d0960fc4ff3fc4aa72b666b764e/rpds_py-2026.6.3-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:2bfd04c19ddbd6640de0b51894d764bd2758854d5b75bd102d2ef10cb9c293a9", size = 558118, upload-time = "2026-06-30T07:17:47.759Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/f6/40/02355f0e134f783a8f9814c4680a1bd311d37671577a5964ea838573ff37/rpds_py-2026.6.3-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:ca6546b66be9dc4738b1b043d5ebd5488c66c578c5ff0fd0e8065313fe3afb76", size = 623138, upload-time = "2026-06-30T07:17:49.355Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/10/85/48f0abdcef5cce4e034c7a5b0ceeceba0b01bf0d942824f4bb720afe2dec/rpds_py-2026.6.3-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:8e65860d238379ed982fd9ba690579b5e95af2f4840f99c772816dbe573cb826", size = 586486, upload-time = "2026-06-30T07:17:51.141Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ruff"
|
||||
version = "0.16.5"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/f3/85/c8e12473c93018f92d19dd988a294202e1c27426c47ec4de53ffb847b8d8/ruff-0.16.5.tar.gz", hash = "sha256:1b88500f9ffbcab3dedb0082c9f9492e91ec3d618aac1236a3e0189938f7040b", size = 4912003, upload-time = "2026-08-27T16:34:18.258Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/c6/b6/77c90a970fe2dae17a723acbd011043ea97c98d7deacccefdc4ba74ec512/ruff-0.16.5-py3-none-linux_armv6l.whl", hash = "sha256:12e5f673e774c35fbb62f288809c7653b73445f8ecec6b6063fd6ea3521aa14b", size = 10011941, upload-time = "2026-08-27T16:33:41.287Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/4b/46/6cf67cf6411885a1d6f7f6d801682f155536a85176d10b605e2ceffed8bd/ruff-0.16.5-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:eda58a5802de40e7ed5b32b64e0b32539338cc6fcd2c78f61e3ad6a0d79f51c3", size = 10204049, upload-time = "2026-08-27T16:33:44.056Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/46/fd/c8720ca7a090abf0c2fef4abe8a5ef6e5127ed15196d8886ff75a2b370e2/ruff-0.16.5-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c5ae9a7b9a8875131f40f8fe967cc86abf899779efd663cb7ce3d572d01da7eb", size = 9809037, upload-time = "2026-08-27T16:33:46.257Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/43/45/a684caacdedaca180f52bacccc40bf0789d2c5a7c75f25324853e9eaedb5/ruff-0.16.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7b719b0a1f4d59710d283ab2965f621684a108a9e41da622e3b23f0326cd0025", size = 9964129, upload-time = "2026-08-27T16:33:48.352Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/9e/f2/5d2bcdaca6b5b93d1b4dfc166cd2aebf7680143a1b38a28759df13a94d31/ruff-0.16.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2298f2780ed1be0c5cb1361e32ab7b1467f3cce7dabe101d2210a314f2fe42e9", size = 9821518, upload-time = "2026-08-27T16:33:50.57Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/aa/ff/011cce29accf9257d5974145b733fc653a37985ed6825413a3987cefbfe0/ruff-0.16.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:258f29035a2dd021e7861e631b227a5b3f14e50c1184c9a6a122c5f4576154d7", size = 10534835, upload-time = "2026-08-27T16:33:52.522Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/d7/5a/f0cf109bada9bba0e96c90c21c9f9251803f57225c32d293327a03c710d6/ruff-0.16.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b9a4f0432966834019c74d1b7e5c51224305d7713f3d7faf3e7451f1a3be3cde", size = 11252550, upload-time = "2026-08-27T16:33:54.521Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/63/4d/1d481aaea2046c6a7ed7c291f9004c669cce3c087b6b376ed5b08271e3fe/ruff-0.16.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b5eb3a8c3d0ade9cea42b591fd530368e8798380e30e0a308b85a5cf718f09ea", size = 10777949, upload-time = "2026-08-27T16:33:56.88Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ee/34/ee245ca55f64443233034b3d02b03236b19242004281247c079390b7facd/ruff-0.16.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ef0f69e191a13a3c9816f63163c88790cb12cd157bbbb384e9c44745702ab105", size = 10311656, upload-time = "2026-08-27T16:33:59.12Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a7/4d/c33a333e341c0a2b96c715b52d89a606f5a34cd4ac493cd9b8d0187186b8/ruff-0.16.5-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:0eeab41fbea2c42f98dfb9822cdccda9d24ba38d49f6dc945b5c236d48f0ef29", size = 10532125, upload-time = "2026-08-27T16:34:01.166Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/30/e1/a64cef78b40192497bb98a27a8aa8f2c98ee9ee15bc97f7712d94ef32937/ruff-0.16.5-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:f0768e9df4300713fff30733c87575f68b6f1d8de41184e505b7fdd9c0c95eaf", size = 10097648, upload-time = "2026-08-27T16:34:03.16Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/cc/4e/4cdc9ed3c3e109d2f71e62572a37457298d7bc7501ec3138babb7ed32bbd/ruff-0.16.5-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:95cc70cdc7aa80c338de356279d2adbeb2de0f520b9ecd8aba75b94e95e02f91", size = 9829344, upload-time = "2026-08-27T16:34:05.134Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/39/4a/31ed35ce31729955fc583ee0d176d6e784c1290cb0b0a75cb2134c1ab72a/ruff-0.16.5-py3-none-musllinux_1_2_i686.whl", hash = "sha256:d185c8398ded1bfd91c0c2cb258346307571eccc473a8490af8c3977399c384a", size = 10277117, upload-time = "2026-08-27T16:34:07.425Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/a8/a0/60356d86687b4b666d593df213f4dc3041750d024cb7bf2cfa81cfd65c2e/ruff-0.16.5-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:fb8e3a3c4c6a784150a7ced53b015f4b253fc2bf97a610886419ead64b4756ef", size = 10711653, upload-time = "2026-08-27T16:34:09.712Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ed/20/656d67f5b25ca9bda4e02b1de25867b2954e1d19e03648060f167ad0f4cc/ruff-0.16.5-py3-none-win32.whl", hash = "sha256:288b0a5f080492fe5635db849f9e2e84aa3cce7b7f0e955997d416c507c76a26", size = 10034250, upload-time = "2026-08-27T16:34:11.8Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/5b/42/ee8e68a207b9127fcde6c3d7e197def432f346cb1af159e1fa14ca0d1cdc/ruff-0.16.5-py3-none-win_amd64.whl", hash = "sha256:ddc6385fb2137f616357ca03d6c74f4be987f80fed4008566b754f6032b8546f", size = 10516714, upload-time = "2026-08-27T16:34:13.963Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/73/e3/7df5a396e445b9ba49ce9a9437439a4d80042c61c0ade199abf8d16de1ac/ruff-0.16.5-py3-none-win_arm64.whl", hash = "sha256:a64abe90968719b851bb7cedffaa8753fbdbdadab483089682db623f3edc587e", size = 10391564, upload-time = "2026-08-27T16:34:16.064Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "six"
|
||||
version = "1.17.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "typing-extensions"
|
||||
version = "4.16.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },
|
||||
]
|
||||
Reference in New Issue
Block a user