Skip to content

Commit 5a5aa7f

Browse files
authored
fix readme & bump mysqlclient (#3)
* fix readme & bump mysqlclient * fix ci
1 parent a1cba78 commit 5a5aa7f

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
run: |
3232
python -m pip install --upgrade pip
3333
python -m pip install -r requirements.txt
34+
- name: Wait for tidb to start
35+
run: sleep 20
3436
- name: Run tests
3537
run: |
3638
python mysqlclient_example.py > temp

README-zh.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
## 前置要求
99

10-
- 推荐 [Python 3.10 及以上版本](https://www.python.org/downloads/)
10+
- 推荐 [Python 3.8 及以上版本](https://www.python.org/downloads/)
1111
- [Git](https://git-scm.com/downloads)
1212
- TiDB 集群。如果你还没有 TiDB 集群,可以按照以下方式创建:
1313
- (推荐方式)参考[创建 TiDB Serverless 集群](https://docs.pingcap.com/tidbcloud/dev-guide-build-cluster-in-cloud),创建你自己的 TiDB Cloud 集群。

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This a sample project written by PingCAP for mysqlcient to connect to TiDB.
77
88
## Prerequisites
99

10-
- [Python 3.10 or higher](https://www.python.org/downloads/)
10+
- [Python 3.8 or higher](https://www.python.org/downloads/)
1111
- [Git](https://git-scm.com/downloads)
1212
- A TiDB cluster. If you don't have a TiDB cluster, you can create one as follows:
1313
- (Recommended) Follow [Creating a TiDB Serverless Cluster](https://docs.pingcap.com/tidbcloud/dev-guide-build-cluster-in-cloud) to create your own TiDB Cloud cluster.

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
mysqlclient==2.2.0
1+
mysqlclient==2.2.1
22
python-dotenv==1.0.0

0 commit comments

Comments
 (0)