lean-pkg 0.30.0__tar.gz → 0.30.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/CHANGELOG.md +24 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/CITATION.cff +5 -2
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/PKG-INFO +1 -1
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/README.md +1 -1
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/pyproject.toml +1 -1
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/__init__.py +1 -1
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/receipt_systemd.py +16 -2
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg.egg-info/PKG-INFO +1 -1
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_systemd.py +21 -1
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/LICENSE +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/MANIFEST.in +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/PYPI.md +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/setup.cfg +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/adapters/__init__.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/adapters/github.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/adapters/leansearch.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/adapters/loogle.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/adapters/palomar.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/adapters/reservoir.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/anchor.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/audit.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/binding_file.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/blueprint.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/build_scope.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/ci_github.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/claim_axioms.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/claims.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/claims_mark.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/cli.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/cli_parser.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/command_tree.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/comparator_config.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/comparator_contracts.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/comparator_receipt.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/comparator_stage.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/comparator_types.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/container.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/controls.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/core.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/coverage.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/data/stacks/lts-2026.10.yaml +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/data/toolchain-advisories.yaml +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/data/upgrade-breaking.yaml +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/data/verify-workflow-pins.yaml +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/deps_closure.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/deps_fill.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/dup_constants.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/exercise.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/exercise_forbid.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/export_paths.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/extract.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/extract_decls.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/extract_ledger.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/extract_summary.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/extract_types.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/extract_write.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/formalization.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/formalization_kept.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/fresh_repo.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/gate.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/headline.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/help_topics.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/holes.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/host_routes.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/html_blocks.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/hypotheses.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/index.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/json_stdout.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/lake_hygiene.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/lean_diag.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/lean_scan.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/ledger.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/next_step.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/page.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/page_html.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/palomar.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/palomar_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/port_modules.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/prior_art.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/producer.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/producer_skew.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/public_safety.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/publish.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/rebase.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/receipt.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/receipt_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/receipt_ci.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/recommended.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/report.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/reservoir.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/scaffold.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/schemas/formalization-0.4.schema.json +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/schemas/formalization-0.4.schema.source.txt +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/scripts/ClaimAxioms.lean +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/scripts/ContractsOnly.lean +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/scripts/ControlsProbe.lean +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/scripts/DupConstants.lean +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/scripts/HypProbe.lean +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/scripts/comparator-check.sh +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/scripts/verify-comparator.sh +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/seal_bundle.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/search.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/site_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/site_profiles/easley.yaml +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/site_profiles/github-actions.yaml +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/sites.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/stacks.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/statements_module.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/templates/Apache-2.0.txt +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/toolchain_advisories.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/upgrade.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/verify.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg.egg-info/SOURCES.txt +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg.egg-info/dependency_links.txt +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg.egg-info/entry_points.txt +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg.egg-info/requires.txt +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg.egg-info/top_level.txt +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_adapters.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_append_note.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_audit_claims_coverage.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_audit_gh_outcomes.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_audit_missing_path.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_audit_no_github_mirror.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_audit_palomar.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_audit_receipts_paths.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_audit_reference_branch.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_binding_file.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_binding_file_g3.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_blueprint_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_bootstrap_collaborator.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_branch_notice.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_campaign_recovery_docs.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_check_changelog_releases.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_ci_attested.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_ci_comparator.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_ci_corroborate.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_ci_receipt_level1.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_claim_axioms.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_claims.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_claims_ledger.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_claims_mark.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_claims_rebase.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_cli.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_cli_consistency.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_cli_contract_argv.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_cli_contract_corpus.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_cli_contract_help.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_cli_contract_json.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_cli_contract_names.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_columns.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_command_docs.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_command_tree_stage2.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_commit.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_attempts.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_config.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_contracts.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_coverage.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_evidence_dir.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_host_label.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_list_defaults.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_log_transport.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_mismatch_next.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_name_hints.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_no_mathlib.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_readiness.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_receipt.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_replace.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_repo_claims_file.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_sacct_seal.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_stage.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_tool_toolchain.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_types.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_comparator_types_deep.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_compressed_log_bindings.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_conditional_claims.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_conditional_closeout.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_conditional_outputs.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_consent_dedupe.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_controls.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_core_split.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_coverage_accounted.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_coverage_conclusion.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_coverage_extensions.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_coverage_offline.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_coverage_witness.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_cut_release.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_defaults.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_docs.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_docs_classifier_preflight.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_docs_descendants.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_docs_old_spellings.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_doctor.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_dup_constants.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_evidence_formalization.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_exercise.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_exercise_course.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_extract_decls.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_extract_ledger.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_extract_plan.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_extract_summary.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_extract_types.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_fields_only.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_formalization.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_formalization_anchor.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_formalization_kept.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_formalization_refresh.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_formats.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_fresh_repo.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate_binding.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate_binding_scope.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate_check_next.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate_claims.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate_pins.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate_receipt_path.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate_refresh.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_gate_regate.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_headline.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_help_topics.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_hints_and_time.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_host_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_host_routes.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_hypotheses_ledger.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_hypotheses_probe.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_ignored_evidence.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_index_add.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_index_built_on.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_index_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_index_claims.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_index_docs_descendants.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_index_render.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_index_schema.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_init.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_input_hygiene.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_internal_claims.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_json.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_json_control_chars.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_json_stdout.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_judged_as.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_lake_cache_systemd.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_lake_hygiene.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_large_artifacts_recipe.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_lean_diag.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_lean_scan_extract.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_lease.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_lease_actor.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_lease_expiry_notice.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_lease_registry_stamp.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_ledger_exact_covers.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_ledger_golden.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_lifecycle_notes.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_llms.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_locking.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_manuscript_findings.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_mathlib_none.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_migrate.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_migrate_v3.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_namespace_notes.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_new.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_next.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_noninteractive.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_olean_manifest.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_outputs_golden.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_package_fields.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_packaging.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_page.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_page_repo_head.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_page_site.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_palomar_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_palomar_prepare.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_palomar_snapshot.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_paper.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_port_modules.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_prior_art.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_producer_skew.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_promote_audit.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_promote_scope.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_public_allow.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_public_safety.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_public_safety_gzip.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_public_safety_long_line_stream.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_public_safety_scope.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_publication_hold.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_publish.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_check_opt_in.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_ci.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_container.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_private_scan.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_producer.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_slurm.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_slurm_artifacts.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_slurm_contracts_preflight.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_slurm_fill_plan.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_slurm_preflight_deps.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_slurm_runtime_preflight.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_slurm_sacct_seal.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_slurm_template_src.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_receipt_subdir_package.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_recommended.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_record.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_record_evidence.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_record_transitions.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_refresh_descendant.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_register.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_registry_core.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_registry_snapshot.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_release_script.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_release_version.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_repo_override.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_report.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_report_log_required.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_reservoir_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_review_fixes_prior_art.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_robustness.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_seal_bundle.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_search.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_search_completeness.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_search_declarations.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_search_field_coverage.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_search_scan.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_search_sources.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_sibling_packages.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_signoff_sidecar.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_site_check.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_sites.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_skills.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_smoke_configs.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_source_paper_ai.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_stack_opt_in.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_stacks.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_statements_module.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_status_scope.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_subdir_package.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_template_module_headers.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_toolchain_advisories.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_toolchain_floor.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_trust.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_update_publication_fields.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_update_relocate.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_upgrade.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_user_default.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_validate.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_verdict_first.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_verify_preflight.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_verify_workflow_oidc.py +0 -0
- {lean_pkg-0.30.0 → lean_pkg-0.30.1}/tests/test_wiki.py +0 -0
|
@@ -9,6 +9,28 @@ full policy, and the criteria for 1.0.0, are in RELEASING.md, "When to tag".
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.30.1] - 2026-11-30
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- `receipt systemd` refuses a `Result=oom-kill` unit naming its memory peak
|
|
17
|
+
and its `MemoryMax` (in GiB; it named only `MemoryMax`, in bytes) and how
|
|
18
|
+
to raise the cap, `lean-pkg verify NAME --memory-max SIZE` or `receipt
|
|
19
|
+
systemd --run --memory-max SIZE`, with a suggested size of 1.5 times the
|
|
20
|
+
larger of the two (#459). The memory WARN is no longer printed for an
|
|
21
|
+
OOM-killed unit: it said a larger build "is OOM-killed" about a build
|
|
22
|
+
that already was.
|
|
23
|
+
|
|
24
|
+
### Documentation
|
|
25
|
+
|
|
26
|
+
- docs/stacks/lts-2026.10: the release-gate run of RELEASING.md step 3a
|
|
27
|
+
for 0.30.0 (#458): the five declared entries on one host, with timings,
|
|
28
|
+
peak memory, receipt SHA-256s and the digest check. No failing entry;
|
|
29
|
+
the failures recorded are pre-existing package data (binding opt-in,
|
|
30
|
+
REUSE data, an unbacked Easley acknowledgement).
|
|
31
|
+
|
|
32
|
+
public-safety (make public-safety, --strict, history): 0 hit(s) (0 tree, 0 history); 0 blocking, 0 warning(s)
|
|
33
|
+
|
|
12
34
|
## [0.30.0] - 2026-11-21
|
|
13
35
|
|
|
14
36
|
### Added
|
|
@@ -81,6 +103,8 @@ full policy, and the criteria for 1.0.0, are in RELEASING.md, "When to tag".
|
|
|
81
103
|
|
|
82
104
|
public-safety (make public-safety, --strict, history): 0 hit(s) (0 tree, 0 history); 0 blocking, 0 warning(s)
|
|
83
105
|
|
|
106
|
+
Zenodo version DOI: [10.5281/zenodo.24432261](https://doi.org/10.5281/zenodo.24432261)
|
|
107
|
+
|
|
84
108
|
## [0.29.0] - 2026-11-09
|
|
85
109
|
|
|
86
110
|
### Added
|
|
@@ -6,8 +6,8 @@ authors:
|
|
|
6
6
|
- family-names: Chen
|
|
7
7
|
given-names: Le
|
|
8
8
|
affiliation: "Auburn University"
|
|
9
|
-
version: "0.30.
|
|
10
|
-
date-released: "2026-11-
|
|
9
|
+
version: "0.30.1"
|
|
10
|
+
date-released: "2026-11-30"
|
|
11
11
|
license: Apache-2.0
|
|
12
12
|
repository-code: "https://github.com/lean-pkg/lean-pkg"
|
|
13
13
|
doi: 10.5281/zenodo.23272098
|
|
@@ -210,6 +210,9 @@ identifiers:
|
|
|
210
210
|
- type: doi
|
|
211
211
|
value: 10.5281/zenodo.24095258
|
|
212
212
|
description: Version DOI for 0.29.0
|
|
213
|
+
- type: doi
|
|
214
|
+
value: 10.5281/zenodo.24432261
|
|
215
|
+
description: Version DOI for 0.30.0
|
|
213
216
|
url: "https://lean-pkg.github.io/lean-pkg/"
|
|
214
217
|
keywords:
|
|
215
218
|
- Lean 4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lean-pkg
|
|
3
|
-
Version: 0.30.
|
|
3
|
+
Version: 0.30.1
|
|
4
4
|
Summary: Lifecycle registry and trust gate for Lean 4 formalization packages: leases, receipt-bound gates, comparator (Palomar) evidence, one-way promotion.
|
|
5
5
|
Author: Le Chen
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -365,7 +365,7 @@ DOIs. To cite a state between releases, cite the repository at a commit:
|
|
|
365
365
|
author = {Chen, Le},
|
|
366
366
|
title = {lean-pkg: a registry and trust gate for Lean 4 formalization packages},
|
|
367
367
|
year = {2026},
|
|
368
|
-
version = {0.30.
|
|
368
|
+
version = {0.30.1},
|
|
369
369
|
url = {https://github.com/lean-pkg/lean-pkg},
|
|
370
370
|
note = {commit <sha>}
|
|
371
371
|
}
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "lean-pkg"
|
|
7
|
-
version = "0.30.
|
|
7
|
+
version = "0.30.1"
|
|
8
8
|
description = "Lifecycle registry and trust gate for Lean 4 formalization packages: leases, receipt-bound gates, comparator (Palomar) evidence, one-way promotion."
|
|
9
9
|
# PyPI renders the long description without the repository around it, so README.md's relative links and
|
|
10
10
|
# images would break there: PYPI.md is a short page whose links are all absolute (tests/test_packaging.py).
|
|
@@ -242,7 +242,7 @@ def check_unit(props: dict, unit: str) -> tuple[dict | None, list[str], list[str
|
|
|
242
242
|
f"ExecMainExitTimestampMonotonic={props['ExecMainExitTimestampMonotonic']})")
|
|
243
243
|
result = props["Result"]
|
|
244
244
|
if result != "success":
|
|
245
|
-
why = {"oom-kill":
|
|
245
|
+
why = {"oom-kill": oom_kill_why(props),
|
|
246
246
|
"timeout": f"the runtime cap stopped it (RuntimeMaxUSec={props.get('RuntimeMaxUSec', 'unknown')})",
|
|
247
247
|
"signal": "it was killed by a signal", "core-dump": "it dumped core",
|
|
248
248
|
"exit-code": "its main process exited non-zero"}.get(result, "not a clean finish")
|
|
@@ -278,11 +278,25 @@ def check_unit(props: dict, unit: str) -> tuple[dict | None, list[str], list[str
|
|
|
278
278
|
MEMORY_WARN_FRACTION = 0.8 # a field report: a 32-module package peaked at 7.3 GiB under the 8G default
|
|
279
279
|
|
|
280
280
|
|
|
281
|
+
def oom_kill_why(props: dict) -> str:
|
|
282
|
+
"""Why a Result=oom-kill unit is refused: its memory peak and its MemoryMax, and how to raise the cap
|
|
283
|
+
(a field report: the refusal named only MemoryMax in bytes, and the --memory-max hint was in a separate
|
|
284
|
+
WARN). The suggested cap is 1.5 times the larger of the two, rounded up to whole GiB."""
|
|
285
|
+
peak, cap = _int(props.get("MemoryPeak")), _int(props.get("MemoryMax"))
|
|
286
|
+
hint = "raise the cap with `lean-pkg verify NAME --memory-max SIZE` (or `receipt systemd --run --memory-max SIZE`)"
|
|
287
|
+
if basis := max(peak or 0, cap or 0):
|
|
288
|
+
hint += f", e.g. --memory-max {-(-basis * 3 // (2 << 30))}G"
|
|
289
|
+
return (f"the OOM killer stopped it (memory peak {_bytes(props.get('MemoryPeak'))}, "
|
|
290
|
+
f"MemoryMax {_bytes(props.get('MemoryMax'))}); {hint}")
|
|
291
|
+
|
|
292
|
+
|
|
281
293
|
def memory_warning(s: dict) -> str | None:
|
|
282
294
|
"""A warning, never a refusal, when the unit's MemoryPeak exceeded MEMORY_WARN_FRACTION of its MemoryMax:
|
|
283
295
|
a slightly larger build under the same cap is OOM-killed (Result=oom-kill, no receipt). It names --memory-max
|
|
284
296
|
and a cap of 1.5 times the peak, rounded up to whole GiB. None when either value is unknown or the cap is
|
|
285
|
-
infinity."""
|
|
297
|
+
infinity, and for a unit already OOM-killed, whose refusal (oom_kill_why) names the peak, the cap and the fix."""
|
|
298
|
+
if s.get("result") == "oom-kill":
|
|
299
|
+
return None
|
|
286
300
|
peak, cap = _int(s.get("memory_peak")), _int(s.get("memory_max"))
|
|
287
301
|
if not peak or not cap or peak <= MEMORY_WARN_FRACTION * cap:
|
|
288
302
|
return None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lean-pkg
|
|
3
|
-
Version: 0.30.
|
|
3
|
+
Version: 0.30.1
|
|
4
4
|
Summary: Lifecycle registry and trust gate for Lean 4 formalization packages: leases, receipt-bound gates, comparator (Palomar) evidence, one-way promotion.
|
|
5
5
|
Author: Le Chen
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -202,7 +202,7 @@ def test_no_systemctl_names_the_properties_file_route(lp, repo, tmp_path, monkey
|
|
|
202
202
|
({"ActiveState": "inactive", "SubState": "dead", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0"},
|
|
203
203
|
"its main process never exited"),
|
|
204
204
|
({"ActiveState": "failed", "SubState": "failed", "Result": "oom-kill", "ExecMainCode": "2",
|
|
205
|
-
"ExecMainStatus": "9"}, "Result=oom-kill: the OOM killer stopped it (MemoryMax
|
|
205
|
+
"ExecMainStatus": "9"}, "Result=oom-kill: the OOM killer stopped it (memory peak 1.5 GiB, MemoryMax 8.0 GiB)"),
|
|
206
206
|
({"ActiveState": "failed", "SubState": "failed", "Result": "exit-code", "ExecMainStatus": "3"},
|
|
207
207
|
"main process exited 3; a receipt needs exit 0"),
|
|
208
208
|
({"ActiveState": "failed", "SubState": "failed", "Result": "signal", "ExecMainCode": "2", "ExecMainStatus": "9"},
|
|
@@ -225,6 +225,26 @@ def test_unclean_unit_is_refused(lp, repo, tmp_path, capsys, over, needle):
|
|
|
225
225
|
assert_nothing_written(repo)
|
|
226
226
|
|
|
227
227
|
|
|
228
|
+
@pytest.mark.parametrize("peak, cap, shown, suggest", [
|
|
229
|
+
(str(8 << 30), str(8 << 30), "memory peak 8.0 GiB, MemoryMax 8.0 GiB", "--memory-max 12G"),
|
|
230
|
+
(str(7 << 30), str(16 << 30), "memory peak 7.0 GiB, MemoryMax 16.0 GiB", "--memory-max 24G"),
|
|
231
|
+
(None, "infinity", "memory peak unknown, MemoryMax none", None),
|
|
232
|
+
])
|
|
233
|
+
def test_oom_kill_refusal_names_peak_cap_and_memory_max(lp, repo, tmp_path, capsys, peak, cap, shown, suggest):
|
|
234
|
+
# A field report (lts-2026.10 release-gate run, 2026-11-22): the oom-kill refusal named only MemoryMax in
|
|
235
|
+
# bytes; the peak and the way to raise the cap were in a separate WARN line that is easy to miss.
|
|
236
|
+
props = props_text(ActiveState="failed", SubState="failed", Result="oom-kill", ExecMainCode="2",
|
|
237
|
+
ExecMainStatus="9", MemoryPeak=peak, MemoryMax=cap)
|
|
238
|
+
assert run(lp, repo, Unit(tmp_path, props=props)) == 1
|
|
239
|
+
err = capsys.readouterr().err
|
|
240
|
+
line = next(x for x in err.splitlines() if "Result=oom-kill:" in x)
|
|
241
|
+
assert "WARN memory" not in err, err # the refusal carries it; the WARN would say "a larger build ..."
|
|
242
|
+
assert f"the OOM killer stopped it ({shown})" in line, line
|
|
243
|
+
assert "lean-pkg verify NAME --memory-max SIZE" in line and "receipt systemd --run --memory-max SIZE" in line
|
|
244
|
+
assert (suggest in line) if suggest else ("e.g. --memory-max" not in line), line
|
|
245
|
+
assert_nothing_written(repo)
|
|
246
|
+
|
|
247
|
+
|
|
228
248
|
def test_missing_properties_are_refused(lp, repo, tmp_path, capsys):
|
|
229
249
|
"""An empty capture (a --collect unit read after it vanished) and a capture without the host."""
|
|
230
250
|
assert run(lp, repo, Unit(tmp_path, props="")) == 1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lean_pkg-0.30.0 → lean_pkg-0.30.1}/src/lean_pkg/schemas/formalization-0.4.schema.source.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|