Skip to content

AGENTS.md symlink is problematic when installing via pip #2699

@mbaldessari

Description

@mbaldessari

Describe the bug
It is impossible to install openshift-python-wrapper via pip currently.

To Reproduce
Steps to reproduce the behavior:

  1. python3 -m virtualenv ~/.virtualenvs/openshift-python-wrapper
  2. source ~/.virtualenvs/openshift-python-wrapper/bin/activate
  3. pip install openshift-python-wrapper

This gives:

pip install openshift-python-wrapper
Collecting openshift-python-wrapper
  Downloading openshift_python_wrapper-11.0.123.tar.gz (5.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 8.4 MB/s  0:00:00
ERROR: Invalid member in the tar file /tmp/pip-unpack-wefvmfod/openshift_python_wrapper-11.0.123.tar.gz: 'AGENTS.md' is a link to an absolute path

This was on F44 pip --version pip 26.0.1 from /home/michele/.virtualenvs/openshift-python-wrapper/lib/python3.14/site-packages/pip (python 3.14), but I have seen it on another CI env

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions