Skip to content

pip3 pkg provider on Python 3.11.2 fails without break-system-packages #9408

@damonbreeden

Description

@damonbreeden

Describe the Bug

on Python 3.11.2 (bookworm default) pip3 pkgs can't be installed without a specific flag --break-system-packages

Expected Behavior

pkgs to be installed without adding flags everywhere

Steps to Reproduce

Steps to reproduce the behavior:
install python 3.11 on bookworm
install a pkg with pip3 provider

Environment

  • Version [puppet 7.29.1]
  • Platform [Python 3.11.2, debian 12 bookworm]

Additional Context

Add any other context about the problem here.
i have to add this all over my codebase:

    provider        => 'pip3',
    install_options => '--break-system-packages',

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions