Skip to content

Modernize CI platforms and repair source builds and malformed-input handling - #125

Open
afedynitch wants to merge 1 commit into
mainfrom
ci/modernize-platforms
Open

afedynitch wants to merge 1 commit into
mainfrom
ci/modernize-platforms

Conversation

@afedynitch

@afedynitch afedynitch commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

CI source builds omitted HepMC3 compression headers, and malformed ASCII input could stall Windows debug tests. This PR repairs those failures and refreshes the supported platform matrix.

  • Retire Python 3.9 and Intel macOS; keep minimum-Python coverage and follow current stable Python and maintained runner/wheel-image defaults with fewer version pins.
  • Include compression headers and their license in source archives, and trigger wheel CI for packaging/native-source changes.
  • Advance HepMC3 to upstream ed0cd9f4 for parse-failure and missing-newline fixes; test truncated input with and without a trailing newline.
  • Report test names and bound stalled tests, including native deadlocks; fix the Docs deployment output reference.

#124 is merged. This PR is rebased onto main and contains one modernization commit.

Graphviz setup on macOS uses the runner's Homebrew snapshot, skipping explicit/automatic updates and install cleanup. The old macOS 14 job compiled dependencies from source (CMake alone took ten minutes); the current runner uses prebuilt bottles. Avoiding the redundant update also avoids unrelated toolchain migrations.

Validation: the previous head b00ba46 passed all hosted tests, docs, coverage, hooks, source-package and platform wheel builds. The only tracked change since that green tree is six lines configuring macOS Graphviz setup. Local hooks pass; hosted validation of the new head is running.

Windows investigation was limited to two existing-run analyses. Native compilation took about 101–104 seconds; the first PNG-rendering test took 4.0–4.9 seconds versus about 0.24 seconds for the next equivalent test. This suggests a cold-start effect but does not establish filesystem caching as the cause. Windows behavior is unchanged; deeper profiling is deferred to local Windows investigation.

AI assistance: implementation, investigation, restructuring and this description were prepared with Codex (GPT-6).

@coveralls

coveralls commented Oct 29, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 96.838% (+0.006%) from 96.832% — ci/modernize-platforms into main

Base automatically changed from pre-commit-ci-update-config to main October 29, 2026 16:17
…andling

Retire Python 3.9 and Intel macOS, follow maintained runner and wheel-image defaults, and reduce version pins. Include bundled compression headers and license in source archives. Advance HepMC3 to its focused ASCII-reader fixes and cover truncated inputs with and without a final newline. Bound tests and expose native deadlock diagnostics.

Assisted-by: Codex:GPT-6
@afedynitch
afedynitch force-pushed the ci/modernize-platforms branch from b00ba46 to aaa0a30 Compare October 29, 2026 16:21

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants