-
Notifications
You must be signed in to change notification settings - Fork 0
Centos stream 9 build #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -61,9 +61,30 @@ jobs: | |||||
| name: cibw-sdist | ||||||
| path: dist/*.tar.gz | ||||||
|
|
||||||
| test_wheels_centos_stream_9: | ||||||
| name: Test wheels (CentOS Stream 9) | ||||||
| needs: [build_wheels] | ||||||
| runs-on: ubuntu-latest | ||||||
| container: quay.io/centos/centos:stream9 | ||||||
| steps: | ||||||
| - name: Install Python | ||||||
| run: dnf install -y python3.11 python3.11-pip | ||||||
|
||||||
| run: dnf install -y python3.11 python3.11-pip | |
| run: dnf install -y python3.11 python3.11-pip libatomic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 👍 / 👎.
There was a problem hiding this comment.
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.