Skip to content

Conversation

@native-api
Copy link
Member

Make sure you have checked all steps below.

Prerequisite

  • Please consider implementing the feature as a hook script or plugin as a first step.
    • pyenv has some powerful support for plugins and hook scripts. Please refer to Authoring plugins for details and try to implement it as a plugin if possible.
  • Please consider contributing the patch upstream to rbenv, since we have borrowed most of the code from that project.
    • We occasionally import the changes from rbenv. In general, you can expect changes made in rbenv will be imported to pyenv too, eventually.
    • Generally speaking, we prefer not to make changes in the core in order to keep compatibility with rbenv.
  • My PR addresses the following pyenv issue (if any)

Description

  • Here are some details about my PR

It turn out, libraries from Homebrew in Linux ("Linuxbrew" henceforth for short)
can't be used out of the box and require additional compiler flags.

Since Linuxbrew is not the primary source of dependency packages in Linux and
the problem seems to happen whether Pyenv itself is Linuxbrew-provided or not,
we'll disable using Homebrew outside of MacOS for now to fix the breakage.

Tests

  • My PR adds the following unit tests (if any)

@native-api native-api changed the title No linuxbrew Don't use Homebrew outside of MacOS May 3, 2022
native-api added 2 commits May 4, 2022 02:58
In Linux, it's not the primary source of packages and
cannot be used without build flag adjustments
thus has caused build failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

readline extension was not compiled, installed pyenv by Linuxbrew on Ubuntu 16

1 participant