eclipse-cyclonedds / eclipse-cyclonedds/cyclonedds-python

pip installation fails in Python 3.11

Open
#221 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
110
Forks
68
Avg merge
1h 8m
Merged PRs (30d)
1

Description

I'm attempting to install cyclonedds-python with the included binaries per the README.

Reproducer Dockerfile:

FROM python:3.11-bullseye
RUN python3 -m pip install cyclonedds

Result:

Collecting cyclonedds
Downloading cyclonedds-0.10.2.tar.gz (156 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.8/156.8 kB 274.8 kB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
    Could not locate cyclonedds. Try to set CYCLONEDDS_HOME or CMAKE_PREFIX_PATH
    [end of output]

Installation seems to work fine if I use the python:3.10-bullseye image instead.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README installation instructions and reproduce the failure using the provided Python 3.11 Dockerfile, then compare it with Python 3.10. Done means pip can install cyclonedds successfully on the Python 3.11 bullseye image without requiring an unexplained manual CYCLONEDDS_HOME or CMAKE_PREFIX_PATH setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.