Skip to content

Commit 702de78

Browse files
you-n-gLinlang Lv (iSoftStone Information)
authored and
Linlang Lv (iSoftStone Information)
committed
Update version
1 parent 1bb8f2f commit 702de78

File tree

5 files changed

+18
-9
lines changed

5 files changed

+18
-9
lines changed

.github/workflows/python-publish.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
python setup.py bdist_wheel
5252
- name: Build and publish
5353
env:
54-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
55-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
54+
TWINE_USERNAME: __token__
55+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
5656
run: |
5757
twine upload dist/*
5858
@@ -72,10 +72,10 @@ jobs:
7272
python-version: 3.7
7373
- name: Install dependencies
7474
run: |
75-
pip install twine
75+
pip install twine
7676
- name: Build and publish
7777
env:
78-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
79-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
78+
TWINE_USERNAME: __token__
79+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
8080
run: |
8181
twine upload dist/pyqlib-*-manylinux*.whl

.github/workflows/test_qlib_from_pip.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-latest]
16+
# Since macos-latest changed from 12.7.4 to 14.4.1,
17+
# the minimum python version that matches a 14.4.1 version of macos is 3.10,
18+
# so we limit the macos version to macos-12.
19+
os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]
1720
# not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129
1821
python-version: [3.7, 3.8]
1922

.github/workflows/test_qlib_from_source.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-latest]
17+
# Since macos-latest changed from 12.7.4 to 14.4.1,
18+
# the minimum python version that matches a 14.4.1 version of macos is 3.10,
19+
# so we limit the macos version to macos-12.
20+
os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]
1821
# not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129
1922
python-version: [3.7, 3.8]
2023

.github/workflows/test_qlib_from_source_slow.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-latest]
17+
# Since macos-latest changed from 12.7.4 to 14.4.1,
18+
# the minimum python version that matches a 14.4.1 version of macos is 3.10,
19+
# so we limit the macos version to macos-12.
20+
os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]
1821
# not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129
1922
python-version: [3.7, 3.8]
2023

qlib/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Licensed under the MIT License.
33
from pathlib import Path
44

5-
__version__ = "0.9.3.99"
5+
__version__ = "0.9.4"
66
__version__bak = __version__ # This version is backup for QlibConfig.reset_qlib_version
77
import os
88
from typing import Union

0 commit comments

Comments
 (0)