File tree Expand file tree Collapse file tree 6 files changed +30
-26
lines changed Expand file tree Collapse file tree 6 files changed +30
-26
lines changed Original file line number Diff line number Diff line change 1212 - uses : actions/checkout@v2
1313 - uses : eifinger/setup-rye@v1
1414 with :
15+ python-version : 3.10
1516 enable_cache : true
1617 cache_prefix : " venv-codeboxapi"
1718 - run : rye sync
Original file line number Diff line number Diff line change 66 pre-commit :
77 strategy :
88 matrix :
9- python-version : ["3.9 ", "3.10 ", "3.11 "]
9+ python-version : ["3.10 ", "3.11 ", "3.12 "]
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1414 - uses : actions/checkout@v3
1515 - uses : actions/setup-python@v4
1616 with :
17- python-version : 3.x
17+ python-version : 3.10
1818 - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
1919 - uses : actions/cache@v3
2020 with :
Original file line number Diff line number Diff line change @@ -9,23 +9,22 @@ permissions:
99
1010jobs :
1111 deploy :
12-
1312 runs-on : ubuntu-latest
1413
1514 steps :
16- - uses : actions/checkout@v3
17- - name : Set up Python
18- uses : actions/setup-python@v3
19- with :
20- python-version : ' 3.x '
21- - name : Install dependencies
22- run : |
23- python -m pip install --upgrade pip
24- pip install build
25- - name : Build package
26- run : python -m build
27- - name : Publish package
28- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
29- with :
30- user : __token__
31- password : ${{ secrets.PYPI_API_TOKEN }}
15+ - uses : actions/checkout@v3
16+ - name : Set up Python
17+ uses : actions/setup-python@v3
18+ with :
19+ python-version : " 3.10 "
20+ - name : Install dependencies
21+ run : |
22+ python -m pip install --upgrade pip
23+ pip install build
24+ - name : Build package
25+ run : python -m build
26+ - name : Publish package
27+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
28+ with :
29+ user : __token__
30+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 99# generate-hashes: false
1010
1111-e file:.
12- anyio==4.4.0
12+ anyio==4.6.2.post1
1313 # via httpx
14- certifi==2024.7.4
14+ certifi==2024.8.30
1515 # via httpcore
1616 # via httpx
17+ exceptiongroup==1.2.2
18+ # via anyio
1719h11==0.14.0
1820 # via httpcore
19- httpcore==1.0.5
21+ httpcore==1.0.6
2022 # via httpx
21- httpx==0.27.0
23+ httpx==0.27.2
2224 # via codeboxapi
23- idna==3.7
25+ idna==3.10
2426 # via anyio
2527 # via httpx
2628sniffio==1.3.1
2729 # via anyio
2830 # via httpx
31+ typing-extensions==4.12.2
32+ # via anyio
Original file line number Diff line number Diff line change 1111
1212 from codeboxapi import CodeBox
1313
14- codebox = CodeBox.create (api_key="local")
14+ codebox = CodeBox(api_key="local")
1515
1616 codebox.healthcheck()
1717 codebox.exec("print('Hello World!')")
2424
2525 from codeboxapi import CodeBox
2626
27- codebox = CodeBox.create (api_key="local")
27+ codebox = CodeBox(api_key="local")
2828
2929 await codebox.ahealthcheck()
3030 await codebox.aexec("print('Hello World!')")
You can’t perform that action at this time.
0 commit comments