Closed nils-werner closed 4 years ago
Looks like the build failures are not your fault at all. I'm going to merge this and make an issue.
Looks like the build failures are not your fault at all. I'm going to merge this and make an issue.
Yeah, we need to do some build maintenance on these packages. Thanks for opening the issues!
Background for this PR can be found in #32.
This PR replaces
fs.realpathSync()
withpath.resolve()
. Both functions can be used to resolve relative paths to absolute paths, butfs.realpathSync()
additionally resolves symlinks, too.If the virtualenv was created using symlinks to the OS Python interpreter (the new default in virtualenv >= 20.0.0), this will make this library escape the virtualenv and return incorrect paths for
dataDirs()
andconfigDirs()
.To test this PR, do: