Skip to content
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

CI: Manylinux2014 -> Manylinux_2_28 and update deprecated actions #1228

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ptheywood
Copy link
Member

@ptheywood ptheywood commented Sep 4, 2024

Node 16 Github actions are deprecated, but node 20 actions are incompatible with Manylinux_2014/CentOS7.

  • Replaces manylinux wheel building to use 2_28 (based on Alma 8)
  • Updates depreacted actions in all workflows.

Produced wheels are still not technically Manylinux compliant due to linkage against non-packaged .so files (see #647)

This will reduce wheel compatibility, by increasing the required glibc to 2.28 or newer.

Closes #1190
Closes #1224

Replaces #1200 and #1194 as they must be coupled.

Todo

  • Test the built wheels on recent linux
  • Test installation on Centos7 to check the error (Liberty Linux 7 is still supported)

The use of download_artifact will not have been tested by CI, as it is only used if a version tag is created. We might want to do a dry run on a fork.

@ptheywood ptheywood changed the title CI: Manylinux2014 -Manylinux_2_28 and update deprecated CI: Manylinux2014 -> Manylinux_2_28 and update deprecated actions Sep 4, 2024
@ptheywood ptheywood force-pushed the manylinux_2_28-actions-node-20 branch from 71c65bc to ca0c56f Compare September 4, 2024 13:32
…ithub actions

Node 16 Github actions are deprecated, but node 20 actions are incompatible with Manylinux_2014/CentOS7.

- Replaces manylinux wheel building to use 2_28 (based on Alma 8)
- Updates depreacted actions in all workflows.
@ptheywood ptheywood force-pushed the manylinux_2_28-actions-node-20 branch from ca0c56f to 943e244 Compare September 4, 2024 16:53
@ptheywood
Copy link
Member Author

Wheels generated by the Manylinux_2_28 wheel seem to be missing some wrapped methods. Will need to investiagate when a bit more when on a machine with a GPU.

AttributeError: 'MessageSpatial3D_Description' object has no attribute 'newVariableID'. Did you mean: 'newVariableInt'?

@ptheywood
Copy link
Member Author

Wheels generated by the Manylinux_2_28 wheel seem to be missing some wrapped methods. Will need to investiagate when a bit more when on a machine with a GPU.

AttributeError: 'MessageSpatial3D_Description' object has no attribute 'newVariableID'. Did you mean: 'newVariableInt'?

This will be due to swig 4.2.1 being included in the manylinux_2_28 containers. Could downgrade (and block swig 4.2?), but it would be better to fix the root cause (i.e. make pyflamegpu swig 4.2 compatible).

See #956

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.

Replace manylinux2014 with manylinux_2_28 CI Github Actions deprecations
1 participant