diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 91c9cf9a5..0a1baa0f2 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -54,34 +54,34 @@ jobs: TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }} run: | twine check dist/*.whl - # twine upload --repository-url https://test.pypi.org/legacy/ dist/*.whl --verbose + twine upload --repository-url https://test.pypi.org/legacy/ dist/*.whl --verbose - # deploy_with_manylinux: - # runs-on: ubuntu-latest - # steps: - # - 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 - # uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_x86_64 - # with: - # # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 - # python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312' - # build-requirements: 'numpy cython' - # - name: Install dependencies - # run: | - # python -m pip install twine - # python -m pip list - # - name: Build and publish - # env: - # TWINE_USERNAME: __token__ - # TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }} - # run: | - # ls dist - # twine check dist/*.whl - # twine upload --repository-url https://test.pypi.org/legacy/ dist/pyqlib-*-manylinux*.whl --verbose + deploy_with_manylinux: + runs-on: ubuntu-latest + steps: + - 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 + uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2014_x86_64 + with: + # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 + python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312' + build-requirements: 'numpy cython' + - name: Install dependencies + run: | + python -m pip install twine + python -m pip list + - name: Build and publish + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }} + run: | + ls dist + twine check dist/*.whl + twine upload --repository-url https://test.pypi.org/legacy/ dist/pyqlib-*-manylinux*.whl --verbose # build_wheels: # runs-on: ${{ matrix.os }} diff --git a/qlib/__init__.py b/qlib/__init__.py index b2192f206..6b2b0cdca 100644 --- a/qlib/__init__.py +++ b/qlib/__init__.py @@ -2,7 +2,7 @@ # Licensed under the MIT License. from pathlib import Path -__version__ = "0.9.5.91" +__version__ = "0.9.5.90" __version__bak = __version__ # This version is backup for QlibConfig.reset_qlib_version import os from typing import Union