You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/04/04 01:00:03 UTC
[GitHub] [pulsar] merlimat opened a new pull request, #15016: [Python] Added build for wheels on Alpine linux
merlimat opened a new pull request, #15016:
URL: https://github.com/apache/pulsar/pull/15016
### Motivation
Added wheel files compatible with Alpine Linux as described in https://discuss.python.org/t/pep-656-platform-tag-for-linux-distributions-using-musl/7165
Building Python 3.7, 3.8, 3.9 and 3.10 for both x86_64 and arm64
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] merlimat merged pull request #15016: [Python] Added build for wheels on Alpine linux
Posted by GitBox <gi...@apache.org>.
merlimat merged PR #15016:
URL: https://github.com/apache/pulsar/pull/15016
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] janvos1 commented on pull request #15016: [Python] Added build for wheels on Alpine linux
Posted by GitBox <gi...@apache.org>.
janvos1 commented on PR #15016:
URL: https://github.com/apache/pulsar/pull/15016#issuecomment-1093474308
py3-pulsar-client-cpp is available on Alpine
```
# apk info py3-pulsar-client-cpp
py3-pulsar-client-cpp-2.9.1-r0 description:
Python bindings for Apache Pulsar C++ client
py3-pulsar-client-cpp-2.9.1-r0 webpage:
https://pulsar.apache.org/docs/en/client-libraries-cpp/
py3-pulsar-client-cpp-2.9.1-r0 installed size:
4996 KiB
# apk add py3-pulsar-client-cpp
(1/1) Installing py3-pulsar-client-cpp (2.9.1-r0)
# apk search pulsar
py3-pulsar-client-cpp-2.9.1-r0
pulsar-client-cpp-static-2.9.1-r0
pulsar-client-cpp-2.9.1-r0
pulsar-client-cpp-dev-2.9.1-r0
# python3 --version
Python 3.10.3
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on pull request #15016: [Python] Added build for wheels on Alpine linux
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #15016:
URL: https://github.com/apache/pulsar/pull/15016#issuecomment-1087000943
@merlimat:Thanks for your contribution. For this PR, do we need to update docs?
(The [PR template contains info about doc](https://github.com/apache/pulsar/blob/master/.github/PULL_REQUEST_TEMPLATE.md#documentation), which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on pull request #15016: [Python] Added build for wheels on Alpine linux
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #15016:
URL: https://github.com/apache/pulsar/pull/15016#issuecomment-1087000951
@merlimat:Thanks for your contribution. For this PR, do we need to update docs?
(The [PR template contains info about doc](https://github.com/apache/pulsar/blob/master/.github/PULL_REQUEST_TEMPLATE.md#documentation), which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on pull request #15016: [Python] Added build for wheels on Alpine linux
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #15016:
URL: https://github.com/apache/pulsar/pull/15016#issuecomment-1087000949
@merlimat:Thanks for your contribution. For this PR, do we need to update docs?
(The [PR template contains info about doc](https://github.com/apache/pulsar/blob/master/.github/PULL_REQUEST_TEMPLATE.md#documentation), which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] JanVosNL commented on pull request #15016: [Python] Added build for wheels on Alpine linux
Posted by GitBox <gi...@apache.org>.
JanVosNL commented on PR #15016:
URL: https://github.com/apache/pulsar/pull/15016#issuecomment-1093862108
@merlimat
`pulsar-client-cpp` and `py3-pulsar-client-cpp` packages are available on Alpine Linux (Edge repository)
```
# apk search pulsar-client
py3-pulsar-client-cpp-2.9.1-r0
pulsar-client-cpp-static-2.9.1-r0
pulsar-client-cpp-2.9.1-r0
pulsar-client-cpp-dev-2.9.1-r0
```
```
# apk info py3-pulsar-client-cpp
py3-pulsar-client-cpp-2.9.1-r0 description:
Python bindings for Apache Pulsar C++ client
```
```
# apk info pulsar-client-cpp
pulsar-client-cpp-2.9.1-r0 description:
Apache Pulsar C++ client
```
```
Dockerfile:
FROM alpine:latest
RUN apk add --no-cache \
-X https://dl-cdn.alpinelinux.org/alpine/edge/main \
-X https://dl-cdn.alpinelinux.org/alpine/edge/community \
-X https://dl-cdn.alpinelinux.org/alpine/edge/testing \
pulsar-client-cpp-dev py3-pulsar-client-cpp py3-six py3-certifi
```
```
# docker run -it <image>
/ # ldd /usr/lib/libpulsar.so
/lib/ld-musl-x86_64.so.1 (0x7fc4c1023000)
libprotobuf.so.29 => /usr/lib/libprotobuf.so.29 (0x7fc4c0a90000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x7fc4c0a14000)
libssl.so.1.1 => /lib/libssl.so.1.1 (0x7fc4c0993000)
libcrypto.so.1.1 => /lib/libcrypto.so.1.1 (0x7fc4c0712000)
libz.so.1 => /lib/libz.so.1 (0x7fc4c06f8000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x7fc4c067a000)
libsnappy.so.1 => /usr/lib/libsnappy.so.1 (0x7fc4c066f000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7fc4c0497000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7fc4c047e000)
libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7fc4c1023000)
libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x7fc4c0459000)
libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x7fc4c044d000)
libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x7fc4c042a000)
```
```
/ # python3
Python 3.10.3 (main, Apr 7 2022, 10:35:47) [GCC 11.2.1 20220219] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pulsar
>>> dir(pulsar)
['AlreadyClosed', 'Authentication', 'AuthenticationAthenz', 'AuthenticationError', 'AuthenticationOauth2', 'AuthenticationTLS', 'AuthenticationToken', 'AuthorizationError', 'BatchingType', 'BrokerMetadataError', 'BrokerPersistenceError', 'ChecksumError', 'Client', 'CompressionType', 'ConnectError', 'Consumer', 'ConsumerAssignError', 'ConsumerBusy', 'ConsumerNotFound', 'ConsumerNotInitialized', 'ConsumerType', 'Context', 'CryptoError', 'CryptoKeyReader', 'CumulativeAcknowledgementNotAllowedError', 'ErrorGettingAuthenticationData', 'Function', 'IdentitySerDe', 'IncompatibleSchema', 'InitialPosition', 'InvalidConfiguration', 'InvalidMessage', 'InvalidTopicName', 'InvalidTxnStatusError', 'InvalidUrl', 'LookupError', 'MemoryBufferIsFull', 'Message', 'MessageBatch', 'MessageId', 'MessageTooBig', 'NotAllowedError', 'NotConnected', 'OperationNotSupported', 'PartitionsRoutingMode', 'PickleSerDe', 'Producer', 'ProducerBlockedQuotaExceededError', 'ProducerBlockedQuotaExceededException', 'Pro
ducerBusy', 'ProducerFenced', 'ProducerNotInitialized', 'ProducerQueueIsFull', 'PulsarException', 'ReadError', 'Reader', 'Result', 'SerDe', 'ServiceUnitNotReady', 'SubscriptionNotFound', 'Timeout', 'TooManyLookupRequestException', 'TopicNotFound', 'TopicTerminated', 'TransactionConflict', 'TransactionCoordinatorNotFoundError', 'TransactionNotFound', 'UnknownError', 'UnsupportedVersionError', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '_check_type', '_check_type_or_none', '_listener_wrapper', '_pulsar', '_retype', '_schema', 'certifi', 'exceptions', 'functions', 'logging', 're', 'schema', 'timedelta']
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org