[Fix] Make python API doc generation in Microsoft-hosted Agent (#21766)
### Description <!-- Describe your changes. --> ### Motivation and Context 1. Python API doc needs to be merged from a fork, but 1ES self-hosted pool is only for one github repo. 2. ubuntu-latest will be install numpy above 2.0 by default, and current python API doc generation doesn't support it. So I pin numpy < 2.0.0 ---------
This commit is contained in:
Родитель
1fb2e71ddc
Коммит
9f7e19cedd
|
@ -22,7 +22,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Generate Python API docs
|
name: Generate Python API docs
|
||||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-ubuntu-CPU"]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
|
|
|
@ -13,7 +13,7 @@ pandas
|
||||||
pydot
|
pydot
|
||||||
coloredlogs
|
coloredlogs
|
||||||
flatbuffers
|
flatbuffers
|
||||||
numpy
|
numpy<2.0.0
|
||||||
packaging
|
packaging
|
||||||
protobuf
|
protobuf
|
||||||
sympy
|
sympy
|
||||||
|
|
Загрузка…
Ссылка в новой задаче