Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apache/pulsar-client-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.3.0
Choose a base ref
...
head repository: apache/pulsar-client-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.4.0
Choose a head ref
  • 19 commits
  • 20 files changed
  • 5 contributors

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    8c36eb7 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Added missing publish option ordering_key (#152)

    The `ordering_key` was not available to set when publishing
    messages. This has been added, aping how partition_key is set.
    Added test to cover new functionality.
    sbreatnach authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    9047170 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Configuration menu
    Copy the full SHA
    8d77f74 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    995e491 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. [feat] Support schema field type promotion (#159)

    ## Motivation
    
    The client is not correctly following [Avro's type promotion rules](https://avro.apache.org/docs/1.11.1/specification/#schema-resolution), leading to a potential problem with data serialization and deserialization.
    
    The expected behavior is that the Python client should correctly follow Avro's type promotion rules and perform type conversion when necessary, ensuring compatibility. However the actual behavior is that the Python client's schema deserialization is too strict, and type promotion is not happening as expected.
    
    ## Modification
    
    - Support schema field type promotion when validating the python type
    - Convert the field value to the desired compatible python type
    RobertIndie authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    dfd163a View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    99d65d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    d38c156 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    bd6e981 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Update Curl to 8.4.0 (#168)

    Fix #165
    merlimat authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    f53340f View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    39d4f9d View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Upgrade grpcio to 1.60.0 to fix CVE-2023-1428 (#174)

    * Upgrade grpcio to 1.60.0 to fix CVE-2023-1428
    * Add a workflow to verify functions installation
    BewareMyPower authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    162afd5 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. Configuration menu
    Copy the full SHA
    e9e0ccf View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Bump version to 3.4.0

    RobertIndie committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    c015418 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Fix incorrect python spec name for release wheels workflow (#177)

    There is an error when building the wheel for python12:
    ```
    Dockerfile:35
    --------------------
      33 |     ENV PYTHON_LIBRARIES   /opt/python/${PYTHON_SPEC}/lib/python${PYTHON_VERSION}
      34 |
      35 | >>> RUN pip3 install pyyaml
      36 |
      37 |     ADD .build/dependencies.yaml /
    --------------------
    ```
    More context: https://github.com/apache/pulsar-client-python/actions/runs/7246274042/job/19737879474#step:6:237
    
    The python spec name is incorrect in the github release wheels workflow. These are all specs in the manylinux2014:
    ```
    [root@82c96c919b6f /]# cd /opt/python/
    [root@82c96c919b6f python]# ll
    total 0
    lrwxrwxrwx 1 root root 30 Dec 18 19:58 cp310-cp310 -> /opt/_internal/cpython-3.10.13
    lrwxrwxrwx 1 root root 29 Dec 18 19:57 cp311-cp311 -> /opt/_internal/cpython-3.11.7
    lrwxrwxrwx 1 root root 29 Dec 18 19:57 cp312-cp312 -> /opt/_internal/cpython-3.12.1
    lrwxrwxrwx 1 root root 29 Dec 18 19:57 cp36-cp36m -> /opt/_internal/cpython-3.6.15
    lrwxrwxrwx 1 root root 29 Dec 18 19:57 cp37-cp37m -> /opt/_internal/cpython-3.7.17
    lrwxrwxrwx 1 root root 29 Dec 18 19:57 cp38-cp38 -> /opt/_internal/cpython-3.8.18
    lrwxrwxrwx 1 root root 29 Dec 18 19:57 cp39-cp39 -> /opt/_internal/cpython-3.9.18
    lrwxrwxrwx 1 root root 33 Dec 18 19:58 pp310-pypy310_pp73 -> /opt/_internal/pp310-pypy310_pp73
    lrwxrwxrwx 1 root root 31 Dec 18 19:58 pp37-pypy37_pp73 -> /opt/_internal/pp37-pypy37_pp73
    lrwxrwxrwx 1 root root 31 Dec 18 19:58 pp38-pypy38_pp73 -> /opt/_internal/pp38-pypy38_pp73
    lrwxrwxrwx 1 root root 31 Dec 18 19:58 pp39-pypy39_pp73 -> /opt/_internal/pp39-pypy39_pp73
    ```
    
    This PR fixes the incorrect spec name for python12.
    
    (cherry picked from commit bf8524a)
    RobertIndie committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    12d258c View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2023

  1. Bump version to 3.4.0

    RobertIndie committed Dec 25, 2023
    Configuration menu
    Copy the full SHA
    0ca9f3c View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. Fix negative acknowledge on a message ID does not work (#180)

    Fixes #178
    
    ### Motivation
    
    #121 introduces a
    regression that when `negative_acknowledge` accepts a message ID, the
    underlying `acknowledgeAsync` method will be called.
    
    ### Modifications
    
    Fix the `Consumer_negative_acknowledge_message_id` method and add the
    test for negative acknowledging message IDs in `test_redelivery_count`.
    
    (cherry picked from commit b9c7219)
    BewareMyPower authored and RobertIndie committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    8995f4a View commit details
    Browse the repository at this point in the history
  2. Fix windows release CI doesn't show the python version (#182)

    (cherry picked from commit e667570)
    RobertIndie committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    a21fe46 View commit details
    Browse the repository at this point in the history
  3. Fix missing dependency of setuptools (#183)

    ## Motivation
    
    There are some errors blocking the CI:
    https://github.com/apache/pulsar-client-python/actions/runs/7321925272/job/19942911045?pr=181
    https://github.com/apache/pulsar-client-python/actions/runs/7320564743/job/19942264377
    
    The python 3.12 has removed the setuptools for the default dependency by this PR: python/cpython#95299
    
    > [gh-95299](python/cpython#95299): Do not pre-install setuptools in virtual environments created with [venv](https://docs.python.org/3/library/venv.html#module-venv). This means that distutils, setuptools, pkg_resources, and easy_install will no longer available by default; to access these run pip install setuptools in the [activated](https://docs.python.org/3/library/venv.html#venv-explanation) virtual environment.
    
    ## Verification
    
    Verification CI: https://github.com/apache/pulsar-client-python/actions/runs/7325997832
    
    The result of CI shows that this fix could build the release wheel file successfully.
    
    (cherry picked from commit eafc672)
    RobertIndie committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    cfe55b4 View commit details
    Browse the repository at this point in the history
  4. Fix the incompatibility with Python 3.12 and drop the support for 3.7 (

    …#181)
    
    ### Motivation
    
    The `avro` component cannot be installed with Python 3.12 because the
    depended `fastavro` dependency is 1.7.3, which is not compatible with
    Python 3.12. However, the newer fastavro dependencies all do not support
    Python 3.7, which has already reached the EOL (2023-06-27).
    
    ### Modifications
    
    - Upgrade the fastavro dependency to 1.9.2
    - Add the workflows to run tests for the lowest and highest supported
      Python versions (3.8 and 3.12).
    - Fix the documents
    
    (cherry picked from commit daabc67)
    BewareMyPower authored and RobertIndie committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    5e5ba62 View commit details
    Browse the repository at this point in the history
Loading