Skip to content

Commit fe01754

Browse files
committed
test: use Python 3
Python 2 support is EOL [1] and we should support to run our python tests using Python 3.x. test-run used as test-runner for memcached already supports Python 3, see [2]. Patch enable running tests using Python 3 on CI and removes test/var/memcached symlink. 1. https://www.python.org/doc/sunset-python-2/ 2. tarantool/test-run#20 Closes #82
1 parent 0d0803f commit fe01754

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/testing.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333

3434
- run: cmake .
3535

36-
- name: Setup Python 2 for tests
36+
- name: Setup Python 3 for tests
3737
uses: actions/setup-python@v2
3838
with:
39-
python-version: 2.7
39+
python-version: 3.7
4040

4141
- name: Install test requirements
4242
run: pip install -r test-run/requirements.txt

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ Memcached protocol 'wrapper' for Tarantool.
1515

1616
* Tarantol 1.6.8+ with header files (tarantool && tarantool-dev packages).
1717
* Cyrus SASL library (with header files)
18-
* Python >= 2.7, <3 with next packages (for testing only):
19-
- PyYAML
20-
- msgpack-python
21-
- six==1.9.0
18+
* Python >= 3.7 with next packages (for testing only):
19+
- PyYAML 5+
20+
- gevent 21+
2221

2322
### Installation
2423

test-run

Submodule test-run updated 72 files

test/var/memcached

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)