8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6430fab commit e934f6aCopy full SHA for e934f6a
graalpy_virtualenv_seeder/graalpy_virtualenv_seeder/graalpy.py
@@ -100,6 +100,15 @@ def sources(cls, interpreter):
100
def _shared_libs(cls, python_dir):
101
raise NotImplementedError
102
103
+ def set_pyenv_cfg(self):
104
+ super().set_pyenv_cfg()
105
+ # GraalPy 24.0 and older had home without the bin
106
+ version = self.interpreter.version_info
107
+ if version.major == 3 and version.minor <= 10: # noqa: PLR2004
108
+ home = Path(self.pyenv_cfg["home"])
109
+ if home.name == "bin":
110
+ self.pyenv_cfg["home"] = str(home.parent)
111
+
112
113
class GraalPyPosix(GraalPy, PosixSupports):
114
@classmethod
0 commit comments