Skip to content

Centos stream 9 build#3

Merged
networmix merged 3 commits intomainfrom
cursor/centos-stream-9-build-9d6e
Feb 17, 2026
Merged

Centos stream 9 build#3
networmix merged 3 commits intomainfrom
cursor/centos-stream-9-build-9d6e

Conversation

@networmix
Copy link
Owner

Add CentOS Stream 9 build and wheel validation to CI workflows.

This expands testing coverage by adding a build-from-source job in tests.yml and a wheel validation job in release.yml for CentOS Stream 9.


Open in Cursor Open in Web

- tests.yml: Add test-centos-stream-9 job that builds from source and runs
  the full CI check suite (lint + C++/Python tests) in a CentOS Stream 9
  container with Python 3.11 and 3.12
- release.yml: Add test_wheels_centos_stream_9 job that downloads the
  manylinux wheels and verifies they install and import correctly on
  CentOS Stream 9; publish_pypi now depends on this validation passing

Co-authored-by: Andrey G <networmix@gmail.com>
@cursor
Copy link

cursor bot commented Feb 16, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

cursoragent and others added 2 commits February 16, 2026 23:58
ninja-build is not available in the CentOS Stream 9 BaseOS/AppStream
repositories. It is only available via CRB or EPEL. Since cmake falls
back to Unix Makefiles when ninja is not found, removing it is the
simplest fix.

Co-authored-by: Andrey G <networmix@gmail.com>
The --no-index flag prevented pip from fetching the numpy dependency
from PyPI. Using --find-links alone lets pip find netgraph-core from
the local wheelhouse while resolving numpy from PyPI.

Co-authored-by: Andrey G <networmix@gmail.com>
@networmix networmix marked this pull request as ready for review February 17, 2026 07:24
Copilot AI review requested due to automatic review settings February 17, 2026 07:24
@networmix networmix merged commit a709994 into main Feb 17, 2026
18 checks passed
@networmix networmix deleted the cursor/centos-stream-9-build-9d6e branch February 17, 2026 07:25
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 06c989dd3b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

- name: Install and test wheel
run: |
python3.11 -m pip install --upgrade pip
python3.11 -m pip install netgraph-core --find-links wheelhouse/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restrict wheel test to local artifacts

This install command does not disable package indexes, so the CentOS validation step can succeed by installing netgraph-core from PyPI instead of the wheel built earlier in this workflow. pip install --help documents --no-index as required to “ignore package index (only looking at --find-links URLs instead),” so without it this job may miss a broken generated wheel whenever the same version is already available on an index (for example on PR runs or release reruns).

Useful? React with 👍 / 👎.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds CentOS Stream 9 support to the CI pipeline by introducing build-from-source testing in the main test workflow and wheel validation in the release workflow. The changes expand platform coverage to ensure compatibility with CentOS Stream 9, a key enterprise Linux distribution.

Changes:

  • Added a new test job that builds and tests on CentOS Stream 9 with Python 3.11 and 3.12
  • Added a wheel validation job to verify pre-built wheels work on CentOS Stream 9
  • Updated the publish job dependency chain to include the new CentOS Stream 9 wheel test

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/tests.yml Adds test-centos-stream-9 job that builds from source and runs full CI checks on CentOS Stream 9 container with Python 3.11 and 3.12
.github/workflows/release.yml Adds test_wheels_centos_stream_9 job to validate pre-built manylinux wheels on CentOS Stream 9 and updates publish_pypi to depend on this new test

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +70 to +71
- name: Install Python
run: dnf install -y python3.11 python3.11-pip
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test job only installs Python 3.11, but wheels are built for Python 3.11, 3.12, and 3.13 (as specified in line 33). Consider testing with all three Python versions to ensure the wheels work correctly across all supported versions. The corresponding test job in tests.yml already tests Python 3.11 and 3.12.

Copilot uses AI. Check for mistakes.
container: quay.io/centos/centos:stream9
steps:
- name: Install Python
run: dnf install -y python3.11 python3.11-pip
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The libatomic system dependency is missing but may be required at runtime. The build-from-source test job in tests.yml installs libatomic (line 46), and the wheel build configuration also ensures libatomic is available during the Linux build (line 43). Consider adding 'dnf install -y libatomic' to ensure the pre-built wheel can run correctly if it was linked against this library.

Suggested change
run: dnf install -y python3.11 python3.11-pip
run: dnf install -y python3.11 python3.11-pip libatomic

Copilot uses AI. Check for mistakes.
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