mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-12 07:16:54 +08:00
fix upload to testpypi error
This commit is contained in:
14
.github/workflows/python-publish.yml
vendored
14
.github/workflows/python-publish.yml
vendored
@@ -51,6 +51,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Build wheel on Linux
|
- name: Build wheel on Linux
|
||||||
uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_x86_64
|
uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_x86_64
|
||||||
with:
|
with:
|
||||||
@@ -58,11 +62,11 @@ jobs:
|
|||||||
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312'
|
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312'
|
||||||
build-requirements: 'numpy cython'
|
build-requirements: 'numpy cython'
|
||||||
package-path: 'qlib'
|
package-path: 'qlib'
|
||||||
pre-build-command: 'python -m pip install -e . && python -m build --wheel'
|
pre-build-command: |
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
python -m ensurepip --upgrade
|
||||||
uses: actions/setup-python@v4
|
python -m pip install --upgrade pip
|
||||||
with:
|
python -m pip install -e .
|
||||||
python-version: ${{ matrix.python-version }}
|
python -m build --wheel
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install twine
|
python -m pip install twine
|
||||||
|
|||||||
Reference in New Issue
Block a user