From 424b00e8647a24829180d88297e70015ad97ab66 Mon Sep 17 00:00:00 2001 From: v-raymondsu Date: Thu, 7 May 2026 13:49:09 +0800 Subject: [PATCH 1/2] feat: claude: Refactoring code, tests, docs and cicd process - Replaced scripts/ by python class - Added test cases: slow and fast args - Added pre-commit hook and cicd github actions - Updated docs - Updated PR template - Updated poetry virtual environment --- .github/copilot-instructions.md | 69 +++++- .github/pull_request_template.md | 21 +- .github/workflows/cd.yml | 39 ++++ .github/workflows/ci.yml | 69 ++++-- .pre-commit-config.yaml | 16 ++ README.md | 107 ++++----- docs/CICD-validation.md | 136 +++++++++++ docs/ci-validation.md | 111 --------- docs/figma-uiux-style-guide.md | 15 +- docs/git-version-control.md | 4 +- docs/penpot-uiux-import.md | 23 ++ docs/penpot-uiux-spec.json | 18 +- poetry.lock | 373 ++++++++++++++++++++++++++++--- pyproject.toml | 22 +- scripts/build_linux.sh | 28 --- scripts/build_windows.ps1 | 29 --- scripts/format.sh | 21 -- scripts/style_check.sh | 21 -- src/hello_python/__init__.py | 6 +- src/hello_python/__main__.py | 6 + src/hello_python/build.py | 82 +++++++ src/hello_python/codestyle.py | 56 +++++ src/hello_python/main.py | 28 +-- src/hello_python/window.py | 29 +++ tests/conftest.py | 14 ++ tests/test_build.py | 109 +++++++++ tests/test_build_class.py | 192 ++++++++++++++++ tests/test_codestyle.py | 140 ++++++++++++ tests/test_main.py | 24 +- 29 files changed, 1407 insertions(+), 401 deletions(-) create mode 100644 .github/workflows/cd.yml create mode 100644 .pre-commit-config.yaml create mode 100644 docs/CICD-validation.md delete mode 100644 docs/ci-validation.md delete mode 100755 scripts/build_linux.sh delete mode 100644 scripts/build_windows.ps1 delete mode 100755 scripts/format.sh delete mode 100755 scripts/style_check.sh create mode 100644 src/hello_python/__main__.py create mode 100644 src/hello_python/build.py create mode 100644 src/hello_python/codestyle.py create mode 100644 src/hello_python/window.py create mode 100644 tests/conftest.py create mode 100644 tests/test_build.py create mode 100644 tests/test_build_class.py create mode 100644 tests/test_codestyle.py diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 99a55f1..4a42e28 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1,23 +1,72 @@ # Copilot Instructions -- [x] Verify that the copilot-instructions.md file in the .github directory is created. +## Project Overview -- [x] Clarify Project Requirements +- **Name:** hello-python +- **Type:** Desktop GUI application (PyQt5) +- **Language:** Python 3.10+ +- **Package Manager:** Poetry -- [x] Scaffold the Project +## Project Structure -- [x] Customize the Project +``` +src/hello_python/ +├── __init__.py # Package exports +├── __main__.py # python -m entry point +├── main.py # Core logic and app entry +├── window.py # UI components (HelloWindow) +├── build.py # PyInstaller build class +└── codestyle.py # Ruff formatting/linting class +tests/ +├── conftest.py # Shared test fixtures +├── test_main.py # Unit tests for main + window +├── test_build.py # Build configuration tests +├── test_build_class.py # BuildExecutable class tests +└── test_codestyle.py # CodeStyle class tests +docs/ # Documentation +``` -- [x] Install Required Extensions +## Common Commands -- [x] Compile the Project +```bash +# Install dependencies +poetry install -- [x] Create and Run Task +# Run the app +poetry run hello-python -- [x] Launch the Project (skipped: no debug launch requested) +# Run fast tests +poetry run pytest -m "not slow" -- [x] Ensure Documentation is Complete +# Run all tests including slow builds +poetry run pytest -- Work through each checklist item systematically. +# Format code +poetry run python -m hello_python.codestyle + +# Check style (no changes) +poetry run python -m hello_python.codestyle check + +# Build executable +poetry install --with build +poetry run python -m hello_python.build + +# Pre-commit hooks +poetry run pre-commit run --all-files +``` + +## Development Guidelines + +- Work through each task systematically. - Keep communication concise and focused. - Follow development best practices. +- Run `poetry run pytest -m "not slow"` before committing. +- Use pre-commit hooks to enforce code quality. +- Mark slow integration tests with `@pytest.mark.slow`. +- Support both Windows and Linux in all scripts/classes. + +## CI/CD + +- **CI:** `.github/workflows/ci.yml` — lint, test, build on push/PR +- **CD:** `.github/workflows/cd.yml` — release candidate on main after CI passes +- **Pre-commit:** `.pre-commit-config.yaml` — local quality gate before commit diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 80fe74c..291234a 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -26,20 +26,25 @@ Describe what this PR changes and why. List exact commands and expected outcomes. ```bash -# Example -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m pytest -q +poetry run pytest -m "not slow" -v +poetry run python -m hello_python.codestyle check ``` -## Validation Evidence +## Checklist + +- [ ] Pre-commit hooks pass (`poetry run pre-commit run --all-files`) +- [ ] Lint passes (`poetry run ruff check .`) +- [ ] Format passes (`poetry run ruff format --check .`) +- [ ] Tests pass (`poetry run pytest -m "not slow"`) +- [ ] Build succeeds (`poetry run python -m hello_python.build`) *(if applicable)* +- [ ] CI pipeline passes on this branch -- [ ] Lint passes -- [ ] Tests pass -- [ ] Build succeeds (if applicable) +## Validation Evidence -Paste important output snippets: +Paste relevant output: ```text -# ruff / pytest / build output +# pytest / ruff / build output ``` ## UI/UX Changes (if applicable) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..7e542f7 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,39 @@ +name: CD + +on: + workflow_run: + workflows: [CI] + types: [completed] + branches: [main] + +jobs: + release: + if: github.event.workflow_run.conclusion == 'success' + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + + - name: Get version + id: version + run: | + VERSION=$(grep '^version' pyproject.toml | head -1 | sed 's/.*"\(.*\)".*/\1/') + echo "version=$VERSION" >> "$GITHUB_OUTPUT" + echo "tag=v${VERSION}-rc.$(date +%Y%m%d%H%M%S)" >> "$GITHUB_OUTPUT" + + - name: Download artifacts from CI + uses: actions/download-artifact@v4 + with: + path: artifacts/ + run-id: ${{ github.event.workflow_run.id }} + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Create release candidate + uses: softprops/action-gh-release@v2 + with: + tag_name: ${{ steps.version.outputs.tag }} + name: Release Candidate ${{ steps.version.outputs.tag }} + prerelease: true + generate_release_notes: true + files: artifacts/**/* diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e77c17..b7b5c7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,39 +2,72 @@ name: CI on: push: + branches: [main] pull_request: + branches: [main] jobs: - build-and-test: + lint: runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + cache: "pip" + - name: Install Poetry + run: python -m pip install poetry + - name: Install dependencies + run: python -m poetry install --no-interaction --no-ansi + - name: Check formatting + run: python -m poetry run ruff format --check . + - name: Lint + run: python -m poetry run ruff check . + + test: + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12"] - + os: [ubuntu-latest, windows-latest] + python-version: ["3.10", "3.11", "3.12"] steps: - - name: Check out repository - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: "pip" - - name: Install Poetry run: python -m pip install poetry - - name: Install dependencies - run: python -m poetry install --with dev --no-interaction --no-ansi - - - name: Run lint - run: python -m poetry run python -m ruff check . - + run: python -m poetry install --no-interaction --no-ansi - name: Run tests env: QT_QPA_PLATFORM: offscreen - run: python -m poetry run python -m pytest + run: python -m poetry run pytest -m "not slow" --cov=hello_python --cov-report=term-missing - - name: Build package - run: python -m poetry build + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest] + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + cache: "pip" + - name: Install Poetry + run: python -m pip install poetry + - name: Install dependencies + run: python -m poetry install --with build --no-interaction --no-ansi + - name: Build executable + env: + QT_QPA_PLATFORM: offscreen + run: python -m poetry run python -m hello_python.build + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: executable-${{ matrix.os }} + path: dist/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..ed3443e --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,16 @@ +repos: + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.11.0 + hooks: + - id: ruff-format + - id: ruff + args: [--fix, --exit-non-zero-on-fix] + + - repo: local + hooks: + - id: pytest + name: pytest + entry: poetry run pytest -m "not slow" -q + language: system + pass_filenames: false + always_run: true diff --git a/README.md b/README.md index 0fb906b..351aa60 100644 --- a/README.md +++ b/README.md @@ -12,119 +12,102 @@ Minimal Python project using Poetry for dependency and virtual environment manag | Term | Description | | - | - | -| Python | 3.11+ | +| Python | 3.10+ | | Poetry | `pipx install poetry` (recommended) | -### Poetry Setup - -```bash -poetry install -``` - -If Poetry is not available on your PATH, you can still run commands with the local virtual environment interpreter: +### Python Interpreter Setup (VS Code) -```bash -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python --version -``` +1. Open the Command Palette (`Ctrl+Shift+P`) +2. Type **Python: Select Interpreter** +3. Choose the Poetry virtual environment (e.g., `.venv` or the one containing your project name) -### Running Application in virtual environment (GUI) +> If the virtual environment doesn't appear, run `poetry install` first, then reload VS Code. -Because this project uses a `src/` layout, run with `PYTHONPATH=src` when using direct Python commands. +### Installing pytest -Using Poetry: +pytest is included as a dev dependency. Install it via Poetry: ```bash -PYTHONPATH=src poetry run python -m hello_python.main +poetry install ``` -Using local virtual environment Python: +To verify pytest is available: ```bash -PYTHONPATH=src /home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m hello_python.main +poetry run pytest --version ``` -### Running Unit Test and Coverage Test in virtual environment (pytest) - -Using Poetry: +### Poetry Setup ```bash -poetry run pytest -poetry run pytest --cov=hello_python --cov-report=term-missing +poetry install ``` -Using local virtual environment Python: +To also install build dependencies (PyInstaller): ```bash -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m pytest -q -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m pytest -q --cov=hello_python --cov-report=term-missing +poetry install --with build ``` -### Formatting And Style Checking +### Running Application -Format (applies changes): +Using the script entry point: ```bash -bash scripts/format.sh +poetry run hello-python ``` -Style check only (no changes): +Using the module directly: ```bash -bash scripts/style_check.sh +poetry run python -m hello_python ``` -### Building Linux Executable (PyInstaller) - -Build for Linux: +### Running Unit Test and Coverage Test ```bash -bash scripts/build_linux.sh +poetry run pytest +poetry run pytest --cov=hello_python --cov-report=term-missing ``` -If Poetry is unavailable in your environment, run PyInstaller directly: +### Formatting And Style Checking + +Format (applies changes): ```bash -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m PyInstaller \ - --noconfirm \ - --clean \ - --onefile \ - --windowed \ - --hidden-import PyQt5.sip \ - --name hello-python-linux \ - --distpath dist/linux \ - --workpath build/pyinstaller/linux \ - --specpath build/spec/linux \ - src/hello_python/main.py +poetry run python -m hello_python.codestyle ``` -Output: +Style check only (no changes): -```text -dist/linux/hello-python-linux +```bash +poetry run python -m hello_python.codestyle check ``` -Run the generated Linux binary: +### Building Executables (PyInstaller) + +Using the Python build class (cross-platform): ```bash -./dist/linux/hello-python-linux +poetry run python -m hello_python.build ``` -### Building Windows Executable +Output: `dist/windows/hello-python-windows.exe` (Windows) or `dist/linux/hello-python-linux` (Linux) -Build for Windows (run on Windows or a Windows CI runner): +## Project Structure -```powershell -powershell -ExecutionPolicy Bypass -File .\scripts\build_windows.ps1 ``` - -Output: - -```text -dist/windows/hello-python-windows.exe +src/hello_python/ +├── __init__.py # Package exports +├── __main__.py # python -m entry point +├── main.py # Core logic and app entry +└── window.py # UI components (HelloWindow) +tests/ +├── conftest.py # Shared test fixtures +└── test_main.py # Unit tests +docs/ # Additional documentation ``` -Note: PyInstaller does not reliably cross-compile Windows executables from Linux. Use the Windows script on Windows. - ## Additional Documentation - CI validation tutorial: `docs/ci-validation.md` diff --git a/docs/CICD-validation.md b/docs/CICD-validation.md new file mode 100644 index 0000000..f73176b --- /dev/null +++ b/docs/CICD-validation.md @@ -0,0 +1,136 @@ +# Pre-commit, CI & CD Guide + +This document explains the automated quality gates: pre-commit hooks, Continuous Integration (CI), and Continuous Delivery (CD). + +## Overview + +``` +Developer Workflow: + git commit → pre-commit hooks (local) + git push → CI pipeline (GitHub Actions) + CI passes on main → CD pipeline (release candidate) +``` + +--- + +## Pre-commit Hooks + +**Config:** `.pre-commit-config.yaml` + +Pre-commit hooks run automatically before every `git commit` to catch issues early. + +### What runs + +| Hook | Tool | Action | +|------|------|--------| +| ruff-format | Ruff | Auto-formats code | +| ruff | Ruff | Lints and auto-fixes issues | +| pytest | pytest | Runs fast tests (`-m "not slow"`) | + +### Setup + +```bash +poetry install +poetry run pre-commit install +``` + +### Manual run (all files) + +```bash +poetry run pre-commit run --all-files +``` + +### Bypass (emergency only) + +```bash +git commit --no-verify -m "message" +``` + +--- + +## Continuous Integration (CI) + +**Config:** `.github/workflows/ci.yml` + +CI runs on every push to `main` and on every pull request. + +### Jobs + +| Job | Runs on | Purpose | +|-----|---------|---------| +| lint | Ubuntu | Ruff format check + lint | +| test | Ubuntu + Windows (Python 3.10, 3.11, 3.12) | Fast tests with coverage | +| build | Ubuntu + Windows | Build PyInstaller executable | + +### Pipeline details + +1. **lint** — checks code formatting and style without modifying files +2. **test** — runs `pytest -m "not slow"` with coverage reporting, uses `QT_QPA_PLATFORM=offscreen` for headless Qt +3. **build** — runs `python -m hello_python.build` to produce platform executables, uploads as artifacts + +### Local CI validation + +```bash +# Lint +poetry run ruff format --check . +poetry run ruff check . + +# Test (fast only) +QT_QPA_PLATFORM=offscreen poetry run pytest -m "not slow" --cov=hello_python --cov-report=term-missing + +# Build +poetry install --with build +poetry run python -m hello_python.build +``` + +On Windows, omit `QT_QPA_PLATFORM=offscreen` (or set `$env:QT_QPA_PLATFORM="offscreen"` in PowerShell). + +--- + +## Continuous Delivery (CD) + +**Config:** `.github/workflows/cd.yml` + +CD runs automatically after CI completes successfully on the `main` branch. + +### What it does + +1. Waits for CI workflow to pass on `main` +2. Reads the version from `pyproject.toml` +3. Downloads build artifacts (executables) from the CI run +4. Creates a GitHub pre-release tagged `v{version}-rc.{timestamp}` +5. Attaches Windows and Linux executables to the release + +### Release naming + +- Tag format: `v0.1.0-rc.20260507143022` +- Marked as **pre-release** (release candidate) +- Auto-generated release notes from commits since last release + +### Promoting to stable release + +To promote an RC to a stable release: +1. Go to the GitHub Releases page +2. Edit the release candidate +3. Uncheck "Set as a pre-release" +4. Update the tag to `v{version}` (e.g., `v0.1.0`) + +--- + +## Common Issues + +### Pre-commit hook fails on format + +Ruff auto-fixes the files. Simply `git add` the changes and commit again. + +### CI test fails but local passes + +- Ensure `QT_QPA_PLATFORM=offscreen` is set +- Check Python version matches (3.10+) +- Run `poetry lock --no-update` if lock file is stale + +### CD doesn't trigger + +- CD only triggers on pushes to `main`, not on PRs +- Check that all CI jobs passed (lint, test, build) +- Verify the repository has `contents: write` permission for GitHub Actions diff --git a/docs/ci-validation.md b/docs/ci-validation.md deleted file mode 100644 index 44722ac..0000000 --- a/docs/ci-validation.md +++ /dev/null @@ -1,111 +0,0 @@ -# CI Validation Tutorial - -This guide explains how to validate the GitHub Actions CI pipeline locally before pushing changes. - -Workflow reference: -- `.github/workflows/ci.yml` - -## What CI Validates - -The `CI` workflow runs on both `push` and `pull_request` and executes these checks: - -1. Install dependencies with Poetry (including dev dependencies) -2. Run lint checks with Ruff -3. Run tests with Pytest (Qt in offscreen mode) -4. Build distribution artifacts with Poetry - -## Prerequisites - -- Python 3.11+ installed -- Project virtual environment available at `.venv` -- Internet access (for initial dependency install) - -## One-Command Local CI Validation - -Run the full CI-equivalent sequence: - -```bash -cd /home/raymondsu/src/Vibe-helloworld-python -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry install --with dev --no-interaction --no-ansi && \ -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry run python -m ruff check . && \ -QT_QPA_PLATFORM=offscreen /home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry run python -m pytest -q && \ -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry build -``` - -Expected result: -- Ruff: `All checks passed!` -- Pytest: all tests pass -- Build: sdist and wheel created in `dist/` - -## Step-by-Step Validation - -### 1) Install dependencies - -```bash -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry install --with dev --no-interaction --no-ansi -``` - -### 2) Run lint - -```bash -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry run python -m ruff check . -``` - -### 3) Run tests - -```bash -QT_QPA_PLATFORM=offscreen /home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry run python -m pytest -q -``` - -### 4) Build package - -```bash -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry build -``` - -## Common Hidden CI Errors - -### Error: lock file mismatch - -Symptom: -- `pyproject.toml changed significantly since poetry.lock was last generated` - -Fix: - -```bash -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry lock -``` - -Commit both files: -- `pyproject.toml` -- `poetry.lock` - -### Error: `Command not found: pytest` - -Cause: -- Dev dependency group was not installed. - -Fix: - -```bash -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry install --with dev --no-interaction --no-ansi -``` - -### Error: GUI tests fail in headless environment - -Cause: -- Qt requires offscreen mode in CI. - -Fix: -- Ensure tests run with `QT_QPA_PLATFORM=offscreen`. - -## Optional: Validate Before Every Push - -Use this quick command before pushing changes: - -```bash -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry run python -m ruff check . && \ -QT_QPA_PLATFORM=offscreen /home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m poetry run python -m pytest -q -``` - -If both commands pass, your PR is much less likely to fail CI. diff --git a/docs/figma-uiux-style-guide.md b/docs/figma-uiux-style-guide.md index 46a515f..f25b4e9 100644 --- a/docs/figma-uiux-style-guide.md +++ b/docs/figma-uiux-style-guide.md @@ -116,10 +116,17 @@ States: ## Interaction Flow -1. App opens with instructional label. -2. User clicks `Say Hello`. -3. Label updates to `Hello, world!`. -4. User clicks `Exit` to close app. +1. App opens → window title: `Hello App`, size: `320 x 120` +2. Label shows: `Click the button to show a message` +3. User clicks `Say Hello` → label updates to `Hello, world!` +4. User clicks `Exit` → app closes + +## Implementation Reference + +- Window class: `src/hello_python/window.py` → `HelloWindow` +- Entry point: `src/hello_python/main.py` → `main()` +- Run: `poetry run hello-python` +- Build executable: `poetry run python -m hello_python.build` ## Accessibility Checklist diff --git a/docs/git-version-control.md b/docs/git-version-control.md index ea29e00..fa89f58 100644 --- a/docs/git-version-control.md +++ b/docs/git-version-control.md @@ -76,6 +76,6 @@ git push -u origin feature/ci-improvements - Run checks before committing: ```bash -bash scripts/style_check.sh -/home/raymondsu/src/Vibe-helloworld-python/.venv/bin/python -m pytest -q +poetry run python -m hello_python.codestyle check +poetry run pytest -q ``` diff --git a/docs/penpot-uiux-import.md b/docs/penpot-uiux-import.md index f4bc1fd..e3227a4 100644 --- a/docs/penpot-uiux-import.md +++ b/docs/penpot-uiux-import.md @@ -8,6 +8,29 @@ This project includes a Penpot-ready UI/UX specification: Penpot does not currently support direct import of this custom JSON format as a full project file. Use it as a structured source-of-truth to recreate pages, tokens, components, and screens quickly. +## Current UI Implementation + +| Element | Widget | Text | +|---------|--------|------| +| Window title | QWidget | `Hello App` | +| Message label | QLabel | `Click the button to show a message` → `Hello, world!` | +| Primary button | QPushButton | `Say Hello` | +| Secondary button | QPushButton | `Exit` | + +Source: `src/hello_python/window.py` + +## Running the App + +```bash +poetry run hello-python +``` + +Or build a standalone executable: + +```bash +poetry run python -m hello_python.build +``` + ## How To Apply In Penpot 1. Create a new Penpot project named `hello-python`. diff --git a/docs/penpot-uiux-spec.json b/docs/penpot-uiux-spec.json index 19eb816..d874688 100644 --- a/docs/penpot-uiux-spec.json +++ b/docs/penpot-uiux-spec.json @@ -154,9 +154,19 @@ "focusVisible": true }, "implementationMapping": { - "file": "src/hello_python/main.py", - "message_label": "Label/Message", - "hello_button": "Button/Primary", - "exit_button": "Button/Secondary" + "windowClass": "src/hello_python/window.py", + "entryPoint": "src/hello_python/main.py", + "windowTitle": "Hello App", + "windowSize": { "width": 320, "height": 120 }, + "widgets": { + "message_label": { "component": "Label/Message", "type": "QLabel" }, + "hello_button": { "component": "Button/Primary", "type": "QPushButton" }, + "exit_button": { "component": "Button/Secondary", "type": "QPushButton" } + }, + "commands": { + "run": "poetry run hello-python", + "build": "poetry run python -m hello_python.build", + "test": "poetry run pytest -m \"not slow\"" + } } } diff --git a/poetry.lock b/poetry.lock index 3649134..c89f8a4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,26 +1,36 @@ -# This file is automatically @generated by Poetry 2.3.2 and should not be changed by hand. +# This file is automatically @generated by Poetry and should not be changed by hand. [[package]] name = "altgraph" version = "0.17.5" description = "Python graph (network) package" +category = "dev" optional = false python-versions = "*" -groups = ["main"] -markers = "python_version < \"3.15\"" files = [ {file = "altgraph-0.17.5-py2.py3-none-any.whl", hash = "sha256:f3a22400bce1b0c701683820ac4f3b159cd301acab067c51c653e06961600597"}, {file = "altgraph-0.17.5.tar.gz", hash = "sha256:c87b395dd12fabde9c99573a9749d67da8d29ef9de0125c7f536699b4a9bc9e7"}, ] +[[package]] +name = "cfgv" +version = "3.5.0" +description = "Validate configuration and produce human readable error messages." +category = "dev" +optional = false +python-versions = ">=3.10" +files = [ + {file = "cfgv-3.5.0-py2.py3-none-any.whl", hash = "sha256:a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0"}, + {file = "cfgv-3.5.0.tar.gz", hash = "sha256:d5b1034354820651caa73ede66a6294d6e95c1b00acc5e9b098e917404669132"}, +] + [[package]] name = "colorama" version = "0.4.6" description = "Cross-platform colored terminal text." +category = "dev" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" -groups = ["dev"] -markers = "sys_platform == \"win32\"" files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, @@ -30,9 +40,9 @@ files = [ name = "coverage" version = "7.13.4" description = "Code coverage measurement for Python" +category = "dev" optional = false python-versions = ">=3.10" -groups = ["dev"] files = [ {file = "coverage-7.13.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0fc31c787a84f8cd6027eba44010517020e0d18487064cd3d8968941856d1415"}, {file = "coverage-7.13.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a32ebc02a1805adf637fc8dec324b5cdacd2e493515424f70ee33799573d661b"}, @@ -142,16 +152,76 @@ files = [ {file = "coverage-7.13.4.tar.gz", hash = "sha256:e5c8f6ed1e61a8b2dcdf31eb0b9bbf0130750ca79c1c49eb898e2ad86f5ccc91"}, ] +[package.dependencies] +tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""} + +[package.extras] +toml = ["tomli"] + +[[package]] +name = "distlib" +version = "0.4.0" +description = "Distribution utilities" +category = "dev" +optional = false +python-versions = "*" +files = [ + {file = "distlib-0.4.0-py2.py3-none-any.whl", hash = "sha256:9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16"}, + {file = "distlib-0.4.0.tar.gz", hash = "sha256:feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d"}, +] + +[[package]] +name = "exceptiongroup" +version = "1.3.1" +description = "Backport of PEP 654 (exception groups)" +category = "dev" +optional = false +python-versions = ">=3.7" +files = [ + {file = "exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598"}, + {file = "exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219"}, +] + +[package.dependencies] +typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""} + [package.extras] -toml = ["tomli ; python_full_version <= \"3.11.0a6\""] +test = ["pytest (>=6)"] + +[[package]] +name = "filelock" +version = "3.29.0" +description = "A platform independent file lock." +category = "dev" +optional = false +python-versions = ">=3.10" +files = [ + {file = "filelock-3.29.0-py3-none-any.whl", hash = "sha256:96f5f6344709aa1572bbf631c640e4ebeeb519e08da902c39a001882f30ac258"}, + {file = "filelock-3.29.0.tar.gz", hash = "sha256:69974355e960702e789734cb4871f884ea6fe50bd8404051a3530bc07809cf90"}, +] + +[[package]] +name = "identify" +version = "2.6.19" +description = "File identification library for Python" +category = "dev" +optional = false +python-versions = ">=3.10" +files = [ + {file = "identify-2.6.19-py2.py3-none-any.whl", hash = "sha256:20e6a87f786f768c092a721ad107fc9df0eb89347be9396cadf3f4abbd1fb78a"}, + {file = "identify-2.6.19.tar.gz", hash = "sha256:6be5020c38fcb07da56c53733538a3081ea5aa70d36a156f83044bfbf9173842"}, +] + +[package.extras] +license = ["ukkonen"] [[package]] name = "iniconfig" version = "2.3.0" description = "brain-dead simple config-ini parsing" +category = "dev" optional = false python-versions = ">=3.10" -groups = ["dev"] files = [ {file = "iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12"}, {file = "iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730"}, @@ -161,10 +231,9 @@ files = [ name = "macholib" version = "1.16.4" description = "Mach-O header analysis and editing" +category = "dev" optional = false python-versions = "*" -groups = ["main"] -markers = "python_version < \"3.15\" and sys_platform == \"darwin\"" files = [ {file = "macholib-1.16.4-py2.py3-none-any.whl", hash = "sha256:da1a3fa8266e30f0ce7e97c6a54eefaae8edd1e5f86f3eb8b95457cae90265ea"}, {file = "macholib-1.16.4.tar.gz", hash = "sha256:f408c93ab2e995cd2c46e34fe328b130404be143469e41bc366c807448979362"}, @@ -173,39 +242,61 @@ files = [ [package.dependencies] altgraph = ">=0.17" +[[package]] +name = "nodeenv" +version = "1.10.0" +description = "Node.js virtual environment builder" +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +files = [ + {file = "nodeenv-1.10.0-py2.py3-none-any.whl", hash = "sha256:5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827"}, + {file = "nodeenv-1.10.0.tar.gz", hash = "sha256:996c191ad80897d076bdfba80a41994c2b47c68e224c542b48feba42ba00f8bb"}, +] + [[package]] name = "packaging" version = "26.0" description = "Core utilities for Python packages" +category = "dev" optional = false python-versions = ">=3.8" -groups = ["main", "dev"] files = [ {file = "packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529"}, {file = "packaging-26.0.tar.gz", hash = "sha256:00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4"}, ] -markers = {main = "python_version < \"3.15\""} [[package]] name = "pefile" version = "2024.8.26" description = "Python PE parsing module" +category = "dev" optional = false python-versions = ">=3.6.0" -groups = ["main"] -markers = "python_version < \"3.15\" and sys_platform == \"win32\"" files = [ {file = "pefile-2024.8.26-py3-none-any.whl", hash = "sha256:76f8b485dcd3b1bb8166f1128d395fa3d87af26360c2358fb75b80019b957c6f"}, {file = "pefile-2024.8.26.tar.gz", hash = "sha256:3ff6c5d8b43e8c37bb6e6dd5085658d658a7a0bdcd20b6a07b1fcfc1c4e9d632"}, ] +[[package]] +name = "platformdirs" +version = "4.9.6" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." +category = "dev" +optional = false +python-versions = ">=3.10" +files = [ + {file = "platformdirs-4.9.6-py3-none-any.whl", hash = "sha256:e61adb1d5e5cb3441b4b7710bea7e4c12250ca49439228cc1021c00dcfac0917"}, + {file = "platformdirs-4.9.6.tar.gz", hash = "sha256:3bfa75b0ad0db84096ae777218481852c0ebc6c727b3168c1b9e0118e458cf0a"}, +] + [[package]] name = "pluggy" version = "1.6.0" description = "plugin and hook calling mechanisms for python" +category = "dev" optional = false python-versions = ">=3.9" -groups = ["dev"] files = [ {file = "pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746"}, {file = "pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3"}, @@ -215,13 +306,32 @@ files = [ dev = ["pre-commit", "tox"] testing = ["coverage", "pytest", "pytest-benchmark"] +[[package]] +name = "pre-commit" +version = "4.6.0" +description = "A framework for managing and maintaining multi-language pre-commit hooks." +category = "dev" +optional = false +python-versions = ">=3.10" +files = [ + {file = "pre_commit-4.6.0-py2.py3-none-any.whl", hash = "sha256:e2cf246f7299edcabcf15f9b0571fdce06058527f0a06535068a86d38089f29b"}, + {file = "pre_commit-4.6.0.tar.gz", hash = "sha256:718d2208cef53fdc38206e40524a6d4d9576d103eb16f0fec11c875e7716e9d9"}, +] + +[package.dependencies] +cfgv = ">=2.0.0" +identify = ">=1.0.0" +nodeenv = ">=0.11.1" +pyyaml = ">=5.1" +virtualenv = ">=20.10.0" + [[package]] name = "pygments" version = "2.19.2" description = "Pygments is a syntax highlighting package written in Python." +category = "dev" optional = false python-versions = ">=3.8" -groups = ["dev"] files = [ {file = "pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b"}, {file = "pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887"}, @@ -234,10 +344,9 @@ windows-terminal = ["colorama (>=0.4.6)"] name = "pyinstaller" version = "6.19.0" description = "PyInstaller bundles a Python application and all its dependencies into a single package." +category = "dev" optional = false python-versions = "<3.15,>=3.8" -groups = ["main"] -markers = "python_version < \"3.15\"" files = [ {file = "pyinstaller-6.19.0-py3-none-macosx_10_13_universal2.whl", hash = "sha256:4190e76b74f0c4b5c5f11ac360928cd2e36ec8e3194d437bf6b8648c7bc0c134"}, {file = "pyinstaller-6.19.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:8bd68abd812d8a6ba33b9f1810e91fee0f325969733721b78151f0065319ca11"}, @@ -270,10 +379,9 @@ hook-testing = ["execnet (>=1.5.0)", "psutil", "pytest (>=2.7.3)"] name = "pyinstaller-hooks-contrib" version = "2026.3" description = "Community maintained hooks for PyInstaller" +category = "dev" optional = false python-versions = ">=3.8" -groups = ["main"] -markers = "python_version < \"3.15\"" files = [ {file = "pyinstaller_hooks_contrib-2026.3-py3-none-any.whl", hash = "sha256:5ecd1068ad262afecadf07556279d2be52ca93a88b049fae17f1a2eb2969254a"}, {file = "pyinstaller_hooks_contrib-2026.3.tar.gz", hash = "sha256:800d3a198a49a6cd0de2d7fb795005fdca7a0222ed9cb47c0691abd1c27b9310"}, @@ -287,9 +395,9 @@ setuptools = ">=42.0.0" name = "pyqt5" version = "5.15.11" description = "Python bindings for the Qt cross platform application toolkit" +category = "main" optional = false python-versions = ">=3.8" -groups = ["main"] files = [ {file = "PyQt5-5.15.11-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:c8b03dd9380bb13c804f0bdb0f4956067f281785b5e12303d529f0462f9afdc2"}, {file = "PyQt5-5.15.11-cp38-abi3-macosx_11_0_x86_64.whl", hash = "sha256:6cd75628f6e732b1ffcfe709ab833a0716c0445d7aec8046a48d5843352becb6"}, @@ -307,9 +415,9 @@ PyQt5-sip = ">=12.15,<13" name = "pyqt5-qt5" version = "5.15.18" description = "The subset of a Qt installation needed by PyQt5." +category = "main" optional = false python-versions = "*" -groups = ["main"] files = [ {file = "pyqt5_qt5-5.15.18-py3-none-macosx_10_13_x86_64.whl", hash = "sha256:8bb997eb903afa9da3221a0c9e6eaa00413bbeb4394d5706118ad05375684767"}, {file = "pyqt5_qt5-5.15.18-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c656af9c1e6aaa7f59bf3d8995f2fa09adbf6762b470ed284c31dca80d686a26"}, @@ -320,9 +428,9 @@ files = [ name = "pyqt5-sip" version = "12.18.0" description = "The sip module support for PyQt5" +category = "main" optional = false python-versions = ">=3.10" -groups = ["main"] files = [ {file = "pyqt5_sip-12.18.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:dc5c30bb9bd8cca6e13d2fedac6e2a75fe2168d798d66f76e74835546b025027"}, {file = "pyqt5_sip-12.18.0-cp310-cp310-manylinux1_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b4b743566f67cabfa7b0ba2da30b46d9d635d16cd5bc8cdcec83f620ed14dd93"}, @@ -356,9 +464,9 @@ files = [ name = "pytest" version = "8.4.2" description = "pytest: simple powerful testing with Python" +category = "dev" optional = false python-versions = ">=3.9" -groups = ["dev"] files = [ {file = "pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79"}, {file = "pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"}, @@ -366,10 +474,12 @@ files = [ [package.dependencies] colorama = {version = ">=0.4", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1", markers = "python_version < \"3.11\""} iniconfig = ">=1" packaging = ">=20" pluggy = ">=1.5,<2" pygments = ">=2.7.2" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "requests", "setuptools", "xmlschema"] @@ -378,9 +488,9 @@ dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "requests name = "pytest-cov" version = "6.3.0" description = "Pytest plugin for measuring coverage." +category = "dev" optional = false python-versions = ">=3.9" -groups = ["dev"] files = [ {file = "pytest_cov-6.3.0-py3-none-any.whl", hash = "sha256:440db28156d2468cafc0415b4f8e50856a0d11faefa38f30906048fe490f1749"}, {file = "pytest_cov-6.3.0.tar.gz", hash = "sha256:35c580e7800f87ce892e687461166e1ac2bcb8fb9e13aea79032518d6e503ff2"}, @@ -394,26 +504,128 @@ pytest = ">=6.2.5" [package.extras] testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"] +[[package]] +name = "python-discovery" +version = "1.3.0" +description = "Python interpreter discovery" +category = "dev" +optional = false +python-versions = ">=3.8" +files = [ + {file = "python_discovery-1.3.0-py3-none-any.whl", hash = "sha256:441d9ced3dfce36e113beb35ca302c71c7ef06f3c0f9c227a0b9bb3bd49b9e9f"}, + {file = "python_discovery-1.3.0.tar.gz", hash = "sha256:d098f1e86be5d45fe4d14bf1029294aabbd332f4321179dec85e76cddce834b0"}, +] + +[package.dependencies] +filelock = ">=3.15.4" +platformdirs = ">=4.3.6,<5" + +[package.extras] +docs = ["furo (>=2025.12.19)", "sphinx (>=9.1)", "sphinx-autodoc-typehints (>=3.6.3)", "sphinxcontrib-mermaid (>=2)"] +testing = ["covdefaults (>=2.3)", "coverage (>=7.5.4)", "pytest (>=8.3.5)", "pytest-mock (>=3.14)", "setuptools (>=75.1)"] + [[package]] name = "pywin32-ctypes" version = "0.2.3" description = "A (partial) reimplementation of pywin32 using ctypes/cffi" +category = "dev" optional = false python-versions = ">=3.6" -groups = ["main"] -markers = "python_version < \"3.15\" and sys_platform == \"win32\"" files = [ {file = "pywin32-ctypes-0.2.3.tar.gz", hash = "sha256:d162dc04946d704503b2edc4d55f3dba5c1d539ead017afa00142c38b9885755"}, {file = "pywin32_ctypes-0.2.3-py3-none-any.whl", hash = "sha256:8a1513379d709975552d202d942d9837758905c8d01eb82b8bcc30918929e7b8"}, ] +[[package]] +name = "pyyaml" +version = "6.0.3" +description = "YAML parser and emitter for Python" +category = "dev" +optional = false +python-versions = ">=3.8" +files = [ + {file = "PyYAML-6.0.3-cp38-cp38-macosx_10_13_x86_64.whl", hash = "sha256:c2514fceb77bc5e7a2f7adfaa1feb2fb311607c9cb518dbc378688ec73d8292f"}, + {file = "PyYAML-6.0.3-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c57bb8c96f6d1808c030b1687b9b5fb476abaa47f0db9c0101f5e9f394e97f4"}, + {file = "PyYAML-6.0.3-cp38-cp38-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:efd7b85f94a6f21e4932043973a7ba2613b059c4a000551892ac9f1d11f5baf3"}, + {file = "PyYAML-6.0.3-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:22ba7cfcad58ef3ecddc7ed1db3409af68d023b7f940da23c6c2a1890976eda6"}, + {file = "PyYAML-6.0.3-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:6344df0d5755a2c9a276d4473ae6b90647e216ab4757f8426893b5dd2ac3f369"}, + {file = "PyYAML-6.0.3-cp38-cp38-win32.whl", hash = "sha256:3ff07ec89bae51176c0549bc4c63aa6202991da2d9a6129d7aef7f1407d3f295"}, + {file = "PyYAML-6.0.3-cp38-cp38-win_amd64.whl", hash = "sha256:5cf4e27da7e3fbed4d6c3d8e797387aaad68102272f8f9752883bc32d61cb87b"}, + {file = "pyyaml-6.0.3-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b"}, + {file = "pyyaml-6.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956"}, + {file = "pyyaml-6.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8"}, + {file = "pyyaml-6.0.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:66291b10affd76d76f54fad28e22e51719ef9ba22b29e1d7d03d6777a9174198"}, + {file = "pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b"}, + {file = "pyyaml-6.0.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:418cf3f2111bc80e0933b2cd8cd04f286338bb88bdc7bc8e6dd775ebde60b5e0"}, + {file = "pyyaml-6.0.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5e0b74767e5f8c593e8c9b5912019159ed0533c70051e9cce3e8b6aa699fcd69"}, + {file = "pyyaml-6.0.3-cp310-cp310-win32.whl", hash = "sha256:28c8d926f98f432f88adc23edf2e6d4921ac26fb084b028c733d01868d19007e"}, + {file = "pyyaml-6.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:bdb2c67c6c1390b63c6ff89f210c8fd09d9a1217a465701eac7316313c915e4c"}, + {file = "pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e"}, + {file = "pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824"}, + {file = "pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c"}, + {file = "pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00"}, + {file = "pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d"}, + {file = "pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a"}, + {file = "pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4"}, + {file = "pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b"}, + {file = "pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf"}, + {file = "pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196"}, + {file = "pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0"}, + {file = "pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28"}, + {file = "pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c"}, + {file = "pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc"}, + {file = "pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e"}, + {file = "pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea"}, + {file = "pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5"}, + {file = "pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b"}, + {file = "pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd"}, + {file = "pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8"}, + {file = "pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1"}, + {file = "pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c"}, + {file = "pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5"}, + {file = "pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6"}, + {file = "pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6"}, + {file = "pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be"}, + {file = "pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26"}, + {file = "pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c"}, + {file = "pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb"}, + {file = "pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac"}, + {file = "pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310"}, + {file = "pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7"}, + {file = "pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788"}, + {file = "pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5"}, + {file = "pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764"}, + {file = "pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35"}, + {file = "pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac"}, + {file = "pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3"}, + {file = "pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3"}, + {file = "pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba"}, + {file = "pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c"}, + {file = "pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702"}, + {file = "pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c"}, + {file = "pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065"}, + {file = "pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65"}, + {file = "pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9"}, + {file = "pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b"}, + {file = "pyyaml-6.0.3-cp39-cp39-macosx_10_13_x86_64.whl", hash = "sha256:b865addae83924361678b652338317d1bd7e79b1f4596f96b96c77a5a34b34da"}, + {file = "pyyaml-6.0.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c3355370a2c156cffb25e876646f149d5d68f5e0a3ce86a5084dd0b64a994917"}, + {file = "pyyaml-6.0.3-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3c5677e12444c15717b902a5798264fa7909e41153cdf9ef7ad571b704a63dd9"}, + {file = "pyyaml-6.0.3-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5ed875a24292240029e4483f9d4a4b8a1ae08843b9c54f43fcc11e404532a8a5"}, + {file = "pyyaml-6.0.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0150219816b6a1fa26fb4699fb7daa9caf09eb1999f3b70fb6e786805e80375a"}, + {file = "pyyaml-6.0.3-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926"}, + {file = "pyyaml-6.0.3-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:27c0abcb4a5dac13684a37f76e701e054692a9b2d3064b70f5e4eb54810553d7"}, + {file = "pyyaml-6.0.3-cp39-cp39-win32.whl", hash = "sha256:1ebe39cb5fc479422b83de611d14e2c0d3bb2a18bbcb01f229ab3cfbd8fee7a0"}, + {file = "pyyaml-6.0.3-cp39-cp39-win_amd64.whl", hash = "sha256:2e71d11abed7344e42a8849600193d15b6def118602c4c176f748e4583246007"}, + {file = "pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f"}, +] + [[package]] name = "ruff" version = "0.11.13" description = "An extremely fast Python linter and code formatter, written in Rust." +category = "dev" optional = false python-versions = ">=3.7" -groups = ["dev"] files = [ {file = "ruff-0.11.13-py3-none-linux_armv6l.whl", hash = "sha256:4bdfbf1240533f40042ec00c9e09a3aade6f8c10b6414cf11b519488d2635d46"}, {file = "ruff-0.11.13-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:aef9c9ed1b5ca28bb15c7eac83b8670cf3b20b478195bd49c8d756ba0a36cf48"}, @@ -439,25 +651,112 @@ files = [ name = "setuptools" version = "82.0.1" description = "Most extensible Python build backend with support for C/C++ extension modules" +category = "dev" optional = false python-versions = ">=3.9" -groups = ["main"] -markers = "python_version < \"3.15\"" files = [ {file = "setuptools-82.0.1-py3-none-any.whl", hash = "sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb"}, {file = "setuptools-82.0.1.tar.gz", hash = "sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9"}, ] [package.extras] -check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\"", "ruff (>=0.13.0) ; sys_platform != \"cygwin\""] -core = ["importlib_metadata (>=6) ; python_version < \"3.10\"", "jaraco.functools (>=4)", "jaraco.text (>=3.7)", "more_itertools", "more_itertools (>=8.8)", "packaging (>=24.2)", "tomli (>=2.0.1) ; python_version < \"3.11\"", "wheel (>=0.43.0)"] +check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1)", "ruff (>=0.13.0)"] +core = ["importlib_metadata (>=6)", "jaraco.functools (>=4)", "jaraco.text (>=3.7)", "more_itertools", "more_itertools (>=8.8)", "packaging (>=24.2)", "tomli (>=2.0.1)", "wheel (>=0.43.0)"] cover = ["pytest-cov"] doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier", "towncrier (<24.7)"] enabler = ["pytest-enabler (>=2.2)"] -test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21) ; python_version >= \"3.9\" and sys_platform != \"cygwin\"", "jaraco.envs (>=2.2)", "jaraco.path (>=3.7.2)", "jaraco.test (>=5.5)", "packaging (>=24.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-home (>=0.5)", "pytest-perf ; sys_platform != \"cygwin\"", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel (>=0.44.0)"] -type = ["importlib_metadata (>=7.0.2) ; python_version < \"3.10\"", "jaraco.develop (>=7.21) ; sys_platform != \"cygwin\"", "mypy (==1.18.*)", "pytest-mypy"] +test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.7.2)", "jaraco.test (>=5.5)", "packaging (>=24.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-home (>=0.5)", "pytest-perf", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel (>=0.44.0)"] +type = ["importlib_metadata (>=7.0.2)", "jaraco.develop (>=7.21)", "mypy (>=1.18.0,<1.19.0)", "pytest-mypy"] + +[[package]] +name = "tomli" +version = "2.4.1" +description = "A lil' TOML parser" +category = "dev" +optional = false +python-versions = ">=3.8" +files = [ + {file = "tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30"}, + {file = "tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a"}, + {file = "tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076"}, + {file = "tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9"}, + {file = "tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c"}, + {file = "tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc"}, + {file = "tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049"}, + {file = "tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e"}, + {file = "tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece"}, + {file = "tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a"}, + {file = "tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085"}, + {file = "tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9"}, + {file = "tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5"}, + {file = "tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585"}, + {file = "tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1"}, + {file = "tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917"}, + {file = "tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9"}, + {file = "tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257"}, + {file = "tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54"}, + {file = "tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a"}, + {file = "tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897"}, + {file = "tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f"}, + {file = "tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d"}, + {file = "tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5"}, + {file = "tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd"}, + {file = "tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36"}, + {file = "tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd"}, + {file = "tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf"}, + {file = "tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac"}, + {file = "tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662"}, + {file = "tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853"}, + {file = "tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15"}, + {file = "tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba"}, + {file = "tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6"}, + {file = "tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7"}, + {file = "tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232"}, + {file = "tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4"}, + {file = "tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c"}, + {file = "tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d"}, + {file = "tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41"}, + {file = "tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c"}, + {file = "tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f"}, + {file = "tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8"}, + {file = "tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26"}, + {file = "tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396"}, + {file = "tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe"}, + {file = "tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f"}, +] + +[[package]] +name = "typing-extensions" +version = "4.15.0" +description = "Backported and Experimental Type Hints for Python 3.9+" +category = "dev" +optional = false +python-versions = ">=3.9" +files = [ + {file = "typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548"}, + {file = "typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"}, +] + +[[package]] +name = "virtualenv" +version = "21.3.1" +description = "Virtual Python Environment builder" +category = "dev" +optional = false +python-versions = ">=3.8" +files = [ + {file = "virtualenv-21.3.1-py3-none-any.whl", hash = "sha256:d1a71cf58f2f9228fff23a1f6ec15d39785c6b32e03658d104974247145edd35"}, + {file = "virtualenv-21.3.1.tar.gz", hash = "sha256:c2305bc1fddeec40699b8370d13f8d431b0701f00ce895061ce493aeded4426b"}, +] + +[package.dependencies] +distlib = ">=0.3.7,<1" +filelock = {version = ">=3.24.2,<4", markers = "python_version >= \"3.10\""} +platformdirs = ">=3.9.1,<5" +python-discovery = ">=1.2.2" +typing-extensions = {version = ">=4.13.2", markers = "python_version < \"3.11\""} [metadata] -lock-version = "2.1" -python-versions = "^3.11" -content-hash = "9317a7da113434a337ef0b085035967795bce8cf6a24a2af2f75d9f88f07a493" +lock-version = "2.0" +python-versions = "^3.10" +content-hash = "90ce9a1b101b04df4569ffccacb34d76f41b0b6fd1b5181d44839a546a0e0ab5" diff --git a/pyproject.toml b/pyproject.toml index ec8b70f..90f6dd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,18 +6,36 @@ authors = ["Your Name "] readme = "README.md" packages = [{ include = "hello_python", from = "src" }] +[tool.poetry.scripts] +hello-python = "hello_python.main:main" + [tool.poetry.dependencies] -python = "^3.11" +python = "^3.10" pyqt5 = "^5.15.11" -pyinstaller = {version = "^6.19.0", python = ">=3.11,<3.15"} [tool.poetry.group.dev.dependencies] pytest = "^8.3.5" pytest-cov = "^6.1.1" ruff = "^0.11.0" +pre-commit = "^4.0.0" + +[tool.poetry.group.build.dependencies] +pyinstaller = {version = "^6.19.0", python = ">=3.10,<3.15"} [tool.pytest.ini_options] pythonpath = ["src"] +testpaths = ["tests"] +markers = ["slow: marks tests that perform a full build (deselect with '-m \"not slow\"')"] + +[tool.ruff] +target-version = "py310" +line-length = 88 + +[tool.ruff.lint] +select = ["E", "F", "I", "N", "W", "UP"] + +[tool.ruff.lint.isort] +known-first-party = ["hello_python"] [build-system] requires = ["poetry-core>=1.9.0"] diff --git a/scripts/build_linux.sh b/scripts/build_linux.sh deleted file mode 100755 index 51c455e..0000000 --- a/scripts/build_linux.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -cd "$ROOT_DIR" - -if command -v poetry >/dev/null 2>&1; then - POETRY_CMD="poetry" -elif [[ -x "$ROOT_DIR/.venv/bin/poetry" ]]; then - POETRY_CMD="$ROOT_DIR/.venv/bin/poetry" -else - echo "Poetry was not found. Install Poetry or run 'python -m pip install poetry' in .venv." >&2 - exit 1 -fi - -"$POETRY_CMD" run pyinstaller \ - --noconfirm \ - --clean \ - --onefile \ - --windowed \ - --hidden-import PyQt5.sip \ - --name hello-python-linux \ - --distpath dist/linux \ - --workpath build/pyinstaller/linux \ - --specpath build/spec/linux \ - src/hello_python/main.py - -echo "Built executable: dist/linux/hello-python-linux" diff --git a/scripts/build_windows.ps1 b/scripts/build_windows.ps1 deleted file mode 100644 index b7b61df..0000000 --- a/scripts/build_windows.ps1 +++ /dev/null @@ -1,29 +0,0 @@ -$ErrorActionPreference = "Stop" - -$RootDir = Resolve-Path (Join-Path $PSScriptRoot "..") -Set-Location $RootDir - -$PoetryCmd = "poetry" -if (-not (Get-Command poetry -ErrorAction SilentlyContinue)) { - $VenvPoetry = Join-Path $RootDir ".venv\Scripts\poetry.exe" - if (Test-Path $VenvPoetry) { - $PoetryCmd = $VenvPoetry - } - else { - throw "Poetry was not found. Install Poetry or install it into .venv first." - } -} - -& $PoetryCmd run pyinstaller ` - --noconfirm ` - --clean ` - --onefile ` - --windowed ` - --hidden-import PyQt5.sip ` - --name hello-python-windows ` - --distpath dist/windows ` - --workpath build/pyinstaller/windows ` - --specpath build/spec/windows ` - src/hello_python/main.py - -Write-Host "Built executable: dist/windows/hello-python-windows.exe" diff --git a/scripts/format.sh b/scripts/format.sh deleted file mode 100755 index be3aacd..0000000 --- a/scripts/format.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -cd "$ROOT_DIR" - -if command -v poetry >/dev/null 2>&1; then - RUFF_CMD=("poetry" "run" "ruff") -elif [[ -x "$ROOT_DIR/.venv/bin/ruff" ]]; then - RUFF_CMD=("$ROOT_DIR/.venv/bin/ruff") -elif [[ -x "$ROOT_DIR/.venv/bin/python" ]]; then - RUFF_CMD=("$ROOT_DIR/.venv/bin/python" "-m" "ruff") -else - echo "Ruff was not found. Install dev dependencies with Poetry or pip in .venv." >&2 - exit 1 -fi - -"${RUFF_CMD[@]}" format . -"${RUFF_CMD[@]}" check --fix . - -echo "Formatting complete." diff --git a/scripts/style_check.sh b/scripts/style_check.sh deleted file mode 100755 index d80ce7a..0000000 --- a/scripts/style_check.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" -cd "$ROOT_DIR" - -if command -v poetry >/dev/null 2>&1; then - RUFF_CMD=("poetry" "run" "ruff") -elif [[ -x "$ROOT_DIR/.venv/bin/ruff" ]]; then - RUFF_CMD=("$ROOT_DIR/.venv/bin/ruff") -elif [[ -x "$ROOT_DIR/.venv/bin/python" ]]; then - RUFF_CMD=("$ROOT_DIR/.venv/bin/python" "-m" "ruff") -else - echo "Ruff was not found. Install dev dependencies with Poetry or pip in .venv." >&2 - exit 1 -fi - -"${RUFF_CMD[@]}" format --check . -"${RUFF_CMD[@]}" check . - -echo "Style checks passed." diff --git a/src/hello_python/__init__.py b/src/hello_python/__init__.py index a8a2636..49853ed 100644 --- a/src/hello_python/__init__.py +++ b/src/hello_python/__init__.py @@ -1,3 +1,5 @@ -"""Sample package for Poetry project setup.""" +"""Hello Python - a minimal PyQt5 application.""" -__all__ = ["main"] +from hello_python.main import get_hello_message + +__all__ = ["get_hello_message"] diff --git a/src/hello_python/__main__.py b/src/hello_python/__main__.py new file mode 100644 index 0000000..27345fd --- /dev/null +++ b/src/hello_python/__main__.py @@ -0,0 +1,6 @@ +"""Allow running the package with `python -m hello_python`.""" + +from hello_python.main import main + +if __name__ == "__main__": + main() diff --git a/src/hello_python/build.py b/src/hello_python/build.py new file mode 100644 index 0000000..3368ad8 --- /dev/null +++ b/src/hello_python/build.py @@ -0,0 +1,82 @@ +"""Build executable using PyInstaller.""" + +from __future__ import annotations + +import platform +import shutil +import subprocess +from pathlib import Path + + +class BuildExecutable: + """Builds the hello-python application into a standalone executable.""" + + def __init__(self, root_dir: Path | None = None) -> None: + self.root_dir = root_dir or Path(__file__).resolve().parent.parent.parent + self.entry_point = self.root_dir / "src" / "hello_python" / "main.py" + self._configure_platform() + + def _configure_platform(self) -> None: + if platform.system() == "Windows": + self.name = "hello-python-windows" + self.dist_path = self.root_dir / "dist" / "windows" + self.work_path = self.root_dir / "build" / "pyinstaller" / "windows" + self.spec_path = self.root_dir / "build" / "spec" / "windows" + else: + self.name = "hello-python-linux" + self.dist_path = self.root_dir / "dist" / "linux" + self.work_path = self.root_dir / "build" / "pyinstaller" / "linux" + self.spec_path = self.root_dir / "build" / "spec" / "linux" + + def _find_poetry(self) -> str: + if shutil.which("poetry"): + return "poetry" + if platform.system() == "Windows": + venv_poetry = self.root_dir / ".venv" / "Scripts" / "poetry.exe" + else: + venv_poetry = self.root_dir / ".venv" / "bin" / "poetry" + if venv_poetry.is_file(): + return str(venv_poetry) + raise FileNotFoundError( + "Poetry was not found. Install Poetry or install it into .venv first." + ) + + def build(self) -> Path: + """Run PyInstaller and return the path to the built executable.""" + poetry = self._find_poetry() + cmd = [ + poetry, + "run", + "pyinstaller", + "--noconfirm", + "--clean", + "--onefile", + "--windowed", + "--hidden-import", + "PyQt5.sip", + "--name", + self.name, + "--distpath", + str(self.dist_path), + "--workpath", + str(self.work_path), + "--specpath", + str(self.spec_path), + str(self.entry_point), + ] + result = subprocess.run(cmd, cwd=str(self.root_dir), check=False) + if result.returncode != 0: + raise RuntimeError(f"Build failed with exit code {result.returncode}") + + if platform.system() == "Windows": + exe = self.dist_path / f"{self.name}.exe" + else: + exe = self.dist_path / self.name + + print(f"Built executable: {exe}") + return exe + + +if __name__ == "__main__": + builder = BuildExecutable() + builder.build() diff --git a/src/hello_python/codestyle.py b/src/hello_python/codestyle.py new file mode 100644 index 0000000..37f65a6 --- /dev/null +++ b/src/hello_python/codestyle.py @@ -0,0 +1,56 @@ +"""Code formatting and style checking using Ruff.""" + +from __future__ import annotations + +import platform +import shutil +import subprocess +import sys +from pathlib import Path + + +class CodeStyle: + """Runs Ruff for code formatting and style checking.""" + + def __init__(self, root_dir: Path | None = None) -> None: + self.root_dir = root_dir or Path(__file__).resolve().parent.parent.parent + + def _find_ruff(self) -> list[str]: + """Return the command prefix to invoke ruff.""" + if shutil.which("poetry"): + return ["poetry", "run", "ruff"] + if platform.system() == "Windows": + venv_ruff = self.root_dir / ".venv" / "Scripts" / "ruff.exe" + else: + venv_ruff = self.root_dir / ".venv" / "bin" / "ruff" + if venv_ruff.is_file(): + return [str(venv_ruff)] + raise FileNotFoundError( + "Ruff was not found. Install dev dependencies with Poetry or pip in .venv." + ) + + def format(self) -> None: + """Format code and apply auto-fixes.""" + ruff = self._find_ruff() + subprocess.run([*ruff, "format", "."], cwd=str(self.root_dir), check=True) + subprocess.run( + [*ruff, "check", "--fix", "."], cwd=str(self.root_dir), check=True + ) + print("Formatting complete.") + + def check(self) -> None: + """Check formatting and style without making changes.""" + ruff = self._find_ruff() + subprocess.run( + [*ruff, "format", "--check", "."], cwd=str(self.root_dir), check=True + ) + subprocess.run([*ruff, "check", "."], cwd=str(self.root_dir), check=True) + print("Style checks passed.") + + +if __name__ == "__main__": + style = CodeStyle() + if len(sys.argv) > 1 and sys.argv[1] == "check": + style.check() + else: + style.format() diff --git a/src/hello_python/main.py b/src/hello_python/main.py index f9d5c5f..fd233b2 100644 --- a/src/hello_python/main.py +++ b/src/hello_python/main.py @@ -2,38 +2,16 @@ import sys -from PyQt5.QtWidgets import QApplication, QLabel, QPushButton, QVBoxLayout, QWidget +from PyQt5.QtWidgets import QApplication def get_hello_message() -> str: return "Hello, world!" -class HelloWindow(QWidget): - def __init__(self) -> None: - super().__init__() - self.setWindowTitle("Hello App") - - self.message_label = QLabel("Click the button to show a message") - self.hello_button = QPushButton("Say Hello") - self.hello_button.clicked.connect(self.on_hello_clicked) - self.exit_button = QPushButton("Exit") - self.exit_button.clicked.connect(self.on_exit_clicked) - - layout = QVBoxLayout() - layout.addWidget(self.message_label) - layout.addWidget(self.hello_button) - layout.addWidget(self.exit_button) - self.setLayout(layout) - - def on_hello_clicked(self) -> None: - self.message_label.setText(get_hello_message()) - - def on_exit_clicked(self) -> None: - self.close() - - def main() -> None: + from hello_python.window import HelloWindow + app = QApplication(sys.argv) window = HelloWindow() window.resize(320, 120) diff --git a/src/hello_python/window.py b/src/hello_python/window.py new file mode 100644 index 0000000..0a6fc7f --- /dev/null +++ b/src/hello_python/window.py @@ -0,0 +1,29 @@ +from __future__ import annotations + +from PyQt5.QtWidgets import QLabel, QPushButton, QVBoxLayout, QWidget + +from hello_python.main import get_hello_message + + +class HelloWindow(QWidget): + def __init__(self) -> None: + super().__init__() + self.setWindowTitle("Hello App") + + self.message_label = QLabel("Click the button to show a message") + self.hello_button = QPushButton("Say Hello") + self.hello_button.clicked.connect(self.on_hello_clicked) + self.exit_button = QPushButton("Exit") + self.exit_button.clicked.connect(self.on_exit_clicked) + + layout = QVBoxLayout() + layout.addWidget(self.message_label) + layout.addWidget(self.hello_button) + layout.addWidget(self.exit_button) + self.setLayout(layout) + + def on_hello_clicked(self) -> None: + self.message_label.setText(get_hello_message()) + + def on_exit_clicked(self) -> None: + self.close() diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..d968b33 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,14 @@ +import os + +import pytest +from PyQt5.QtWidgets import QApplication + + +@pytest.fixture(scope="session") +def app() -> QApplication: + """Create a QApplication instance for the entire test session.""" + os.environ.setdefault("QT_QPA_PLATFORM", "offscreen") + existing_app = QApplication.instance() + if existing_app is not None: + return existing_app + return QApplication([]) diff --git a/tests/test_build.py b/tests/test_build.py new file mode 100644 index 0000000..2da74fa --- /dev/null +++ b/tests/test_build.py @@ -0,0 +1,109 @@ +"""Tests for PyInstaller build configuration and executable generation.""" + +import platform +import subprocess +import sys +from pathlib import Path + +import pytest + +ROOT_DIR = Path(__file__).resolve().parent.parent + + +class TestBuildConfiguration: + """Verify PyInstaller configuration is correct.""" + + def test_entry_point_module_exists(self) -> None: + entry = ROOT_DIR / "src" / "hello_python" / "main.py" + assert entry.is_file(), "Entry point src/hello_python/main.py not found" + + def test_entry_point_has_main_function(self) -> None: + entry = ROOT_DIR / "src" / "hello_python" / "main.py" + content = entry.read_text(encoding="utf-8") + assert "def main()" in content, "main() function not found in entry point" + + def test_entry_point_has_name_guard(self) -> None: + entry = ROOT_DIR / "src" / "hello_python" / "main.py" + content = entry.read_text(encoding="utf-8") + assert ( + '__name__ == "__main__"' in content or "__name__ == '__main__'" in content + ) + + +class TestPyInstallerAvailable: + """Verify PyInstaller is installed and importable. + + These tests require the build dependency group: + poetry install --with build + """ + + def test_pyinstaller_importable(self) -> None: + try: + import PyInstaller + except ModuleNotFoundError: + pytest.skip("PyInstaller not installed (run: poetry install --with build)") + assert PyInstaller.__version__ + + def test_pyinstaller_command_available(self) -> None: + result = subprocess.run( + [sys.executable, "-m", "PyInstaller", "--version"], + capture_output=True, + text=True, + ) + if result.returncode != 0: + pytest.skip("PyInstaller not installed (run: poetry install --with build)") + assert result.returncode == 0 + + +@pytest.mark.slow +class TestBuildExecutable: + """Integration tests that actually run the build and verify output. + + These tests are marked as slow and can be skipped with: pytest -m "not slow" + """ + + @pytest.fixture(autouse=True) + def _skip_if_no_pyinstaller(self) -> None: + """Skip if PyInstaller is not installed.""" + result = subprocess.run( + [sys.executable, "-m", "PyInstaller", "--version"], + capture_output=True, + text=True, + ) + if result.returncode != 0: + pytest.skip("PyInstaller not installed (run: poetry install --with build)") + + @pytest.mark.skipif( + platform.system() != "Windows", reason="Windows-only build test" + ) + def test_build_windows_executable(self, tmp_path: Path) -> None: + dist_path = tmp_path / "dist" / "windows" + result = subprocess.run( + [ + sys.executable, + "-m", + "PyInstaller", + "--noconfirm", + "--clean", + "--onefile", + "--windowed", + "--hidden-import", + "PyQt5.sip", + "--name", + "hello-python-windows", + "--distpath", + str(dist_path), + "--workpath", + str(tmp_path / "build"), + "--specpath", + str(tmp_path / "spec"), + str(ROOT_DIR / "src" / "hello_python" / "main.py"), + ], + capture_output=True, + text=True, + cwd=str(ROOT_DIR), + ) + assert result.returncode == 0, f"Build failed:\n{result.stderr}" + exe = dist_path / "hello-python-windows.exe" + assert exe.is_file(), "Executable not produced" + assert exe.stat().st_size > 0, "Executable is empty" diff --git a/tests/test_build_class.py b/tests/test_build_class.py new file mode 100644 index 0000000..2408147 --- /dev/null +++ b/tests/test_build_class.py @@ -0,0 +1,192 @@ +"""Tests for hello_python.build.BuildExecutable class.""" + +from __future__ import annotations + +import platform +import subprocess +from pathlib import Path +from unittest.mock import patch + +import pytest + +from hello_python.build import BuildExecutable + +ROOT_DIR = Path(__file__).resolve().parent.parent + + +class TestBuildExecutableInit: + """Test BuildExecutable initialization and platform configuration.""" + + def test_default_root_dir(self) -> None: + builder = BuildExecutable() + assert builder.root_dir.is_dir() + + def test_custom_root_dir(self, tmp_path: Path) -> None: + builder = BuildExecutable(root_dir=tmp_path) + assert builder.root_dir == tmp_path + + def test_entry_point_path(self) -> None: + builder = BuildExecutable(root_dir=ROOT_DIR) + expected = ROOT_DIR / "src" / "hello_python" / "main.py" + assert builder.entry_point == expected + + @patch("hello_python.build.platform.system", return_value="Windows") + def test_configure_platform_windows(self, _mock: object) -> None: + builder = BuildExecutable.__new__(BuildExecutable) + builder.root_dir = ROOT_DIR + builder.entry_point = ROOT_DIR / "src" / "hello_python" / "main.py" + builder._configure_platform() + + assert builder.name == "hello-python-windows" + assert builder.dist_path == ROOT_DIR / "dist" / "windows" + assert builder.work_path == ROOT_DIR / "build" / "pyinstaller" / "windows" + assert builder.spec_path == ROOT_DIR / "build" / "spec" / "windows" + + @patch("hello_python.build.platform.system", return_value="Linux") + def test_configure_platform_linux(self, _mock: object) -> None: + builder = BuildExecutable.__new__(BuildExecutable) + builder.root_dir = ROOT_DIR + builder.entry_point = ROOT_DIR / "src" / "hello_python" / "main.py" + builder._configure_platform() + + assert builder.name == "hello-python-linux" + assert builder.dist_path == ROOT_DIR / "dist" / "linux" + assert builder.work_path == ROOT_DIR / "build" / "pyinstaller" / "linux" + assert builder.spec_path == ROOT_DIR / "build" / "spec" / "linux" + + +class TestBuildExecutableFindPoetry: + """Test poetry discovery logic.""" + + @patch("hello_python.build.shutil.which", return_value="/usr/bin/poetry") + def test_find_poetry_on_path(self, _mock: object) -> None: + builder = BuildExecutable(root_dir=ROOT_DIR) + assert builder._find_poetry() == "poetry" + + @patch("hello_python.build.shutil.which", return_value=None) + @patch("hello_python.build.platform.system", return_value="Windows") + def test_find_poetry_in_venv_windows( + self, _mock_sys: object, _mock_which: object, tmp_path: Path + ) -> None: + venv_poetry = tmp_path / ".venv" / "Scripts" / "poetry.exe" + venv_poetry.parent.mkdir(parents=True) + venv_poetry.touch() + + builder = BuildExecutable.__new__(BuildExecutable) + builder.root_dir = tmp_path + builder.entry_point = tmp_path / "src" / "hello_python" / "main.py" + builder._configure_platform() + + assert builder._find_poetry() == str(venv_poetry) + + @patch("hello_python.build.shutil.which", return_value=None) + @patch("hello_python.build.platform.system", return_value="Linux") + def test_find_poetry_in_venv_linux( + self, _mock_sys: object, _mock_which: object, tmp_path: Path + ) -> None: + venv_poetry = tmp_path / ".venv" / "bin" / "poetry" + venv_poetry.parent.mkdir(parents=True) + venv_poetry.touch() + + builder = BuildExecutable.__new__(BuildExecutable) + builder.root_dir = tmp_path + builder.entry_point = tmp_path / "src" / "hello_python" / "main.py" + builder._configure_platform() + + assert builder._find_poetry() == str(venv_poetry) + + @patch("hello_python.build.shutil.which", return_value=None) + def test_find_poetry_not_found_raises(self, _mock: object, tmp_path: Path) -> None: + builder = BuildExecutable(root_dir=tmp_path) + with pytest.raises(FileNotFoundError, match="Poetry was not found"): + builder._find_poetry() + + +class TestBuildExecutableBuild: + """Test the build method logic with mocked subprocess.""" + + @patch("hello_python.build.subprocess.run") + @patch("hello_python.build.shutil.which", return_value="/usr/bin/poetry") + def test_build_invokes_pyinstaller_with_correct_args( + self, _mock_which: object, mock_run: object, tmp_path: Path + ) -> None: + mock_run.return_value = subprocess.CompletedProcess(args=[], returncode=0) + + builder = BuildExecutable(root_dir=tmp_path) + builder.dist_path.mkdir(parents=True) + if platform.system() == "Windows": + exe = builder.dist_path / f"{builder.name}.exe" + else: + exe = builder.dist_path / builder.name + exe.touch() + + result = builder.build() + + assert result == exe + mock_run.assert_called_once() + cmd = mock_run.call_args[0][0] + assert cmd[0] == "poetry" + assert "run" in cmd + assert "pyinstaller" in cmd + assert "--noconfirm" in cmd + assert "--clean" in cmd + assert "--onefile" in cmd + assert "--windowed" in cmd + assert "--hidden-import" in cmd + assert "PyQt5.sip" in cmd + assert str(builder.entry_point) in cmd + + @patch("hello_python.build.subprocess.run") + @patch("hello_python.build.shutil.which", return_value="/usr/bin/poetry") + def test_build_failure_raises( + self, _mock_which: object, mock_run: object, tmp_path: Path + ) -> None: + mock_run.return_value = subprocess.CompletedProcess(args=[], returncode=1) + + builder = BuildExecutable(root_dir=tmp_path) + with pytest.raises(RuntimeError, match="Build failed with exit code 1"): + builder.build() + + +@pytest.mark.slow +class TestBuildExecutableIntegration: + """Integration tests that actually run PyInstaller. + + Skipped by default. Run with: pytest -m slow + """ + + @pytest.fixture(autouse=True) + def _skip_if_no_pyinstaller(self) -> None: + """Skip if PyInstaller is not installed.""" + try: + import PyInstaller # noqa: F401 + except ModuleNotFoundError: + pytest.skip("PyInstaller not installed (run: poetry install --with build)") + + @pytest.mark.skipif( + platform.system() != "Windows", reason="Windows-only build test" + ) + def test_build_success_windows(self, tmp_path: Path) -> None: + builder = BuildExecutable(root_dir=ROOT_DIR) + builder.dist_path = tmp_path / "dist" / "windows" + builder.work_path = tmp_path / "build" / "pyinstaller" / "windows" + builder.spec_path = tmp_path / "build" / "spec" / "windows" + + result = builder.build() + + assert result.is_file(), f"Executable not produced at {result}" + assert result.stat().st_size > 0, "Executable is empty" + assert result.name == "hello-python-windows.exe" + + @pytest.mark.skipif(platform.system() != "Linux", reason="Linux-only build test") + def test_build_success_linux(self, tmp_path: Path) -> None: + builder = BuildExecutable(root_dir=ROOT_DIR) + builder.dist_path = tmp_path / "dist" / "linux" + builder.work_path = tmp_path / "build" / "pyinstaller" / "linux" + builder.spec_path = tmp_path / "build" / "spec" / "linux" + + result = builder.build() + + assert result.is_file(), f"Executable not produced at {result}" + assert result.stat().st_size > 0, "Executable is empty" + assert result.name == "hello-python-linux" diff --git a/tests/test_codestyle.py b/tests/test_codestyle.py new file mode 100644 index 0000000..b854406 --- /dev/null +++ b/tests/test_codestyle.py @@ -0,0 +1,140 @@ +"""Tests for hello_python.codestyle.CodeStyle class.""" + +from __future__ import annotations + +import subprocess +from pathlib import Path +from unittest.mock import call, patch + +import pytest + +from hello_python.codestyle import CodeStyle + +ROOT_DIR = Path(__file__).resolve().parent.parent + + +class TestCodeStyleInit: + """Test CodeStyle initialization.""" + + def test_default_root_dir(self) -> None: + style = CodeStyle() + assert style.root_dir.is_dir() + + def test_custom_root_dir(self, tmp_path: Path) -> None: + style = CodeStyle(root_dir=tmp_path) + assert style.root_dir == tmp_path + + +class TestCodeStyleFindRuff: + """Test ruff discovery logic.""" + + @patch("hello_python.codestyle.shutil.which", return_value="/usr/bin/poetry") + def test_find_ruff_via_poetry(self, _mock: object) -> None: + style = CodeStyle(root_dir=ROOT_DIR) + assert style._find_ruff() == ["poetry", "run", "ruff"] + + @patch("hello_python.codestyle.shutil.which", return_value=None) + @patch("hello_python.codestyle.platform.system", return_value="Windows") + def test_find_ruff_in_venv_windows( + self, _mock_sys: object, _mock_which: object, tmp_path: Path + ) -> None: + venv_ruff = tmp_path / ".venv" / "Scripts" / "ruff.exe" + venv_ruff.parent.mkdir(parents=True) + venv_ruff.touch() + + style = CodeStyle(root_dir=tmp_path) + assert style._find_ruff() == [str(venv_ruff)] + + @patch("hello_python.codestyle.shutil.which", return_value=None) + @patch("hello_python.codestyle.platform.system", return_value="Linux") + def test_find_ruff_in_venv_linux( + self, _mock_sys: object, _mock_which: object, tmp_path: Path + ) -> None: + venv_ruff = tmp_path / ".venv" / "bin" / "ruff" + venv_ruff.parent.mkdir(parents=True) + venv_ruff.touch() + + style = CodeStyle(root_dir=tmp_path) + assert style._find_ruff() == [str(venv_ruff)] + + @patch("hello_python.codestyle.shutil.which", return_value=None) + def test_find_ruff_not_found_raises(self, _mock: object, tmp_path: Path) -> None: + style = CodeStyle(root_dir=tmp_path) + with pytest.raises(FileNotFoundError, match="Ruff was not found"): + style._find_ruff() + + +class TestCodeStyleFormat: + """Test the format method.""" + + @patch("hello_python.codestyle.subprocess.run") + @patch("hello_python.codestyle.shutil.which", return_value="/usr/bin/poetry") + def test_format_calls_ruff_format_and_check_fix( + self, _mock_which: object, mock_run: object, tmp_path: Path + ) -> None: + mock_run.return_value = subprocess.CompletedProcess(args=[], returncode=0) + + style = CodeStyle(root_dir=tmp_path) + style.format() + + assert mock_run.call_count == 2 + calls = mock_run.call_args_list + assert calls[0] == call( + ["poetry", "run", "ruff", "format", "."], + cwd=str(tmp_path), + check=True, + ) + assert calls[1] == call( + ["poetry", "run", "ruff", "check", "--fix", "."], + cwd=str(tmp_path), + check=True, + ) + + @patch("hello_python.codestyle.subprocess.run") + @patch("hello_python.codestyle.shutil.which", return_value="/usr/bin/poetry") + def test_format_raises_on_failure( + self, _mock_which: object, mock_run: object, tmp_path: Path + ) -> None: + mock_run.side_effect = subprocess.CalledProcessError(1, "ruff") + + style = CodeStyle(root_dir=tmp_path) + with pytest.raises(subprocess.CalledProcessError): + style.format() + + +class TestCodeStyleCheck: + """Test the check method.""" + + @patch("hello_python.codestyle.subprocess.run") + @patch("hello_python.codestyle.shutil.which", return_value="/usr/bin/poetry") + def test_check_calls_ruff_format_check_and_check( + self, _mock_which: object, mock_run: object, tmp_path: Path + ) -> None: + mock_run.return_value = subprocess.CompletedProcess(args=[], returncode=0) + + style = CodeStyle(root_dir=tmp_path) + style.check() + + assert mock_run.call_count == 2 + calls = mock_run.call_args_list + assert calls[0] == call( + ["poetry", "run", "ruff", "format", "--check", "."], + cwd=str(tmp_path), + check=True, + ) + assert calls[1] == call( + ["poetry", "run", "ruff", "check", "."], + cwd=str(tmp_path), + check=True, + ) + + @patch("hello_python.codestyle.subprocess.run") + @patch("hello_python.codestyle.shutil.which", return_value="/usr/bin/poetry") + def test_check_raises_on_failure( + self, _mock_which: object, mock_run: object, tmp_path: Path + ) -> None: + mock_run.side_effect = subprocess.CalledProcessError(1, "ruff") + + style = CodeStyle(root_dir=tmp_path) + with pytest.raises(subprocess.CalledProcessError): + style.check() diff --git a/tests/test_main.py b/tests/test_main.py index 60593da..784c6ee 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -1,20 +1,9 @@ -import os - import pytest from PyQt5.QtWidgets import QApplication import hello_python.main as main_module -from hello_python.main import HelloWindow, get_hello_message - - -@pytest.fixture(scope="module") -def app() -> QApplication: - # Use the offscreen backend so tests run in headless CI environments. - os.environ.setdefault("QT_QPA_PLATFORM", "offscreen") - existing_app = QApplication.instance() - if existing_app is not None: - return existing_app - return QApplication([]) +from hello_python.main import get_hello_message +from hello_python.window import HelloWindow def test_get_hello_message() -> None: @@ -38,7 +27,9 @@ def test_click_button_shows_hello_message(app: QApplication) -> None: assert window.message_label.text() == "Hello, world!" -def test_click_exit_button_closes_window(app: QApplication, monkeypatch: pytest.MonkeyPatch) -> None: +def test_click_exit_button_closes_window( + app: QApplication, monkeypatch: pytest.MonkeyPatch +) -> None: window = HelloWindow() closed = {"called": False} @@ -48,8 +39,7 @@ def fake_close() -> None: monkeypatch.setattr(window, "close", fake_close) window.exit_button.click() - - assert closed["called"] is True + assert closed["called"] def test_main_creates_and_runs_app(monkeypatch: pytest.MonkeyPatch) -> None: @@ -73,7 +63,7 @@ def show(self) -> None: captured["show_called"] = True monkeypatch.setattr(main_module, "QApplication", FakeApp) - monkeypatch.setattr(main_module, "HelloWindow", FakeWindow) + monkeypatch.setattr("hello_python.window.HelloWindow", FakeWindow) main_module.main() From 0f01464f47db8e3b3580a27fd790417db7a4f3ca Mon Sep 17 00:00:00 2001 From: v-raymondsu Date: Thu, 7 May 2026 14:02:27 +0800 Subject: [PATCH 2/2] fix: CI windows build errors - Updated docs --- README.md | 42 ++++-- docs/git-version-control.md | 9 +- poetry.lock | 273 ++++++++++++++++++------------------ pyproject.toml | 3 +- 4 files changed, 181 insertions(+), 146 deletions(-) diff --git a/README.md b/README.md index 351aa60..c0184b4 100644 --- a/README.md +++ b/README.md @@ -101,17 +101,43 @@ src/hello_python/ ├── __init__.py # Package exports ├── __main__.py # python -m entry point ├── main.py # Core logic and app entry -└── window.py # UI components (HelloWindow) +├── window.py # UI components (HelloWindow) +├── build.py # PyInstaller build class +└── codestyle.py # Ruff formatting/linting class tests/ ├── conftest.py # Shared test fixtures -└── test_main.py # Unit tests -docs/ # Additional documentation +├── test_main.py # Unit tests for main + window +├── test_build.py # Build configuration tests +├── test_build_class.py # BuildExecutable class tests +└── test_codestyle.py # CodeStyle class tests +docs/ # Documentation ``` +## Pre-commit Hooks + +Install and activate: + +```bash +poetry run pre-commit install +``` + +Run manually: + +```bash +poetry run pre-commit run --all-files +``` + +## CI/CD + +- **CI:** `.github/workflows/ci.yml` — lint, test, build on push/PR +- **CD:** `.github/workflows/cd.yml` — release candidate on main after CI passes + +See `docs/ci-validation.md` for full details. + ## Additional Documentation -- CI validation tutorial: `docs/ci-validation.md` -- Git version control guide: `docs/git-version-control.md` -- Figma-style UI/UX spec: `docs/figma-uiux-style-guide.md` -- Penpot UI/UX spec JSON: `docs/penpot-uiux-spec.json` -- Penpot import guide: `docs/penpot-uiux-import.md` +- [Pre-commit, CI & CD Guide](docs/ci-validation.md) +- [Git Version Control Guide](docs/git-version-control.md) +- [Figma-Style UI/UX Spec](docs/figma-uiux-style-guide.md) +- [Penpot UI/UX Spec JSON](docs/penpot-uiux-spec.json) +- [Penpot Import Guide](docs/penpot-uiux-import.md) diff --git a/docs/git-version-control.md b/docs/git-version-control.md index fa89f58..cff4fa7 100644 --- a/docs/git-version-control.md +++ b/docs/git-version-control.md @@ -73,9 +73,16 @@ git push -u origin feature/ci-improvements ## Notes for this project - Keep `poetry.lock` tracked in Git to avoid CI dependency drift. +- Pre-commit hooks automatically run lint and tests before each commit. - Run checks before committing: +```bash +poetry run pre-commit run --all-files +``` + +Or manually: + ```bash poetry run python -m hello_python.codestyle check -poetry run pytest -q +poetry run pytest -m "not slow" -q ``` diff --git a/poetry.lock b/poetry.lock index c89f8a4..42a35dd 100644 --- a/poetry.lock +++ b/poetry.lock @@ -38,118 +38,118 @@ files = [ [[package]] name = "coverage" -version = "7.13.4" +version = "7.13.5" description = "Code coverage measurement for Python" category = "dev" optional = false python-versions = ">=3.10" files = [ - {file = "coverage-7.13.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0fc31c787a84f8cd6027eba44010517020e0d18487064cd3d8968941856d1415"}, - {file = "coverage-7.13.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a32ebc02a1805adf637fc8dec324b5cdacd2e493515424f70ee33799573d661b"}, - {file = "coverage-7.13.4-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:e24f9156097ff9dc286f2f913df3a7f63c0e333dcafa3c196f2c18b4175ca09a"}, - {file = "coverage-7.13.4-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8041b6c5bfdc03257666e9881d33b1abc88daccaf73f7b6340fb7946655cd10f"}, - {file = "coverage-7.13.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2a09cfa6a5862bc2fc6ca7c3def5b2926194a56b8ab78ffcf617d28911123012"}, - {file = "coverage-7.13.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:296f8b0af861d3970c2a4d8c91d48eb4dd4771bcef9baedec6a9b515d7de3def"}, - {file = "coverage-7.13.4-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e101609bcbbfb04605ea1027b10dc3735c094d12d40826a60f897b98b1c30256"}, - {file = "coverage-7.13.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:aa3feb8db2e87ff5e6d00d7e1480ae241876286691265657b500886c98f38bda"}, - {file = "coverage-7.13.4-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:4fc7fa81bbaf5a02801b65346c8b3e657f1d93763e58c0abdf7c992addd81a92"}, - {file = "coverage-7.13.4-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:33901f604424145c6e9c2398684b92e176c0b12df77d52db81c20abd48c3794c"}, - {file = "coverage-7.13.4-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:bb28c0f2cf2782508a40cec377935829d5fcc3ad9a3681375af4e84eb34b6b58"}, - {file = "coverage-7.13.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:9d107aff57a83222ddbd8d9ee705ede2af2cc926608b57abed8ef96b50b7e8f9"}, - {file = "coverage-7.13.4-cp310-cp310-win32.whl", hash = "sha256:a6f94a7d00eb18f1b6d403c91a88fd58cfc92d4b16080dfdb774afc8294469bf"}, - {file = "coverage-7.13.4-cp310-cp310-win_amd64.whl", hash = "sha256:2cb0f1e000ebc419632bbe04366a8990b6e32c4e0b51543a6484ffe15eaeda95"}, - {file = "coverage-7.13.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d490ba50c3f35dd7c17953c68f3270e7ccd1c6642e2d2afe2d8e720b98f5a053"}, - {file = "coverage-7.13.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:19bc3c88078789f8ef36acb014d7241961dbf883fd2533d18cb1e7a5b4e28b11"}, - {file = "coverage-7.13.4-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:3998e5a32e62fdf410c0dbd3115df86297995d6e3429af80b8798aad894ca7aa"}, - {file = "coverage-7.13.4-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8e264226ec98e01a8e1054314af91ee6cde0eacac4f465cc93b03dbe0bce2fd7"}, - {file = "coverage-7.13.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a3aa4e7b9e416774b21797365b358a6e827ffadaaca81b69ee02946852449f00"}, - {file = "coverage-7.13.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:71ca20079dd8f27fcf808817e281e90220475cd75115162218d0e27549f95fef"}, - {file = "coverage-7.13.4-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e2f25215f1a359ab17320b47bcdaca3e6e6356652e8256f2441e4ef972052903"}, - {file = "coverage-7.13.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d65b2d373032411e86960604dc4edac91fdfb5dca539461cf2cbe78327d1e64f"}, - {file = "coverage-7.13.4-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:94eb63f9b363180aff17de3e7c8760c3ba94664ea2695c52f10111244d16a299"}, - {file = "coverage-7.13.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:e856bf6616714c3a9fbc270ab54103f4e685ba236fa98c054e8f87f266c93505"}, - {file = "coverage-7.13.4-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:65dfcbe305c3dfe658492df2d85259e0d79ead4177f9ae724b6fb245198f55d6"}, - {file = "coverage-7.13.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b507778ae8a4c915436ed5c2e05b4a6cecfa70f734e19c22a005152a11c7b6a9"}, - {file = "coverage-7.13.4-cp311-cp311-win32.whl", hash = "sha256:784fc3cf8be001197b652d51d3fd259b1e2262888693a4636e18879f613a62a9"}, - {file = "coverage-7.13.4-cp311-cp311-win_amd64.whl", hash = "sha256:2421d591f8ca05b308cf0092807308b2facbefe54af7c02ac22548b88b95c98f"}, - {file = "coverage-7.13.4-cp311-cp311-win_arm64.whl", hash = "sha256:79e73a76b854d9c6088fe5d8b2ebe745f8681c55f7397c3c0a016192d681045f"}, - {file = "coverage-7.13.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:02231499b08dabbe2b96612993e5fc34217cdae907a51b906ac7fca8027a4459"}, - {file = "coverage-7.13.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40aa8808140e55dc022b15d8aa7f651b6b3d68b365ea0398f1441e0b04d859c3"}, - {file = "coverage-7.13.4-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5b856a8ccf749480024ff3bd7310adaef57bf31fd17e1bfc404b7940b6986634"}, - {file = "coverage-7.13.4-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2c048ea43875fbf8b45d476ad79f179809c590ec7b79e2035c662e7afa3192e3"}, - {file = "coverage-7.13.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b7b38448866e83176e28086674fe7368ab8590e4610fb662b44e345b86d63ffa"}, - {file = "coverage-7.13.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:de6defc1c9badbf8b9e67ae90fd00519186d6ab64e5cc5f3d21359c2a9b2c1d3"}, - {file = "coverage-7.13.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7eda778067ad7ffccd23ecffce537dface96212576a07924cbf0d8799d2ded5a"}, - {file = "coverage-7.13.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e87f6c587c3f34356c3759f0420693e35e7eb0e2e41e4c011cb6ec6ecbbf1db7"}, - {file = "coverage-7.13.4-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:8248977c2e33aecb2ced42fef99f2d319e9904a36e55a8a68b69207fb7e43edc"}, - {file = "coverage-7.13.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:25381386e80ae727608e662474db537d4df1ecd42379b5ba33c84633a2b36d47"}, - {file = "coverage-7.13.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:ee756f00726693e5ba94d6df2bdfd64d4852d23b09bb0bc700e3b30e6f333985"}, - {file = "coverage-7.13.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fdfc1e28e7c7cdce44985b3043bc13bbd9c747520f94a4d7164af8260b3d91f0"}, - {file = "coverage-7.13.4-cp312-cp312-win32.whl", hash = "sha256:01d4cbc3c283a17fc1e42d614a119f7f438eabb593391283adca8dc86eff1246"}, - {file = "coverage-7.13.4-cp312-cp312-win_amd64.whl", hash = "sha256:9401ebc7ef522f01d01d45532c68c5ac40fb27113019b6b7d8b208f6e9baa126"}, - {file = "coverage-7.13.4-cp312-cp312-win_arm64.whl", hash = "sha256:b1ec7b6b6e93255f952e27ab58fbc68dcc468844b16ecbee881aeb29b6ab4d8d"}, - {file = "coverage-7.13.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b66a2da594b6068b48b2692f043f35d4d3693fb639d5ea8b39533c2ad9ac3ab9"}, - {file = "coverage-7.13.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:3599eb3992d814d23b35c536c28df1a882caa950f8f507cef23d1cbf334995ac"}, - {file = "coverage-7.13.4-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:93550784d9281e374fb5a12bf1324cc8a963fd63b2d2f223503ef0fd4aa339ea"}, - {file = "coverage-7.13.4-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b720ce6a88a2755f7c697c23268ddc47a571b88052e6b155224347389fdf6a3b"}, - {file = "coverage-7.13.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7b322db1284a2ed3aa28ffd8ebe3db91c929b7a333c0820abec3d838ef5b3525"}, - {file = "coverage-7.13.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f4594c67d8a7c89cf922d9df0438c7c7bb022ad506eddb0fdb2863359ff78242"}, - {file = "coverage-7.13.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:53d133df809c743eb8bce33b24bcababb371f4441340578cd406e084d94a6148"}, - {file = "coverage-7.13.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:76451d1978b95ba6507a039090ba076105c87cc76fc3efd5d35d72093964d49a"}, - {file = "coverage-7.13.4-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:7f57b33491e281e962021de110b451ab8a24182589be17e12a22c79047935e23"}, - {file = "coverage-7.13.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:1731dc33dc276dafc410a885cbf5992f1ff171393e48a21453b78727d090de80"}, - {file = "coverage-7.13.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:bd60d4fe2f6fa7dff9223ca1bbc9f05d2b6697bc5961072e5d3b952d46e1b1ea"}, - {file = "coverage-7.13.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9181a3ccead280b828fae232df12b16652702b49d41e99d657f46cc7b1f6ec7a"}, - {file = "coverage-7.13.4-cp313-cp313-win32.whl", hash = "sha256:f53d492307962561ac7de4cd1de3e363589b000ab69617c6156a16ba7237998d"}, - {file = "coverage-7.13.4-cp313-cp313-win_amd64.whl", hash = "sha256:e6f70dec1cc557e52df5306d051ef56003f74d56e9c4dd7ddb07e07ef32a84dd"}, - {file = "coverage-7.13.4-cp313-cp313-win_arm64.whl", hash = "sha256:fb07dc5da7e849e2ad31a5d74e9bece81f30ecf5a42909d0a695f8bd1874d6af"}, - {file = "coverage-7.13.4-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:40d74da8e6c4b9ac18b15331c4b5ebc35a17069410cad462ad4f40dcd2d50c0d"}, - {file = "coverage-7.13.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4223b4230a376138939a9173f1bdd6521994f2aff8047fae100d6d94d50c5a12"}, - {file = "coverage-7.13.4-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:1d4be36a5114c499f9f1f9195e95ebf979460dbe2d88e6816ea202010ba1c34b"}, - {file = "coverage-7.13.4-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:200dea7d1e8095cc6e98cdabe3fd1d21ab17d3cee6dab00cadbb2fe35d9c15b9"}, - {file = "coverage-7.13.4-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b8eb931ee8e6d8243e253e5ed7336deea6904369d2fd8ae6e43f68abbf167092"}, - {file = "coverage-7.13.4-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:75eab1ebe4f2f64d9509b984f9314d4aa788540368218b858dad56dc8f3e5eb9"}, - {file = "coverage-7.13.4-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c35eb28c1d085eb7d8c9b3296567a1bebe03ce72962e932431b9a61f28facf26"}, - {file = "coverage-7.13.4-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:eb88b316ec33760714a4720feb2816a3a59180fd58c1985012054fa7aebee4c2"}, - {file = "coverage-7.13.4-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:7d41eead3cc673cbd38a4417deb7fd0b4ca26954ff7dc6078e33f6ff97bed940"}, - {file = "coverage-7.13.4-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:fb26a934946a6afe0e326aebe0730cdff393a8bc0bbb65a2f41e30feddca399c"}, - {file = "coverage-7.13.4-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:dae88bc0fc77edaa65c14be099bd57ee140cf507e6bfdeea7938457ab387efb0"}, - {file = "coverage-7.13.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:845f352911777a8e722bfce168958214951e07e47e5d5d9744109fa5fe77f79b"}, - {file = "coverage-7.13.4-cp313-cp313t-win32.whl", hash = "sha256:2fa8d5f8de70688a28240de9e139fa16b153cc3cbb01c5f16d88d6505ebdadf9"}, - {file = "coverage-7.13.4-cp313-cp313t-win_amd64.whl", hash = "sha256:9351229c8c8407645840edcc277f4a2d44814d1bc34a2128c11c2a031d45a5dd"}, - {file = "coverage-7.13.4-cp313-cp313t-win_arm64.whl", hash = "sha256:30b8d0512f2dc8c8747557e8fb459d6176a2c9e5731e2b74d311c03b78451997"}, - {file = "coverage-7.13.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:300deaee342f90696ed186e3a00c71b5b3d27bffe9e827677954f4ee56969601"}, - {file = "coverage-7.13.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:29e3220258d682b6226a9b0925bc563ed9a1ebcff3cad30f043eceea7eaf2689"}, - {file = "coverage-7.13.4-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:391ee8f19bef69210978363ca930f7328081c6a0152f1166c91f0b5fdd2a773c"}, - {file = "coverage-7.13.4-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0dd7ab8278f0d58a0128ba2fca25824321f05d059c1441800e934ff2efa52129"}, - {file = "coverage-7.13.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:78cdf0d578b15148b009ccf18c686aa4f719d887e76e6b40c38ffb61d264a552"}, - {file = "coverage-7.13.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:48685fee12c2eb3b27c62f2658e7ea21e9c3239cba5a8a242801a0a3f6a8c62a"}, - {file = "coverage-7.13.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4e83efc079eb39480e6346a15a1bcb3e9b04759c5202d157e1dd4303cd619356"}, - {file = "coverage-7.13.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ecae9737b72408d6a950f7e525f30aca12d4bd8dd95e37342e5beb3a2a8c4f71"}, - {file = "coverage-7.13.4-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:ae4578f8528569d3cf303fef2ea569c7f4c4059a38c8667ccef15c6e1f118aa5"}, - {file = "coverage-7.13.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:6fdef321fdfbb30a197efa02d48fcd9981f0d8ad2ae8903ac318adc653f5df98"}, - {file = "coverage-7.13.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:2b0f6ccf3dbe577170bebfce1318707d0e8c3650003cb4b3a9dd744575daa8b5"}, - {file = "coverage-7.13.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:75fcd519f2a5765db3f0e391eb3b7d150cce1a771bf4c9f861aeab86c767a3c0"}, - {file = "coverage-7.13.4-cp314-cp314-win32.whl", hash = "sha256:8e798c266c378da2bd819b0677df41ab46d78065fb2a399558f3f6cae78b2fbb"}, - {file = "coverage-7.13.4-cp314-cp314-win_amd64.whl", hash = "sha256:245e37f664d89861cf2329c9afa2c1fe9e6d4e1a09d872c947e70718aeeac505"}, - {file = "coverage-7.13.4-cp314-cp314-win_arm64.whl", hash = "sha256:ad27098a189e5838900ce4c2a99f2fe42a0bf0c2093c17c69b45a71579e8d4a2"}, - {file = "coverage-7.13.4-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:85480adfb35ffc32d40918aad81b89c69c9cc5661a9b8a81476d3e645321a056"}, - {file = "coverage-7.13.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:79be69cf7f3bf9b0deeeb062eab7ac7f36cd4cc4c4dd694bd28921ba4d8596cc"}, - {file = "coverage-7.13.4-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:caa421e2684e382c5d8973ac55e4f36bed6821a9bad5c953494de960c74595c9"}, - {file = "coverage-7.13.4-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:14375934243ee05f56c45393fe2ce81fe5cc503c07cee2bdf1725fb8bef3ffaf"}, - {file = "coverage-7.13.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:25a41c3104d08edb094d9db0d905ca54d0cd41c928bb6be3c4c799a54753af55"}, - {file = "coverage-7.13.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6f01afcff62bf9a08fb32b2c1d6e924236c0383c02c790732b6537269e466a72"}, - {file = "coverage-7.13.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:eb9078108fbf0bcdde37c3f4779303673c2fa1fe8f7956e68d447d0dd426d38a"}, - {file = "coverage-7.13.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:0e086334e8537ddd17e5f16a344777c1ab8194986ec533711cbe6c41cde841b6"}, - {file = "coverage-7.13.4-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:725d985c5ab621268b2edb8e50dfe57633dc69bda071abc470fed55a14935fd3"}, - {file = "coverage-7.13.4-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:3c06f0f1337c667b971ca2f975523347e63ec5e500b9aa5882d91931cd3ef750"}, - {file = "coverage-7.13.4-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:590c0ed4bf8e85f745e6b805b2e1c457b2e33d5255dd9729743165253bc9ad39"}, - {file = "coverage-7.13.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:eb30bf180de3f632cd043322dad5751390e5385108b2807368997d1a92a509d0"}, - {file = "coverage-7.13.4-cp314-cp314t-win32.whl", hash = "sha256:c4240e7eded42d131a2d2c4dec70374b781b043ddc79a9de4d55ca71f8e98aea"}, - {file = "coverage-7.13.4-cp314-cp314t-win_amd64.whl", hash = "sha256:4c7d3cc01e7350f2f0f6f7036caaf5673fb56b6998889ccfe9e1c1fe75a9c932"}, - {file = "coverage-7.13.4-cp314-cp314t-win_arm64.whl", hash = "sha256:23e3f687cf945070d1c90f85db66d11e3025665d8dafa831301a0e0038f3db9b"}, - {file = "coverage-7.13.4-py3-none-any.whl", hash = "sha256:1af1641e57cf7ba1bd67d677c9abdbcd6cc2ab7da3bca7fa1e2b7e50e65f2ad0"}, - {file = "coverage-7.13.4.tar.gz", hash = "sha256:e5c8f6ed1e61a8b2dcdf31eb0b9bbf0130750ca79c1c49eb898e2ad86f5ccc91"}, + {file = "coverage-7.13.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e0723d2c96324561b9aa76fb982406e11d93cdb388a7a7da2b16e04719cf7ca5"}, + {file = "coverage-7.13.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:52f444e86475992506b32d4e5ca55c24fc88d73bcbda0e9745095b28ef4dc0cf"}, + {file = "coverage-7.13.5-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:704de6328e3d612a8f6c07000a878ff38181ec3263d5a11da1db294fa6a9bdf8"}, + {file = "coverage-7.13.5-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:a1a6d79a14e1ec1832cabc833898636ad5f3754a678ef8bb4908515208bf84f4"}, + {file = "coverage-7.13.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:79060214983769c7ba3f0cee10b54c97609dca4d478fa1aa32b914480fd5738d"}, + {file = "coverage-7.13.5-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:356e76b46783a98c2a2fe81ec79df4883a1e62895ea952968fb253c114e7f930"}, + {file = "coverage-7.13.5-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0cef0cdec915d11254a7f549c1170afecce708d30610c6abdded1f74e581666d"}, + {file = "coverage-7.13.5-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:dc022073d063b25a402454e5712ef9e007113e3a676b96c5f29b2bda29352f40"}, + {file = "coverage-7.13.5-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:9b74db26dfea4f4e50d48a4602207cd1e78be33182bc9cbf22da94f332f99878"}, + {file = "coverage-7.13.5-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:ad146744ca4fd09b50c482650e3c1b1f4dfa1d4792e0a04a369c7f23336f0400"}, + {file = "coverage-7.13.5-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:c555b48be1853fe3997c11c4bd521cdd9a9612352de01fa4508f16ec341e6fe0"}, + {file = "coverage-7.13.5-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:7034b5c56a58ae5e85f23949d52c14aca2cfc6848a31764995b7de88f13a1ea0"}, + {file = "coverage-7.13.5-cp310-cp310-win32.whl", hash = "sha256:eb7fdf1ef130660e7415e0253a01a7d5a88c9c4d158bcf75cbbd922fd65a5b58"}, + {file = "coverage-7.13.5-cp310-cp310-win_amd64.whl", hash = "sha256:3e1bb5f6c78feeb1be3475789b14a0f0a5b47d505bfc7267126ccbd50289999e"}, + {file = "coverage-7.13.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:66a80c616f80181f4d643b0f9e709d97bcea413ecd9631e1dedc7401c8e6695d"}, + {file = "coverage-7.13.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:145ede53ccbafb297c1c9287f788d1bc3efd6c900da23bf6931b09eafc931587"}, + {file = "coverage-7.13.5-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:0672854dc733c342fa3e957e0605256d2bf5934feeac328da9e0b5449634a642"}, + {file = "coverage-7.13.5-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:ec10e2a42b41c923c2209b846126c6582db5e43a33157e9870ba9fb70dc7854b"}, + {file = "coverage-7.13.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:be3d4bbad9d4b037791794ddeedd7d64a56f5933a2c1373e18e9e568b9141686"}, + {file = "coverage-7.13.5-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4d2afbc5cc54d286bfb54541aa50b64cdb07a718227168c87b9e2fb8f25e1743"}, + {file = "coverage-7.13.5-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3ad050321264c49c2fa67bb599100456fc51d004b82534f379d16445da40fb75"}, + {file = "coverage-7.13.5-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7300c8a6d13335b29bb76d7651c66af6bd8658517c43499f110ddc6717bfc209"}, + {file = "coverage-7.13.5-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:eb07647a5738b89baab047f14edd18ded523de60f3b30e75c2acc826f79c839a"}, + {file = "coverage-7.13.5-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:9adb6688e3b53adffefd4a52d72cbd8b02602bfb8f74dcd862337182fd4d1a4e"}, + {file = "coverage-7.13.5-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:7c8d4bc913dd70b93488d6c496c77f3aff5ea99a07e36a18f865bca55adef8bd"}, + {file = "coverage-7.13.5-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:0e3c426ffc4cd952f54ee9ffbdd10345709ecc78a3ecfd796a57236bfad0b9b8"}, + {file = "coverage-7.13.5-cp311-cp311-win32.whl", hash = "sha256:259b69bb83ad9894c4b25be2528139eecba9a82646ebdda2d9db1ba28424a6bf"}, + {file = "coverage-7.13.5-cp311-cp311-win_amd64.whl", hash = "sha256:258354455f4e86e3e9d0d17571d522e13b4e1e19bf0f8596bcf9476d61e7d8a9"}, + {file = "coverage-7.13.5-cp311-cp311-win_arm64.whl", hash = "sha256:bff95879c33ec8da99fc9b6fe345ddb5be6414b41d6d1ad1c8f188d26f36e028"}, + {file = "coverage-7.13.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:460cf0114c5016fa841214ff5564aa4864f11948da9440bc97e21ad1f4ba1e01"}, + {file = "coverage-7.13.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0e223ce4b4ed47f065bfb123687686512e37629be25cc63728557ae7db261422"}, + {file = "coverage-7.13.5-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:6e3370441f4513c6252bf042b9c36d22491142385049243253c7e48398a15a9f"}, + {file = "coverage-7.13.5-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:03ccc709a17a1de074fb1d11f217342fb0d2b1582ed544f554fc9fc3f07e95f5"}, + {file = "coverage-7.13.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3f4818d065964db3c1c66dc0fbdac5ac692ecbc875555e13374fdbe7eedb4376"}, + {file = "coverage-7.13.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:012d5319e66e9d5a218834642d6c35d265515a62f01157a45bcc036ecf947256"}, + {file = "coverage-7.13.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8dd02af98971bdb956363e4827d34425cb3df19ee550ef92855b0acb9c7ce51c"}, + {file = "coverage-7.13.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f08fd75c50a760c7eb068ae823777268daaf16a80b918fa58eea888f8e3919f5"}, + {file = "coverage-7.13.5-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:843ea8643cf967d1ac7e8ecd4bb00c99135adf4816c0c0593fdcc47b597fcf09"}, + {file = "coverage-7.13.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:9d44d7aa963820b1b971dbecd90bfe5fe8f81cff79787eb6cca15750bd2f79b9"}, + {file = "coverage-7.13.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:7132bed4bd7b836200c591410ae7d97bf7ae8be6fc87d160b2bd881df929e7bf"}, + {file = "coverage-7.13.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a698e363641b98843c517817db75373c83254781426e94ada3197cabbc2c919c"}, + {file = "coverage-7.13.5-cp312-cp312-win32.whl", hash = "sha256:bdba0a6b8812e8c7df002d908a9a2ea3c36e92611b5708633c50869e6d922fdf"}, + {file = "coverage-7.13.5-cp312-cp312-win_amd64.whl", hash = "sha256:d2c87e0c473a10bffe991502eac389220533024c8082ec1ce849f4218dded810"}, + {file = "coverage-7.13.5-cp312-cp312-win_arm64.whl", hash = "sha256:bf69236a9a81bdca3bff53796237aab096cdbf8d78a66ad61e992d9dac7eb2de"}, + {file = "coverage-7.13.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5ec4af212df513e399cf11610cc27063f1586419e814755ab362e50a85ea69c1"}, + {file = "coverage-7.13.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:941617e518602e2d64942c88ec8499f7fbd49d3f6c4327d3a71d43a1973032f3"}, + {file = "coverage-7.13.5-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:da305e9937617ee95c2e39d8ff9f040e0487cbf1ac174f777ed5eddd7a7c1f26"}, + {file = "coverage-7.13.5-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:78e696e1cc714e57e8b25760b33a8b1026b7048d270140d25dafe1b0a1ee05a3"}, + {file = "coverage-7.13.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:02ca0eed225b2ff301c474aeeeae27d26e2537942aa0f87491d3e147e784a82b"}, + {file = "coverage-7.13.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:04690832cbea4e4663d9149e05dba142546ca05cb1848816760e7f58285c970a"}, + {file = "coverage-7.13.5-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0590e44dd2745c696a778f7bab6aa95256de2cbc8b8cff4f7db8ff09813d6969"}, + {file = "coverage-7.13.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d7cfad2d6d81dd298ab6b89fe72c3b7b05ec7544bdda3b707ddaecff8d25c161"}, + {file = "coverage-7.13.5-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:e092b9499de38ae0fbfbc603a74660eb6ff3e869e507b50d85a13b6db9863e15"}, + {file = "coverage-7.13.5-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:48c39bc4a04d983a54a705a6389512883d4a3b9862991b3617d547940e9f52b1"}, + {file = "coverage-7.13.5-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:2d3807015f138ffea1ed9afeeb8624fd781703f2858b62a8dd8da5a0994c57b6"}, + {file = "coverage-7.13.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ee2aa19e03161671ec964004fb74b2257805d9710bf14a5c704558b9d8dbaf17"}, + {file = "coverage-7.13.5-cp313-cp313-win32.whl", hash = "sha256:ce1998c0483007608c8382f4ff50164bfc5bd07a2246dd272aa4043b75e61e85"}, + {file = "coverage-7.13.5-cp313-cp313-win_amd64.whl", hash = "sha256:631efb83f01569670a5e866ceb80fe483e7c159fac6f167e6571522636104a0b"}, + {file = "coverage-7.13.5-cp313-cp313-win_arm64.whl", hash = "sha256:f4cd16206ad171cbc2470dbea9103cf9a7607d5fe8c242fdf1edf36174020664"}, + {file = "coverage-7.13.5-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0428cbef5783ad91fe240f673cc1f76b25e74bbfe1a13115e4aa30d3f538162d"}, + {file = "coverage-7.13.5-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e0b216a19534b2427cc201a26c25da4a48633f29a487c61258643e89d28200c0"}, + {file = "coverage-7.13.5-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:972a9cd27894afe4bc2b1480107054e062df08e671df7c2f18c205e805ccd806"}, + {file = "coverage-7.13.5-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:4b59148601efcd2bac8c4dbf1f0ad6391693ccf7a74b8205781751637076aee3"}, + {file = "coverage-7.13.5-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:505d7083c8b0c87a8fa8c07370c285847c1f77739b22e299ad75a6af6c32c5c9"}, + {file = "coverage-7.13.5-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:60365289c3741e4db327e7baff2a4aaacf22f788e80fa4683393891b70a89fbd"}, + {file = "coverage-7.13.5-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1b88c69c8ef5d4b6fe7dea66d6636056a0f6a7527c440e890cf9259011f5e606"}, + {file = "coverage-7.13.5-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:5b13955d31d1633cf9376908089b7cebe7d15ddad7aeaabcbe969a595a97e95e"}, + {file = "coverage-7.13.5-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:f70c9ab2595c56f81a89620e22899eea8b212a4041bd728ac6f4a28bf5d3ddd0"}, + {file = "coverage-7.13.5-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:084b84a8c63e8d6fc7e3931b316a9bcafca1458d753c539db82d31ed20091a87"}, + {file = "coverage-7.13.5-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:ad14385487393e386e2ea988b09d62dd42c397662ac2dabc3832d71253eee479"}, + {file = "coverage-7.13.5-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:7f2c47b36fe7709a6e83bfadf4eefb90bd25fbe4014d715224c4316f808e59a2"}, + {file = "coverage-7.13.5-cp313-cp313t-win32.whl", hash = "sha256:67e9bc5449801fad0e5dff329499fb090ba4c5800b86805c80617b4e29809b2a"}, + {file = "coverage-7.13.5-cp313-cp313t-win_amd64.whl", hash = "sha256:da86cdcf10d2519e10cabb8ac2de03da1bcb6e4853790b7fbd48523332e3a819"}, + {file = "coverage-7.13.5-cp313-cp313t-win_arm64.whl", hash = "sha256:0ecf12ecb326fe2c339d93fc131816f3a7367d223db37817208905c89bded911"}, + {file = "coverage-7.13.5-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fbabfaceaeb587e16f7008f7795cd80d20ec548dc7f94fbb0d4ec2e038ce563f"}, + {file = "coverage-7.13.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9bb2a28101a443669a423b665939381084412b81c3f8c0fcfbac57f4e30b5b8e"}, + {file = "coverage-7.13.5-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:bd3a2fbc1c6cccb3c5106140d87cc6a8715110373ef42b63cf5aea29df8c217a"}, + {file = "coverage-7.13.5-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:6c36ddb64ed9d7e496028d1d00dfec3e428e0aabf4006583bb1839958d280510"}, + {file = "coverage-7.13.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:380e8e9084d8eb38db3a9176a1a4f3c0082c3806fa0dc882d1d87abc3c789247"}, + {file = "coverage-7.13.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e808af52a0513762df4d945ea164a24b37f2f518cbe97e03deaa0ee66139b4d6"}, + {file = "coverage-7.13.5-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e301d30dd7e95ae068671d746ba8c34e945a82682e62918e41b2679acd2051a0"}, + {file = "coverage-7.13.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:800bc829053c80d240a687ceeb927a94fd108bbdc68dfbe505d0d75ab578a882"}, + {file = "coverage-7.13.5-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:0b67af5492adb31940ee418a5a655c28e48165da5afab8c7fa6fd72a142f8740"}, + {file = "coverage-7.13.5-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:c9136ff29c3a91e25b1d1552b5308e53a1e0653a23e53b6366d7c2dcbbaf8a16"}, + {file = "coverage-7.13.5-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:cff784eef7f0b8f6cb28804fbddcfa99f89efe4cc35fb5627e3ac58f91ed3ac0"}, + {file = "coverage-7.13.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:68a4953be99b17ac3c23b6efbc8a38330d99680c9458927491d18700ef23ded0"}, + {file = "coverage-7.13.5-cp314-cp314-win32.whl", hash = "sha256:35a31f2b1578185fbe6aa2e74cea1b1d0bbf4c552774247d9160d29b80ed56cc"}, + {file = "coverage-7.13.5-cp314-cp314-win_amd64.whl", hash = "sha256:2aa055ae1857258f9e0045be26a6d62bdb47a72448b62d7b55f4820f361a2633"}, + {file = "coverage-7.13.5-cp314-cp314-win_arm64.whl", hash = "sha256:1b11eef33edeae9d142f9b4358edb76273b3bfd30bc3df9a4f95d0e49caf94e8"}, + {file = "coverage-7.13.5-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:10a0c37f0b646eaff7cce1874c31d1f1ccb297688d4c747291f4f4c70741cc8b"}, + {file = "coverage-7.13.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b5db73ba3c41c7008037fa731ad5459fc3944cb7452fc0aa9f822ad3533c583c"}, + {file = "coverage-7.13.5-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:750db93a81e3e5a9831b534be7b1229df848b2e125a604fe6651e48aa070e5f9"}, + {file = "coverage-7.13.5-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:9ddb4f4a5479f2539644be484da179b653273bca1a323947d48ab107b3ed1f29"}, + {file = "coverage-7.13.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d8a7a2049c14f413163e2bdabd37e41179b1d1ccb10ffc6ccc4b7a718429c607"}, + {file = "coverage-7.13.5-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e1c85e0b6c05c592ea6d8768a66a254bfb3874b53774b12d4c89c481eb78cb90"}, + {file = "coverage-7.13.5-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:777c4d1eff1b67876139d24288aaf1817f6c03d6bae9c5cc8d27b83bcfe38fe3"}, + {file = "coverage-7.13.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:6697e29b93707167687543480a40f0db8f356e86d9f67ddf2e37e2dfd91a9dab"}, + {file = "coverage-7.13.5-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:8fdf453a942c3e4d99bd80088141c4c6960bb232c409d9c3558e2dbaa3998562"}, + {file = "coverage-7.13.5-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:32ca0c0114c9834a43f045a87dcebd69d108d8ffb666957ea65aa132f50332e2"}, + {file = "coverage-7.13.5-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:8769751c10f339021e2638cd354e13adeac54004d1941119b2c96fe5276d45ea"}, + {file = "coverage-7.13.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:cec2d83125531bd153175354055cdb7a09987af08a9430bd173c937c6d0fba2a"}, + {file = "coverage-7.13.5-cp314-cp314t-win32.whl", hash = "sha256:0cd9ed7a8b181775459296e402ca4fb27db1279740a24e93b3b41942ebe4b215"}, + {file = "coverage-7.13.5-cp314-cp314t-win_amd64.whl", hash = "sha256:301e3b7dfefecaca37c9f1aa6f0049b7d4ab8dd933742b607765d757aca77d43"}, + {file = "coverage-7.13.5-cp314-cp314t-win_arm64.whl", hash = "sha256:9dacc2ad679b292709e0f5fc1ac74a6d4d5562e424058962c7bb0c658ad25e45"}, + {file = "coverage-7.13.5-py3-none-any.whl", hash = "sha256:34b02417cf070e173989b3db962f7ed56d2f644307b2cf9d5a0f258e13084a61"}, + {file = "coverage-7.13.5.tar.gz", hash = "sha256:c81f6515c4c40141f83f502b07bbfa5c240ba25bbe73da7b33f1e5b6120ff179"}, ] [package.dependencies] @@ -256,14 +256,14 @@ files = [ [[package]] name = "packaging" -version = "26.0" +version = "26.2" description = "Core utilities for Python packages" category = "dev" optional = false python-versions = ">=3.8" files = [ - {file = "packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529"}, - {file = "packaging-26.0.tar.gz", hash = "sha256:00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4"}, + {file = "packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e"}, + {file = "packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661"}, ] [[package]] @@ -327,14 +327,14 @@ virtualenv = ">=20.10.0" [[package]] name = "pygments" -version = "2.19.2" +version = "2.20.0" description = "Pygments is a syntax highlighting package written in Python." category = "dev" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b"}, - {file = "pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887"}, + {file = "pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176"}, + {file = "pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f"}, ] [package.extras] @@ -342,24 +342,24 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pyinstaller" -version = "6.19.0" +version = "6.20.0" description = "PyInstaller bundles a Python application and all its dependencies into a single package." category = "dev" optional = false python-versions = "<3.15,>=3.8" files = [ - {file = "pyinstaller-6.19.0-py3-none-macosx_10_13_universal2.whl", hash = "sha256:4190e76b74f0c4b5c5f11ac360928cd2e36ec8e3194d437bf6b8648c7bc0c134"}, - {file = "pyinstaller-6.19.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:8bd68abd812d8a6ba33b9f1810e91fee0f325969733721b78151f0065319ca11"}, - {file = "pyinstaller-6.19.0-py3-none-manylinux2014_i686.whl", hash = "sha256:1ec54ef967996ca61dacba676227e2b23219878ccce5ee9d6f3aada7b8ed8abf"}, - {file = "pyinstaller-6.19.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:4ab2bb52e58448e14ddf9450601bdedd66800465043501c1d8f1cab87b60b122"}, - {file = "pyinstaller-6.19.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:da6d5c6391ccefe73554b9fa29b86001c8e378e0f20c2a4004f836ba537eff63"}, - {file = "pyinstaller-6.19.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:a0fc5f6b3c55aa54353f0c74ffa59b1115433c1850c6f655d62b461a2ed6cbbe"}, - {file = "pyinstaller-6.19.0-py3-none-musllinux_1_1_aarch64.whl", hash = "sha256:e649ba6bd1b0b89b210ad92adb5fbdc8a42dd2c5ca4f72ef3a0bfec83a424b83"}, - {file = "pyinstaller-6.19.0-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:481a909c8e60c8692fc60fcb1344d984b44b943f8bc9682f2fcdae305ad297e6"}, - {file = "pyinstaller-6.19.0-py3-none-win32.whl", hash = "sha256:3c5c251054fe4cfaa04c34a363dcfbf811545438cb7198304cd444756bc2edd2"}, - {file = "pyinstaller-6.19.0-py3-none-win_amd64.whl", hash = "sha256:b5bb6536c6560330d364d91522250f254b107cf69129d9cbcd0e6727c570be33"}, - {file = "pyinstaller-6.19.0-py3-none-win_arm64.whl", hash = "sha256:c2d5a539b0bfe6159d5522c8c70e1c0e487f22c2badae0f97d45246223b798ea"}, - {file = "pyinstaller-6.19.0.tar.gz", hash = "sha256:ec73aeb8bd9b7f2f1240d328a4542e90b3c6e6fbc106014778431c616592a865"}, + {file = "pyinstaller-6.20.0-py3-none-macosx_10_13_universal2.whl", hash = "sha256:bf3be4e1284ee78ddccba5e29f99443a12a7b4673168288ffc4c9d38c6f7b90e"}, + {file = "pyinstaller-6.20.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:72ae9c1fdea134afa791f58bdc9a1934d5c7609753c111e0026bfc272b32b712"}, + {file = "pyinstaller-6.20.0-py3-none-manylinux2014_i686.whl", hash = "sha256:1031bcc307f3fbeffd4e162723e64d46dbf591c82dd0997413afb2a07328b941"}, + {file = "pyinstaller-6.20.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:8df3b3f347659fa2562d8d193a98ad4600133b8b8d07c268df89e4154376750e"}, + {file = "pyinstaller-6.20.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:b0d3cc9dd8120d448459bd3880a12e2f9774c51443af49047801446377999a59"}, + {file = "pyinstaller-6.20.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:03696bb6350177c6bc23bcaf78e71a33c4a89b6754dd90d1be2f318e978c918b"}, + {file = "pyinstaller-6.20.0-py3-none-musllinux_1_1_aarch64.whl", hash = "sha256:6357f1699f6af84f37e7367f031d4f68abdba65543b83990c9e8f5a4cebed0b7"}, + {file = "pyinstaller-6.20.0-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:0ab39c690abad26ba148e8f664f0478acc82a733997f4f22e757774832802da9"}, + {file = "pyinstaller-6.20.0-py3-none-win32.whl", hash = "sha256:9a7637e8e44b4387b13667fdcaac86ab6b29c446c16d34d8401539b81838759c"}, + {file = "pyinstaller-6.20.0-py3-none-win_amd64.whl", hash = "sha256:d588844e890ee80c4365867f98146636e1849bbca8e4284bbf0c809aff0f161a"}, + {file = "pyinstaller-6.20.0-py3-none-win_arm64.whl", hash = "sha256:bd53282c0a73e5c95573e1ddc8e5d564d4932bec91efbaed4dc5fdff9c2ae7f2"}, + {file = "pyinstaller-6.20.0.tar.gz", hash = "sha256:95c5c7e03d5d61e9dfb8ef259c699cf492bb1041beb6dbe83696608cec07347a"}, ] [package.dependencies] @@ -367,7 +367,7 @@ altgraph = "*" macholib = {version = ">=1.8", markers = "sys_platform == \"darwin\""} packaging = ">=22.0" pefile = {version = ">=2022.5.30", markers = "sys_platform == \"win32\""} -pyinstaller-hooks-contrib = ">=2026.0" +pyinstaller-hooks-contrib = ">=2026.4" pywin32-ctypes = {version = ">=0.2.1", markers = "sys_platform == \"win32\""} setuptools = ">=42.0.0" @@ -377,14 +377,14 @@ hook-testing = ["execnet (>=1.5.0)", "psutil", "pytest (>=2.7.3)"] [[package]] name = "pyinstaller-hooks-contrib" -version = "2026.3" +version = "2026.5" description = "Community maintained hooks for PyInstaller" category = "dev" optional = false python-versions = ">=3.8" files = [ - {file = "pyinstaller_hooks_contrib-2026.3-py3-none-any.whl", hash = "sha256:5ecd1068ad262afecadf07556279d2be52ca93a88b049fae17f1a2eb2969254a"}, - {file = "pyinstaller_hooks_contrib-2026.3.tar.gz", hash = "sha256:800d3a198a49a6cd0de2d7fb795005fdca7a0222ed9cb47c0691abd1c27b9310"}, + {file = "pyinstaller_hooks_contrib-2026.5-py3-none-any.whl", hash = "sha256:ea1535783fbdac4626351709e83f3ea80b681d3a4745763ebb407b5e27342eb9"}, + {file = "pyinstaller_hooks_contrib-2026.5.tar.gz", hash = "sha256:f066dfca8f7c45ff6336c9cf9fe25b4e48bfeb322a1aa24faaedfb8a8d1b0b08"}, ] [package.dependencies] @@ -413,15 +413,16 @@ PyQt5-sip = ">=12.15,<13" [[package]] name = "pyqt5-qt5" -version = "5.15.18" +version = "5.15.2" description = "The subset of a Qt installation needed by PyQt5." category = "main" optional = false python-versions = "*" files = [ - {file = "pyqt5_qt5-5.15.18-py3-none-macosx_10_13_x86_64.whl", hash = "sha256:8bb997eb903afa9da3221a0c9e6eaa00413bbeb4394d5706118ad05375684767"}, - {file = "pyqt5_qt5-5.15.18-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c656af9c1e6aaa7f59bf3d8995f2fa09adbf6762b470ed284c31dca80d686a26"}, - {file = "pyqt5_qt5-5.15.18-py3-none-manylinux2014_x86_64.whl", hash = "sha256:bf2457e6371969736b4f660a0c153258fa03dbc6a181348218e6f05421682af7"}, + {file = "PyQt5_Qt5-5.15.2-py3-none-macosx_10_13_intel.whl", hash = "sha256:76980cd3d7ae87e3c7a33bfebfaee84448fd650bad6840471d6cae199b56e154"}, + {file = "PyQt5_Qt5-5.15.2-py3-none-manylinux2014_x86_64.whl", hash = "sha256:1988f364ec8caf87a6ee5d5a3a5210d57539988bf8e84714c7d60972692e2f4a"}, + {file = "PyQt5_Qt5-5.15.2-py3-none-win32.whl", hash = "sha256:9cc7a768b1921f4b982ebc00a318ccb38578e44e45316c7a4a850e953e1dd327"}, + {file = "PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl", hash = "sha256:750b78e4dba6bdf1607febedc08738e318ea09e9b10aea9ff0d73073f11f6962"}, ] [[package]] @@ -759,4 +760,4 @@ typing-extensions = {version = ">=4.13.2", markers = "python_version < \"3.11\"" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "90ce9a1b101b04df4569ffccacb34d76f41b0b6fd1b5181d44839a546a0e0ab5" +content-hash = "a364eba5745a0c1bb07940ae5d13918cd1c00cfa013202c08b4ba8b9ef7e222c" diff --git a/pyproject.toml b/pyproject.toml index 90f6dd4..b7b954b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,8 @@ hello-python = "hello_python.main:main" [tool.poetry.dependencies] python = "^3.10" -pyqt5 = "^5.15.11" +pyqt5 = "5.15.11" +pyqt5-qt5 = "5.15.2" [tool.poetry.group.dev.dependencies] pytest = "^8.3.5"