Skip to content

Commit dec92e5

Browse files
authored
Upgrade python 3.8 to 3.10 in github actions (#1440)
1 parent 22911ea commit dec92e5

6 files changed

Lines changed: 17 additions & 22 deletions

File tree

.github/workflows/CD.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: ['ubuntu-latest']
16-
python-version: [3.8]
16+
python-version: [3.10]
1717
runs-on: ${{ matrix.os }}
1818
environment: package
1919
steps:

.github/workflows/deploy-website.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
- name: setup python
3838
uses: actions/setup-python@v4
3939
with:
40-
python-version: "3.8"
40+
python-version: "3.10"
4141
- name: pydoc-markdown install
4242
run: |
4343
python -m pip install --upgrade pip
44-
pip install pydoc-markdown==4.5.0
44+
pip install pydoc-markdown==4.7.0
4545
- name: pydoc-markdown run
4646
run: |
4747
pydoc-markdown
@@ -73,11 +73,11 @@ jobs:
7373
- name: setup python
7474
uses: actions/setup-python@v4
7575
with:
76-
python-version: "3.8"
76+
python-version: "3.10"
7777
- name: pydoc-markdown install
7878
run: |
7979
python -m pip install --upgrade pip
80-
pip install pydoc-markdown==4.5.0
80+
pip install pydoc-markdown==4.7.0
8181
- name: pydoc-markdown run
8282
run: |
8383
pydoc-markdown

flaml/autogen/agentchat/contrib/math_user_proxy_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def __init__(
156156
when the number of auto reply reaches the max_consecutive_auto_reply or when is_termination_msg is True.
157157
default_auto_reply (str or dict or None): the default auto reply message when no code execution or llm based reply is generated.
158158
max_invalid_q_per_step (int): (ADDED) the maximum number of invalid queries per step.
159-
**kwargs (dict): other kwargs in [UserProxyAgent](user_proxy_agent#__init__).
159+
**kwargs (dict): other kwargs in [UserProxyAgent](../user_proxy_agent#__init__).
160160
"""
161161
super().__init__(
162162
name=name,

flaml/autogen/agentchat/contrib/retrieve_user_proxy_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __init__(
123123
can be found at `https://www.sbert.net/docs/pretrained_models.html`. The default model is a
124124
fast model. If you want to use a high performance model, `all-mpnet-base-v2` is recommended.
125125
- customized_prompt (Optional, str): the customized prompt for the retrieve chat. Default is None.
126-
**kwargs (dict): other kwargs in [UserProxyAgent](user_proxy_agent#__init__).
126+
**kwargs (dict): other kwargs in [UserProxyAgent](../user_proxy_agent#__init__).
127127
"""
128128
super().__init__(
129129
name=name,

website/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"name": "website",
33
"version": "0.0.0",
44
"private": true,
5-
"resolutions" :{
6-
"nth-check":"2.0.1",
7-
"trim":"0.0.3",
5+
"resolutions": {
6+
"nth-check": "2.0.1",
7+
"trim": "0.0.3",
88
"got": "11.8.5",
99
"node-forge": "1.3.0",
1010
"minimatch": "3.0.5",
1111
"loader-utils": "2.0.4",
1212
"eta": "2.0.0",
1313
"@sideway/formula": "3.0.1",
1414
"http-cache-semantics": "4.1.1"
15-
},
15+
},
1616
"scripts": {
1717
"docusaurus": "docusaurus",
1818
"start": "docusaurus start",
@@ -33,13 +33,13 @@
3333
"clsx": "^1.1.1",
3434
"file-loader": "^6.2.0",
3535
"hast-util-is-element": "1.1.0",
36+
"minimatch": "3.0.5",
3637
"react": "^17.0.1",
3738
"react-dom": "^17.0.1",
3839
"rehype-katex": "4",
3940
"remark-math": "3",
4041
"trim": "^0.0.3",
41-
"url-loader": "^4.1.1",
42-
"minimatch": "3.0.5"
42+
"url-loader": "^4.1.1"
4343
},
4444
"browserslist": {
4545
"production": [

website/yarn.lock

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3037,15 +3037,10 @@ caniuse-api@^3.0.0:
30373037
lodash.memoize "^4.1.2"
30383038
lodash.uniq "^4.5.0"
30393039

3040-
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001426:
3041-
version "1.0.30001430"
3042-
resolved "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001430.tgz#638a8ae00b5a8a97e66ff43733b2701f81b101fa"
3043-
integrity sha512-IB1BXTZKPDVPM7cnV4iaKaHxckvdr/3xtctB3f7Hmenx3qYBhGtTZ//7EllK66aKXW98Lx0+7Yr0kxBtIt3tzg==
3044-
3045-
caniuse-lite@^1.0.30001646:
3046-
version "1.0.30001657"
3047-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001657.tgz#29fd504bffca719d1c6b63a1f6f840be1973a660"
3048-
integrity sha512-DPbJAlP8/BAXy3IgiWmZKItubb3TYGP0WscQQlVGIfT4s/YlFYVuJgyOsQNP7rJRChx/qdMeLJQJP0Sgg2yjNA==
3040+
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001426, caniuse-lite@^1.0.30001646:
3041+
version "1.0.30001718"
3042+
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001718.tgz"
3043+
integrity sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw==
30493044

30503045
ccount@^1.0.0, ccount@^1.0.3:
30513046
version "1.1.0"

0 commit comments

Comments
 (0)