Skip to content

App version reads misspelled, non-PEP-621 pyproject key 'release_data' #323

@rozyczko

Description

@rozyczko

Source: EasyReflectometryApp/Backends/Py/home.py:16-20 — DEEP_ANALYSIS.md §5 item 12

version reads PYPROJECT['project']['release_data']. It only works because pyproject.toml itself contains the misspelled key release_data (line 8) — which is additionally a non-PEP-621 key sitting in the [project] table (strict build backends may reject it; hatchling currently tolerates it).

Renaming the key in pyproject without touching home.py crashes the app at import (module-level toml.load).

Also: dict[str:str] annotations (slice syntax) at lines 16/23 should be dict[str, str].

Fix: Rename to release_date in both pyproject.toml and home.py together; consider an x--prefixed or [tool.*] placement since [project] is a validated table. Fix the annotation typos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [priority] mediumNormal/default priority[scope] bugBug report or fix (major.minor.PATCH)
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions