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

Document the deps baseline for platform support #229

Merged
merged 5 commits into from
Dec 29, 2024

Conversation

xen0n
Copy link
Collaborator

@xen0n xen0n commented Nov 11, 2024

No description provided.

@xen0n xen0n added area: docs Improvements or additions to documentation area: infra Infra-related issues: build system, CI, etc. labels Nov 11, 2024
@xen0n xen0n added this to the 0.22 milestone Nov 11, 2024
@xen0n xen0n force-pushed the wider-distro-compatibility branch from 2988437 to 52d365f Compare November 11, 2024 08:39
@weilinfox
Copy link
Contributor

weilinfox commented Nov 12, 2024

Fedora 38 到 Fedora 41,调研到的包版本都高于 Ubuntu 22.04 LTS,这里给出了这些包版本的列表。

Fedora 38 由于上游 EOL,感觉可以重新考虑是否要加入官方支持列表,或者说以后再删,反正现在不影响。

还需要支持 openkylin,鉴于 openkylin 1.0 使用 python3.8 所以转而支持 openkylin 2.0, 2.0 的包版本也是在 Ubuntu 22.04 LTS 以上。

以下是 ruyi 重点依赖的 架构相关 软件包在各 Fedora 版本的提供情况:

发行版版本 Python pygit2 pyyaml
Debian 12 3.11 1.11.1 6.0.1
Debian sid 3.12 1.16.0 6.0.1
openKylin 2.0 3.12 1.14.1 6.0.1
Fedora 38 3.11 1.11.1 6.0.1
Fedora 39 3.12 1.14.0 6.0.1
Fedora 40 3.12 1.14.0 6.0.1
Fedora 41 3.13 1.15.1 6.0.1

以下是 ruyi 依赖的 架构无关 软件包在各 Fedora 版本的提供情况:

发行版版本 arpy certifi jinja2 packaging requests rich semver tomlkit typing_extensions
openKylin 2.0 1.1.1 2023.11.17 3.1.2 24.0 2.31.0 13.7.1 2.10.2 0.12.4 4.10.0
Debian 12 1.1.1 2022.09.24 3.1.2 23.0 2.28.1 13.3.1 2.10.2 0.11.7 4.4.0
Debian sid 1.1.1 2024.08.30 3.1.3 24.1 2.32.3 13.7.1 2.10.2 0.13.2 4.12.2
Fedora 38 2.3.0 2022.09.24 3.0.3 23.0 2.28.2 13.3.1 2.13.0 0.11.4 4.5.0
Fedora 39 2.3.0 2023.05.07 3.1.4 23.1 2.28.2 13.5.2 3.0.2 0.11.4 4.12.2
Fedora 40 2.3.0 2023.05.07 3.1.4 23.2 2.31.0 13.7.0 3.0.2 0.12.3 4.12.2
Fedora 41 2.3.0 2023.05.07 3.1.4 24.1 2.32.3 13.7.1 3.0.2 0.12.4 4.12.2

以下是 dulwich 软件包在各发行版的提供情况:

发行版版本 dulwich
openKylin 2.0 0.21.6
openEuler 24.03 LTS 0.21.6
Debian 12 0.21.2
Debian sid 0.22.5
Ubuntu 22.04 LTS 0.20.31
Ubuntu 24.04 LTS 0.21.6
Fedora 38 0.21.2
Fedora 39 0.21.5
Fedora 40 0.21.7
Fedora 41 0.21.7

xen0n added a commit to xen0n/ruyi that referenced this pull request Nov 12, 2024
@xen0n
Copy link
Collaborator Author

xen0n commented Nov 12, 2024

dulwich 目前无法在细节上完全对标 pygit2,如不支持报告下载进度等,所以暂时不替换。如果发行版未提供 pygit2,可能仍需补包

@weilinfox
Copy link
Contributor

#229 (comment)

把 Debian 12 也加上了,包版本比 Ubuntu 22.04 LTS 高; RevyOS 包版本比 Debian sid 略落后一点,可以以 Debian sid 的当前版本做参考。

@xijing21
Copy link

xijing21 commented Nov 15, 2024

  1. 确定要支持的发行版及版本
    按照讨论的需求、以及调研的重点依赖的关系,定义支持的distro和版本如下:

    发行版 说明 tier-1 tier-2
    ubuntu 支持LTS版本 22.04 LTS 、24.04 LTS
    openEuler 支持LTS版本(24.09更加完善也可以替代24.03LTS) 24.03 LTS
    RevyOS 最新版本(内核设备树不同,不同硬件不同镜像) 最新版本(python3.11
    RuyiOS
    Debian 两年发一个版本 12
    Deepin 考虑支持,
    Fedora 考虑支持,每六个月发布一个新版本,最新版本41 40、41 38、39
    Arch Linux 考虑支持,滚动更新
    openKylin(待定) 2.0
    Gentoo (待定) 滚动更新
    • RevyOS 推荐的话建议是最新版的:
      4a:https://mirror.iscas.ac.cn/revyos/extra/images/lpi4a/20240720/
      pioneer:https://mirror.iscas.ac.cn/revyos/extra/images/sg2042/20241025/

      由于内核和设备树不同,都是分开发布的镜像。但是文件系统应该是一样的,python及相关包版本在不同设备镜像中应该一致。

    • Debian:支持riscv的官方版本预计在2个月以后出(这个stable版本 python采用3.13)

    • RevyOS: python3.11 基于某个sid版本拉出来的代码,然后固定在这个版本上进行的开发和改动,软件包版本相对固定

    • RuyiOS: 还在等硬件,基于的Debian版本选型待定(可能会基于Debian 2个月后的stable版本(python 3.13))

    上述的3个发行版,python基本上在 3.11、3.12、3.13这3个版本,目前ruyi已经兼容。问题应该不大,可能还需要关注下其它核心依赖包版本情况

  2. 公开可查:官网—>增加兼容性支持说明文档

@xen0n xen0n removed this from the 0.22 milestone Nov 16, 2024
@xen0n xen0n force-pushed the wider-distro-compatibility branch from 2219b64 to 0df6bb9 Compare December 29, 2024 08:37
@xen0n
Copy link
Collaborator Author

xen0n commented Dec 29, 2024

The majority of content has been merged at ruyisdk/ruyisdk-website#12, so re-purpose this PR to only include the baseline versions.

@xen0n xen0n changed the title Provide wider distro compatibility Document the deps baseline for platform support Dec 29, 2024
@xen0n xen0n force-pushed the wider-distro-compatibility branch 2 times, most recently from 4bd3fb3 to 043f769 Compare December 29, 2024 08:47
The majority of the original doc is merged elsewhere as
ruyisdk/ruyisdk-website#12, so de-dupe the doc
here to only contain the relevant technical info.
@xen0n xen0n force-pushed the wider-distro-compatibility branch from 043f769 to 3c4c221 Compare December 29, 2024 08:47
@xen0n xen0n added this to the 0.26 milestone Dec 29, 2024
@xen0n xen0n merged commit 626c230 into ruyisdk:main Dec 29, 2024
@xen0n xen0n deleted the wider-distro-compatibility branch December 29, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation area: infra Infra-related issues: build system, CI, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants