Manually upgrading eden, and fixing their config

Summary: I think that the broken config (wrong relative base for search_path), was what prevented the upgrade from going automatically.

Reviewed By: grievejia

Differential Revision: D22966243

fbshipit-source-id: 4ef42a8e2e6f2c79483301c6876509a3009a83d1
This commit is contained in:
Mark Mendoza 2020-08-06 12:34:39 -07:00 committed by Facebook GitHub Bot
parent ae62478818
commit 246415f23b
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@
# isort:skip_file
# pyre-fixme[21]: Could not find `edenscmnative`.
from edenscmnative.traceprof import * # noqa: F403, F401
# pyre-fixme[21]: Could not find module `edenscmnative.traceprof`.
from edenscmnative.traceprof import __doc__ # noqa: F401

View File

@ -128,6 +128,7 @@ class TempFileManager:
top_level = self.top_level_tmp_dir()
fd, path_str = tempfile.mkstemp(prefix=prefix, dir=str(top_level))
file_obj = os.fdopen(fd, mode, encoding="utf-8")
# pyre-fixme[6]: Expected `TextIO` for 1st param but got `IO[typing.Any]`.
return TemporaryTextFile(file_obj, Path(path_str))
def make_temp_binary(
@ -136,6 +137,7 @@ class TempFileManager:
top_level = self.top_level_tmp_dir()
fd, path_str = tempfile.mkstemp(prefix=prefix, dir=str(top_level))
file_obj = os.fdopen(fd, mode)
# pyre-fixme[6]: Expected `BinaryIO` for 1st param but got `IO[typing.Any]`.
return TemporaryBinaryFile(file_obj, Path(path_str))
def top_level_tmp_dir(self) -> Path: