Skip to content

[Integeration-test]Fix integration-test failed when execute pip3 install pulsar_client - #4754

Merged
massakam merged 3 commits into
apache:masterfrom
AmateurEvents:fix/python-client-support-3.5
Jul 18, 2019
Merged

massakam merged 3 commits into
apache:masterfrom
AmateurEvents:fix/python-client-support-3.5

Conversation

@tuteng

@tuteng tuteng commented Jul 18, 2019 •

Copy link
Copy Markdown
Member

Fix #4748 (comment)

Motivation

When installing the pulsar-client-2.5.0 using the image openjdk:8-jdk-slim, for Debian 10 systems, python3.7 will be installed when apt-get install python3 is executed. When installing the client using pip3, the following exception will be thrown

cat /etc/issue
Debian GNU/Linux 10 \n \l

root@40fdedf3f3c3:/# python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

root@40fdedf3f3c3:/# pip3 install pulsar_client-2.5.0-cp35-cp35m-manylinux1_x86_64.whl
ERROR: pulsar_client-2.5.0-cp35-cp35m-manylinux1_x86_64.whl is not a supported wheel on this platform.

Modification

Install Use pip3.5 instead of pip3.

When installing the pulsar-client-2.5.0 using the image openjdk:8-jdk-slim, for debian 10 systems, python3.7 will be installed when apt-get install python3 is executed. When installing the client using pip3, the following exception will be thrown
```
cat /etc/issue
Debian GNU/Linux 10 \n \l

root@40fdedf3f3c3:/# python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

root@40fdedf3f3c3:/# pip3 install pulsar_client-2.5.0-cp35-cp35m-manylinux1_x86_64.whl
ERROR: pulsar_client-2.5.0-cp35-cp35m-manylinux1_x86_64.whl is not a supported wheel on this platform.
```

### Modifications

Install Use pip3.5 instead of pip3.
@sijie

sijie commented Jul 18, 2019

Copy link
Copy Markdown
Member

run java8 tests

@sijie sijie added area/build type/bug The PR fixed a bug or issue reported a bug labels Jul 18, 2019
@sijie sijie added this to the 2.4.1 milestone Jul 18, 2019
@tuteng

tuteng commented Jul 18, 2019

Copy link
Copy Markdown
Member Author

run java8 tests

@sijie

sijie commented Jul 18, 2019

Copy link
Copy Markdown
Member

run java8 tests

@tuteng

tuteng commented Jul 18, 2019

Copy link
Copy Markdown
Member Author

run java8 tests

@massakam massakam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@massakam
massakam merged commit 0a59b4c into apache:master Jul 18, 2019
@sijie
sijie deleted the fix/python-client-support-3.5 branch July 18, 2019 15:41
easyfan pushed a commit to easyfan/pulsar that referenced this pull request Jul 26, 2019
…all pulsar_client (apache#4754)

* ### Motivation
When installing the pulsar-client-2.5.0 using the image openjdk:8-jdk-slim, for debian 10 systems, python3.7 will be installed when apt-get install python3 is executed. When installing the client using pip3, the following exception will be thrown
```
cat /etc/issue
Debian GNU/Linux 10 \n \l

root@40fdedf3f3c3:/# python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

root@40fdedf3f3c3:/# pip3 install pulsar_client-2.5.0-cp35-cp35m-manylinux1_x86_64.whl
ERROR: pulsar_client-2.5.0-cp35-cp35m-manylinux1_x86_64.whl is not a supported wheel on this platform.
```

### Modifications

Install Use pip3.5 instead of pip3.

* Deleute no used tools

* Fix Docker command
jiazhai pushed a commit that referenced this pull request Aug 28, 2019
…all pulsar_client (#4754)

* ### Motivation
When installing the pulsar-client-2.5.0 using the image openjdk:8-jdk-slim, for debian 10 systems, python3.7 will be installed when apt-get install python3 is executed. When installing the client using pip3, the following exception will be thrown
```
cat /etc/issue
Debian GNU/Linux 10 \n \l

root@40fdedf3f3c3:/# python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

root@40fdedf3f3c3:/# pip3 install pulsar_client-2.5.0-cp35-cp35m-manylinux1_x86_64.whl
ERROR: pulsar_client-2.5.0-cp35-cp35m-manylinux1_x86_64.whl is not a supported wheel on this platform.
```

### Modifications

Install Use pip3.5 instead of pip3.

* Deleute no used tools

* Fix Docker command

(cherry picked from commit 0a59b4c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integration Tests failing

3 participants