From 98ef415912895c9b9395448307db5696d48b6da6 Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Wed, 18 Nov 2026 09:14:27 +0800 Subject: [PATCH] Use Arrow binary wheels compatible with runner Python 3.14 --- .gitea/workflows/check.yml | 2 +- .gitea/workflows/reviewarena.yml | 2 +- docs/reviewarena-metadata.md | 4 ++-- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/check.yml b/.gitea/workflows/check.yml index e38ad6f..d59cf09 100644 --- a/.gitea/workflows/check.yml +++ b/.gitea/workflows/check.yml @@ -35,7 +35,7 @@ jobs: venv = root / 'venv' subprocess.run(['python3','-B','-m','venv','--system-site-packages',str(venv)],check=True) python = str(venv / 'bin/python') - subprocess.run([python,'-B','-m','pip','install','--only-binary=:all:','--no-compile','psycopg[binary]==3.3.8','pyarrow==21.0.0'],check=True) + subprocess.run([python,'-B','-m','pip','install','--only-binary=:all:','--no-compile','psycopg[binary]==3.3.8','pyarrow==26.0.1'],check=True) testenv = os.environ.copy() service_file = pathlib.Path('/etc/paper-atlas/pg_service.conf') if service_file.is_file(): diff --git a/.gitea/workflows/reviewarena.yml b/.gitea/workflows/reviewarena.yml index ee0a207..abf7f79 100644 --- a/.gitea/workflows/reviewarena.yml +++ b/.gitea/workflows/reviewarena.yml @@ -44,7 +44,7 @@ jobs: venv=root/'venv' subprocess.run(['python3','-B','-m','venv','--system-site-packages',str(venv)],check=True) python=str(venv/'bin/python') - subprocess.run([python,'-B','-m','pip','install','--only-binary=:all:','--no-compile','pyarrow==21.0.0'],check=True) + subprocess.run([python,'-B','-m','pip','install','--only-binary=:all:','--no-compile','pyarrow==26.0.1'],check=True) wheels=root/'wheels' subprocess.run([python,'-B','-m','pip','wheel','--no-deps','--wheel-dir',str(wheels),str(src)],check=True) wheel,=wheels.glob('paper_atlas-*.whl') diff --git a/docs/reviewarena-metadata.md b/docs/reviewarena-metadata.md index 4874613..72e5e98 100644 --- a/docs/reviewarena-metadata.md +++ b/docs/reviewarena-metadata.md @@ -4,11 +4,11 @@ ReviewArena 是公开评审镜像,固定版本为 `c2978add17c2099219eaddbc259 - [固定版本上游数据卡](https://huggingface.co/datasets/anonymousNeurIPS2026submission4281/reviewarena/blob/c2978add17c2099219eaddbc2599974d69d4d09b/README.md) - [固定版本文件元数据 API](https://huggingface.co/api/datasets/anonymousNeurIPS2026submission4281/reviewarena/tree/c2978add17c2099219eaddbc2599974d69d4d09b/data?recursive=false&expand=false) -- [Arrow ParquetFile 投影接口](https://arrow.apache.org/docs/21.0/python/generated/pyarrow.parquet.ParquetFile.html) +- [Arrow ParquetFile 投影接口](https://arrow.apache.org/docs/python/generated/pyarrow.parquet.ParquetFile.html) ## 运行 -仅在已授权远程 runner 安装 `paper-atlas[mirrors]`,使用固定 PyArrow 21.0.0 二进制 wheel。本机不执行安装、构建或项目测试。常规 CI 包含投影、安全边界和镜像决定语义测试;真实网络采集由独立的 `ReviewArena metadata projection` workflow 手动触发,指定已通过 CI 的代码 ref 和 split,例如 `emnlp`。该 workflow 仍使用 `ces-control` / `aliyun-ces-control`,在服务器固定数据目录生成输出和恢复归档,不更改默认 runtime 或数据库。 +仅在已授权远程 runner 安装 `paper-atlas[mirrors]`,使用固定 PyArrow 26.0.1 二进制 wheel。本机不执行安装、构建或项目测试。常规 CI 包含投影、安全边界和镜像决定语义测试;真实网络采集由独立的 `ReviewArena metadata projection` workflow 手动触发,指定已通过 CI 的代码 ref 和 split,例如 `emnlp`。该 workflow 仍使用 `ces-control` / `aliyun-ces-control`,在服务器固定数据目录生成输出和恢复归档,不更改默认 runtime 或数据库。 包内命令如下,`--out` 必须是既有父目录内的新目录: diff --git a/pyproject.toml b/pyproject.toml index 4972229..f9213ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dependencies = ["PyYAML==6.0.3"] [project.optional-dependencies] postgres = ["psycopg[binary]==3.3.8"] -mirrors = ["pyarrow==21.0.0"] +mirrors = ["pyarrow==26.0.1"] [project.scripts] paper-atlas = "paper_atlas.cli:main"