Releases: yueshaosheng/CarryPy
Releases · yueshaosheng/CarryPy
Release list
v1.2.0 - Debian 11 support + dual-addon scheme
v1.2.0 — Debian 11 support + dual-addon scheme
- New platform: Debian 11 (10 platforms total, all on Python 3.11)
- Two standard addons per platform:
- Scientific set (7 packages): numpy, matplotlib, pandas, seaborn, openpyxl, scipy, scikit-learn
- GUI set: pyqt6 — ubuntu18 uses a self-built Qt 6.2.4 runtime; centos7 uses pyqt5; centos6 has no viable GUI pack (glibc 2.12)
- CentOS 6 scientific set fully compiled from source (scipy 1.11.3 / scikit-learn 1.3.2, ships OpenBLAS + libgfortran + freetype 2.10.4)
- Addon filenames no longer carry a date suffix:
addon-<platform>-<packages>.tar.gz DEFAULT_PACKAGESin all configs updated to the 7-package scientific set- All artifacts smoke-tested in containers (install_addon.sh + selfcheck)
Assets (29 files)
10 base packs + 10 scientific addons + 9 GUI addons
Usage
tar xzf mini_python-ubuntu22_amd64-py3.11.16.tar.gz
./mini_python/python3 your_script.py
tar xzf addon-ubuntu22_amd64-numpy+matplotlib+pandas+seaborn+openpyxl+scipy+scikit-learn.tar.gz
./addon-*/install_addon.sh ./mini_pythonv1.1.1 - CentOS 6 migrated to Python 3.11
v1.1.1 - Bilingual README + CentOS 6 migrated to Python 3.11
Updates
- Bilingual README:
README.mdis now English (default); the Chinese version moved to
README_zh.md, with language switch links at the top of both files - Removed the "Supported platforms & environment" and "Speeding Up Builds" sections
from the README - Repository description (About) switched to English
- CentOS 6 now ships Python 3.11 (previously 3.9): verified working, including a
full standard addon set built from source (see below)
CentOS 6 Python 3.11 notes
- Base pack:
mini_python-centos6_amd64-py3.11.16.tar.gz(12 MB) - Addon:
addon-centos6_amd64-numpy+matplotlib+pandas+seaborn+openpyxl-20260827.tar.gz - Latest upstream versions cannot be built on CentOS 6 (GCC 9.1 / glibc 2.12), so the addon
pins a verified combination, all compiled from source inside the build container:
numpy 1.26.4, matplotlib 3.7.5, pandas 2.2.1, seaborn 0.13.2, openpyxl 3.1.5,
pillow 12.3.0 (plus 11 pure-Python dependency wheels) - Ships a bundled
libfreetype.so.6(2.10.4) because the system freetype 2.3 is too old
for modern Pillow - Verified in container:
install_addon.sh+ selfcheck → 5 PASS, 0 FAIL
Assets (18 files)
- 9 base packs:
mini_python-<platform>-py3.11.16.tar.gz, all platforms now on Python 3.11
(empty base pack = interpreter + full standard library, no third-party packages) - 9 standard addons:
addon-<platform>-numpy+matplotlib+pandas+seaborn+openpyxl-<date>.tar.gz
(prebuilt wheels on the 8 glibc >= 2.17 platforms; source-compiled pinned set on CentOS 6)
Usage
# Target machine: extract the base pack and run (no root / no network / no install)
tar xzf mini_python-ubuntu22_amd64-py3.11.16.tar.gz
mini_python/selfcheck.sh
mini_python/python3 your_script.py
# Install an addon (fully offline, auto version/platform check, auto smoke test)
tar xzf addon-ubuntu22_amd64-numpy+matplotlib+pandas+seaborn+openpyxl-20260825.tar.gz
./addon-ubuntu22_amd64-numpy+matplotlib+pandas+seaborn+openpyxl-20260825/install_addon.sh ./mini_python中文摘要
- README 双语化:默认英文版
README.md,中文版移至README_zh.md;删除"支持平台与环境说明"和"构建加速"章节;About 改为英文 - CentOS 6 切换为 Python 3.11(原 3.9 产物已移除):基础包 12 MB;标准增量包为源码编译的
固定版本组合(numpy 1.26.4 / matplotlib 3.7.5 / pandas 2.2.1 / seaborn 0.13.2 / openpyxl 3.1.5 /
pillow 12.3.0,随包携带 libfreetype 2.10.4),容器内安装 + 冒烟测试 5 PASS - 附件共 18 个:9 个基础包(全部 3.11)+ 9 个标准增量包
v1.1.0 - 空包基础 + 增量包双阶段发布
v1.1.0 - 空包基础 + 增量包双阶段发布
本版本引入「空包基础包 + addon 增量包」双阶段发布模式,平台覆盖扩展到 9 个。
本版本更新
- 双阶段发布模式: 基础包仅含解释器 + 完整标准库 (11~13 MB),第三方包通过
addon 增量包按需叠加;组合体积与全量包相当,部署更灵活 - 平台扩展: 新增 Ubuntu 22.04 / 24.04、Rocky Linux 9、Debian 12 支持
(v1.0.0 为 5 个平台,本版本共 9 个)
平台支持与产物体积
| 平台 | Python | 基础包 | addon 包 |
|---|---|---|---|
| CentOS 6 AMD64 | 3.9.25 | 11 MB | 36 MB |
| CentOS 7 AMD64 | 3.11.16 | 11 MB | 53 MB |
| Rocky 8 AMD64 | 3.11.16 | 12 MB | 51 MB |
| Rocky 9 AMD64 | 3.11.16 | 13 MB | 51 MB |
| Ubuntu 18.04 AMD64 | 3.11.16 | 12 MB | 51 MB |
| Ubuntu 20.04 AMD64 | 3.11.16 | 12 MB | 51 MB |
| Ubuntu 22.04 AMD64 | 3.11.16 | 13 MB | 51 MB |
| Ubuntu 24.04 AMD64 | 3.11.16 | 13 MB | 51 MB |
| Debian 12 AMD64 | 3.11.16 | 13 MB | 51 MB |
- 基础包:
mini_python-<平台>-py<版本>.tar.gz(解释器 + 完整标准库 + pip,无第三方包) - addon 包:
addon-<平台>-numpy+matplotlib+pandas+seaborn+openpyxl-<日期>.tar.gz,
含这 5 个包及其全部依赖的 wheel (CentOS 6 固定 numpy==1.26.4)
使用方式
# 目标机: 解压基础包即用 (无需 root / 无需联网)
tar xzf mini_python-ubuntu22_amd64-py3.11.16.tar.gz
mini_python/selfcheck.sh # 自检
mini_python/python3 your_script.py
# 安装 addon 增量包 (完全离线, 自动校验版本/平台一致性, 装完自动冒烟测试)
tar xzf addon-ubuntu22_amd64-numpy+matplotlib+pandas+seaborn+openpyxl-20260826.tar.gz
./addon-ubuntu22_amd64-numpy+matplotlib+pandas+seaborn+openpyxl-20260826/install_addon.sh ./mini_python附件说明
- 共 18 个文件: 9 个基础包 + 9 个标准 addon 包
- 若只需纯 Python 环境,下载基础包即可;需要科学计算常用包时再叠加对应 addon
v1.0.0 - 首版发布
mini_py_pack v1.0.0
基于 Docker 为指定目标平台构建最小体积、可离线部署、解压即用的 Python 运行环境。
支持平台
| 平台 | Python 版本 | 压缩包体积 |
|---|---|---|
| Ubuntu 18.04 AMD64 | 3.11.16 | 68 MB |
| Ubuntu 20.04 AMD64 | 3.11.16 | 68 MB |
| CentOS 7.9 AMD64 | 3.11.16 | 69 MB |
| Rocky Linux 8 AMD64 | 3.11.16 | 67 MB |
| CentOS 6.10 AMD64 | 3.9.25 | 49 MB |
预装包
所有平台均预装: numpy matplotlib pandas seaborn openpyxl
(CentOS 6 为 numpy==1.26.4, 其余为最新版)
使用方式
# 解压即用, 无需 root / 无需联网 / 无需安装系统依赖
tar xzf mini_python-<platform>-py<version>.tar.gz
cd mini_python
./selfcheck.sh # 环境自检
./python3 your_script.py # 运行脚本特性
- 跨架构构建 (amd64/arm64, 基于 Docker + QEMU)
- 增量包支持 (后期可离线添加新包)
- 自动适配 EOL 平台源 (CentOS vault / old-releases)
- 内置功能冒烟测试 (selfcheck)
- 体积裁剪 (去除测试套件/头文件/静态库/调试符号)