Skip to content

BUG : rudder-sdk-python install fails when using uv add #68

@andersjohnsen

Description

@andersjohnsen

Describe the bug
I'm unable to install rudder-sdk-python in a uv environment (https://docs.astral.sh/uv/). It "completes", but i end up with a shallow installation where none of the sources files are included. My colleagues can reproduce the issue in their environments.

As all other dependencies we've installed works fine, my gut reaction is that the setyp.py of rudder-sdk-python is missing some steps.

To Reproduce
Steps to reproduce the behaviour:

Initialize a UV project.

run uv add rudder-sdk-python.

Observe the following - the directory of rudder-sdk-python is empty:

❯ ls .venv/lib/python3.12/site-packages/rudder_sdk_python-*/
INSTALLER  LICENSE.md  METADATA  RECORD  REQUESTED  top_level.txt  WHEEL

Note that it works with pip install.

Expected behavior
That the installation would complete just like it does with pip.

Screenshots
N/A

Version of the Python SDK
python 3.12.3

Version of the Python
python 3.12.3

SDK initialisation snippet
Stock ubuntu python3.

Check for Correct Usage of writeKey and dataPlaneUrl
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions