-
-
Notifications
You must be signed in to change notification settings - Fork 274
Developer Guide: Support new python version
Vu Anh edited this page Jun 9, 2024
·
9 revisions
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#1890ff', 'secondaryColor': '#ff4d4f', 'tertiaryColor': '#52c41a', 'primaryTextColor': '#ffffff', 'secondaryTextColor': '#ffffff', 'tertiaryTextColor': '#ffffff', 'edgeLabelBackground':'#f0f0f0'}}}%%
graph LR
A[Build Image] --> B[Build Underthesea Core]
B --> C[Build Underthesea]
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#1890ff', 'secondaryColor': '#ff4d4f', 'tertiaryColor': '#52c41a', 'primaryTextColor': '#ffffff', 'secondaryTextColor': '#ffffff', 'tertiaryTextColor': '#ffffff', 'edgeLabelBackground':'#f0f0f0'}}}%%
graph LR
subgraph A[Build Image - CentOS]
B[Conda]
subgraph Python
P7[Python 3.7]
P8[Python 3.8]
P9[Python 3.9]
P10[Python 3.10]
P11[Python 3.11]
P12[Python 3.12]
end
E[Rust]
F[Poetry]
end
First, update build_rust
package (base on CentOS) with Rust and Python environments. This image will be used to build Underthesea Core in Step 2.
Tag your PR with label docker-build-image
to trigger build flow.
Build the Underthesea Core using the previously created CentOS image.
Tag your PR with label release-pypi-core
to trigger build flow.
Finally, build Underthesea.
For more details, refer to the GitHub Actions Documentation.