Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests for Python 3 #82

Closed
ligurio opened this issue Dec 1, 2021 · 0 comments · Fixed by #83
Closed

Update tests for Python 3 #82

ligurio opened this issue Dec 1, 2021 · 0 comments · Fixed by #83
Assignees

Comments

@ligurio
Copy link
Member

ligurio commented Dec 1, 2021

tests for memcached written in Python 2, but Python 2 is deprecated.
test-run supports Python 3 [1] and it would be better to update tests for Python 3.

1: tarantool/test-run#20

ligurio added a commit that referenced this issue Dec 1, 2021
ligurio added a commit that referenced this issue Dec 1, 2021
binary suite is broken: python3 ./test-run.py --force --suite binary/

Closes #82
@ligurio ligurio self-assigned this Dec 2, 2021
@ligurio ligurio added the teamE label Dec 2, 2021
ligurio added a commit that referenced this issue Dec 15, 2021
ligurio added a commit that referenced this issue Dec 15, 2021
binary suite is broken: python3 ./test-run.py --force --suite binary/

Closes #82
ligurio added a commit that referenced this issue Dec 16, 2021
ligurio added a commit that referenced this issue Dec 16, 2021
binary suite is broken: python3 ./test-run.py --force --suite binary

Closes #82
ligurio added a commit that referenced this issue Dec 16, 2021
ligurio added a commit that referenced this issue Dec 17, 2021
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 adds support of running tests with Python 3 without breaking
compatibility with Python 2. Testing on CI switched to Python 3.

1. https://www.python.org/doc/sunset-python-2/
2. tarantool/test-run#20

Closes #82
ligurio added a commit that referenced this issue Dec 20, 2021
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 adds support of running tests with Python 3 without breaking
compatibility with Python 2. Testing on CI switched to Python 3.

1. https://www.python.org/doc/sunset-python-2/
2. tarantool/test-run#20

Closes #82
ligurio added a commit that referenced this issue Dec 20, 2021
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 adds support of running tests with Python 3 without breaking
compatibility with Python 2. Testing on CI switched to Python 3.

1. https://www.python.org/doc/sunset-python-2/
2. tarantool/test-run#20

Closes #82
ligurio added a commit that referenced this issue Jan 11, 2022
Convert print statement to function. In a Python 3 'print' becomes a
function, see [1]. Patch makes 'print' in a regression tests compatible with
Python 3.

Part of #82

1. https://docs.python.org/3/whatsnew/3.0.html#print-is-a-function
ligurio added a commit that referenced this issue Jan 11, 2022
ligurio added a commit that referenced this issue Jan 11, 2022
ligurio added a commit that referenced this issue Jan 11, 2022
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
ligurio added a commit that referenced this issue Jan 14, 2022
ligurio added a commit that referenced this issue Jan 14, 2022
ligurio added a commit that referenced this issue Jan 14, 2022
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
ligurio added a commit that referenced this issue Jan 17, 2022
Convert print statement to function. In a Python 3 'print' becomes a
function, see [1]. Patch makes 'print' in a regression tests compatible with
Python 3.

Part of #82

1. https://docs.python.org/3/whatsnew/3.0.html#print-is-a-function
ligurio added a commit that referenced this issue Jan 17, 2022
ligurio added a commit that referenced this issue Jan 17, 2022
ligurio added a commit that referenced this issue Jan 17, 2022
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
ligurio added a commit that referenced this issue Jan 17, 2022
ligurio added a commit that referenced this issue Jan 17, 2022
ligurio added a commit that referenced this issue Jan 17, 2022
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
ligurio added a commit that referenced this issue Jan 19, 2022
Convert print statement to function. In a Python 3 'print' becomes a
function, see [1]. Patch makes 'print' in a regression tests compatible with
Python 3.

Part of #82

1. https://docs.python.org/3/whatsnew/3.0.html#print-is-a-function
ligurio added a commit that referenced this issue Jan 19, 2022
ligurio added a commit that referenced this issue Jan 19, 2022
ligurio added a commit that referenced this issue Jan 19, 2022
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
ylobankov added a commit that referenced this issue Jan 20, 2022
The memcached tests have migrated to Python 3 recently in scope of #82.
But reusable_testing.yml workflow wasn't updated and tests started to
fail. This path fixes the issue.
ylobankov added a commit that referenced this issue Jan 20, 2022
The memcached tests have migrated to Python 3 recently in scope of #82.
But reusable_testing.yml workflow wasn't updated and tests started to
fail. This patch fixes the issue.
Totktonada pushed a commit that referenced this issue Jan 20, 2022
The memcached tests have migrated to Python 3 recently in scope of #82.
But reusable_testing.yml workflow wasn't updated and tests started to
fail. This patch fixes the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant