Skip to content

GitHub Workflow does not work #31

Closed
@oEscal

Description

@oEscal

Checking the last two pull requests (#30 and #28), we can verify that the GitHub action related to the CI pipeline is not working as intended. After analyzing the logs (https://github.com/serverlessworkflow/sdk-python/actions/runs/15737597450/job/44355216261?pr=28), it seems that the action is using both Python 3.9 and 3.12 versions simultaneously. It seems that Python 3.9 is being used inside the virtual environment and 3.12 outside.

Moreover, there is also an issue with setuptools, not only in this action, but also when a user tries to install this SDK locally. The error is:

[...]
File "[...].local/share/virtualenvs/sdk-python--VDpkmjP/lib/python3.9/site-packages/setuptools/_core_metadata.py", line 293, in _distribution_fullname
    canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'

Apparently, this happens for setuptools>=71 (pypa/setuptools#4483)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions