Skip to content

Commit 656e4e4

Browse files
committed
⬆️ Upgrade python version
1 parent 85f8189 commit 656e4e4

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
sudo apt-get -y install librime-dev
9393
- uses: astral-sh/setup-uv@v6
9494
if: runner.os == 'Linux'
95+
with:
96+
python-version: "3.13"
9597
- name: Build
9698
run: |
9799
uv build --wheel

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
project('pyrime', 'cython', 'c', version: '0.0.8')
1+
project('pyrime', 'cython', 'c', version: '0.0.9')
22

33
subdir('src/pyrime')

src/pyrime/prompt_toolkit/rime.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,6 @@
1818
from ptpython.repl import PythonRepl
1919
from wcwidth import wcswidth
2020

21-
from .. import (
22-
clear_composition,
23-
commit_composition,
24-
create_session,
25-
get_commit,
26-
get_context,
27-
init,
28-
process_key,
29-
)
3021
from ..__main__ import Traits
3122
from ..draw_ui import UI, draw_ui
3223
from ..parse_key import (
@@ -38,6 +29,15 @@
3829
SHIFT_CR,
3930
parse_keys,
4031
)
32+
from ..rime import (
33+
clear_composition,
34+
commit_composition,
35+
create_session,
36+
get_commit,
37+
get_context,
38+
init,
39+
process_key,
40+
)
4141
from . import RimeBase
4242

4343

0 commit comments

Comments
 (0)