Skip to content

Commit e2cef2e

Browse files
committed
⚙️ rm 3.9 support due to multiple problems
1 parent 8382a54 commit e2cef2e

File tree

6 files changed

+30
-26
lines changed

6 files changed

+30
-26
lines changed

.github/workflows/auto-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
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

.github/workflows/code-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
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

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
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:

.github/workflows/python-publish.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,22 @@ permissions:
99

1010
jobs:
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 }}

requirements.lock

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,24 @@
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
1719
h11==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
2628
sniffio==1.3.1
2729
# via anyio
2830
# via httpx
31+
typing-extensions==4.12.2
32+
# via anyio

src/codeboxapi/codebox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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!')")
@@ -24,7 +24,7 @@
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!')")

0 commit comments

Comments
 (0)