Skip to content

Commit

Permalink
fix: use python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Jul 8, 2024
1 parent f3f5df4 commit 6f08299
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7]
python-version: [3.11]
poetry-version: ['1.2.2']
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-slim
FROM python:3.11-slim

WORKDIR /labelu

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ LabelU offers a variety of annotation tools and features, supporting image, vide
2. After the installation is complete, run the following command in the terminal (you can choose the default 'y' for prompts during the process):

```bash
conda create -n labelu python=3.7
conda create -n labelu python=3.11
```

> **Note:** For Windows platform, you can run the above command in Anaconda Prompt.
Expand Down Expand Up @@ -80,8 +80,8 @@ labelu
# Download and Install miniconda
# https://docs.conda.io/en/latest/miniconda.html

# Create virtual environment(python = 3.7)
conda create -n labelu python=3.7
# Create virtual environment(python = 3.11)
conda create -n labelu python=3.11

# Activate virtual environment
conda activate labelu
Expand Down
6 changes: 3 additions & 3 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ LabelU 提供了多种标注工具和功能,支持图像、视频、音频标
2. 安装完毕后,在终端运行以下命令(过程中的提示选择默认 `y` 即可):

```bash
conda create -n labelu python=3.7
conda create -n labelu python=3.11
```

> **注:** Windows 平台可在 Anaconda Prompt 程序中运行以上命令。
Expand Down Expand Up @@ -80,8 +80,8 @@ labelu
# 安装miniconda
# https://docs.conda.io/en/latest/miniconda.html

# 创建虚拟环境(python = 3.7)
conda create -n labelu python=3.7
# 创建虚拟环境(python = 3.11)
conda create -n labelu python=3.11

# 激活虚拟环境
conda activate labelu
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ packages = [{include = "labelu"}]
labelu = "labelu.main:cli"

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.11"
fastapi = "^0.86.0"
loguru = "^0.6.0"
sqlalchemy = "^1.4.43"
Expand Down

0 comments on commit 6f08299

Please sign in to comment.