isolate 0.20.0__py3-none-any.whl → 0.21.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of isolate might be problematic. Click here for more details.

@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.20.0'
32
- __version_tuple__ = version_tuple = (0, 20, 0)
31
+ __version__ = version = '0.21.0'
32
+ __version_tuple__ = version_tuple = (0, 21, 0)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -41,23 +41,20 @@ class IsolateSettings:
41
41
 
42
42
  line = log.message.lower()
43
43
 
44
- if "[error]" in line:
44
+ if line.startswith("error") or "[error]" in line:
45
45
  return replace(log, level=LogLevel.ERROR)
46
- if "[warning]" in line:
46
+ if line.startswith("warning") or "[warning]" in line:
47
47
  return replace(log, level=LogLevel.WARNING)
48
- if "[warn]" in line:
48
+ if line.startswith("warn") or "[warn]" in line:
49
49
  return replace(log, level=LogLevel.WARNING)
50
- if "[info]" in line:
50
+ if line.startswith("info") or "[info]" in line:
51
51
  return replace(log, level=LogLevel.INFO)
52
- if "[debug]" in line:
52
+ if line.startswith("debug") or "[debug]" in line:
53
53
  return replace(log, level=LogLevel.DEBUG)
54
- if "[trace]" in line:
54
+ if line.startswith("trace") or "[trace]" in line:
55
55
  return replace(log, level=LogLevel.TRACE)
56
56
 
57
- if log.level == LogLevel.STDERR:
58
- return replace(log, level=LogLevel.ERROR)
59
-
60
- # Default to INFO level
57
+ # Default all to INFO level, even STDERR
61
58
  return replace(log, level=LogLevel.INFO)
62
59
 
63
60
  def _get_temp_base(self) -> Path:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: isolate
3
- Version: 0.20.0
3
+ Version: 0.21.0
4
4
  Summary: Managed isolated environments for Python
5
5
  Author-email: Features & Labels <hello@fal.ai>
6
6
  Project-URL: Issues, https://github.com/fal-ai/isolate/issues
@@ -1,5 +1,5 @@
1
1
  isolate/__init__.py,sha256=uXOKnONs7sXgARNgElwr4_A1sKoA6ACHVEvs3IDiX1M,127
2
- isolate/_isolate_version.py,sha256=D0Phtt01o1VQl6Hc5KWgvKucsJ2Ve2ykSmH5eQWQ0zU,706
2
+ isolate/_isolate_version.py,sha256=1jNZfFOI753oBgzdezhn3bNQqGrO2IvFnr4lHXE6EpI,706
3
3
  isolate/_version.py,sha256=05pXvy-yr5t3I1m9JMn42Ilzpg7fa8IB2J8a3G7t1cU,274
4
4
  isolate/logger.py,sha256=IXPebob_fV8bl8HAyKcheXcTJocfdWk-v-ujSl13oVA,1718
5
5
  isolate/logs.py,sha256=R_AHUVYD18z_PhtK_mDWi9Gch79CxmwHY09hUDShtwg,2079
@@ -13,7 +13,7 @@ isolate/backends/container.py,sha256=yGrPM1rp66o_zLw-YLSbEcUVeoIsFalhywot0Sc4B-A
13
13
  isolate/backends/local.py,sha256=woxe4dmXuEHxWKsGNndoRA1_sP6yG-dg6tlFZni0mZc,1360
14
14
  isolate/backends/pyenv.py,sha256=ZwTYoVPIWhS3Y4hN51x95aIOHi15GF7kEDdKTNhlMTE,5434
15
15
  isolate/backends/remote.py,sha256=z6QyBiCt8ltv4Zm8IYX3zyMkBH1k8lTowhnD92-Ed2M,4293
16
- isolate/backends/settings.py,sha256=LvYn4ox9pyFs7bO7WMpDdQHjGOrMn6bdDrHnpfOJyAQ,4443
16
+ isolate/backends/settings.py,sha256=w3sWyYkXhxPY-mJJ9mrjYBTjYULk022H3MWFc2xjyoM,4532
17
17
  isolate/backends/virtualenv.py,sha256=CdzDO4stxNCMbBsNnR1agwyu2FDBDx9UwJWI7bv010k,6992
18
18
  isolate/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  isolate/common/timestamp.py,sha256=seh7FrMRH4i1SCQavA8d-7z8qi0pP8lYYhd29gTPMwE,367
@@ -53,9 +53,9 @@ isolate/server/health/health.proto,sha256=wE2_QD0OQAblKkEBG7sALLXEOj1mOLKG-FbC4t
53
53
  isolate/server/health/health_pb2.py,sha256=-fd91wiaZOSJj_zeo55IqxMBsQGuGF-yjZS-Wc1RaS0,1897
54
54
  isolate/server/health/health_pb2.pyi,sha256=AK-DPCpJzoYhU6DydD856c0Ywx84x6k-Cs4m6HpNv5A,2459
55
55
  isolate/server/health/health_pb2_grpc.py,sha256=BrwuS8t4w6K-XVxIdrUQj5Rn0FAMXrYB2iFgUfeXGMM,3913
56
- isolate-0.20.0.dist-info/licenses/LICENSE,sha256=427vuyirL5scgBLqA9UWcdnxKrtSGc0u_JfUupk6lAA,11359
57
- isolate-0.20.0.dist-info/METADATA,sha256=Gf7IdWon5I6Ied9yB53aBrpafXO5LFVuvhWEjsiYEVQ,3201
58
- isolate-0.20.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
59
- isolate-0.20.0.dist-info/entry_points.txt,sha256=s3prh2EERaVCbL8R45tfY5WFPZ1TsYOsz305YR7s-Pc,360
60
- isolate-0.20.0.dist-info/top_level.txt,sha256=W9QJBHcq5WXRkbOXf25bvftzFsOZZN4n1DAatdroZrs,8
61
- isolate-0.20.0.dist-info/RECORD,,
56
+ isolate-0.21.0.dist-info/licenses/LICENSE,sha256=427vuyirL5scgBLqA9UWcdnxKrtSGc0u_JfUupk6lAA,11359
57
+ isolate-0.21.0.dist-info/METADATA,sha256=0UW4MvIzZjpfpmfhjDx2o3r-ldR1STNG9Ic_8peB_sY,3201
58
+ isolate-0.21.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
59
+ isolate-0.21.0.dist-info/entry_points.txt,sha256=s3prh2EERaVCbL8R45tfY5WFPZ1TsYOsz305YR7s-Pc,360
60
+ isolate-0.21.0.dist-info/top_level.txt,sha256=W9QJBHcq5WXRkbOXf25bvftzFsOZZN4n1DAatdroZrs,8
61
+ isolate-0.21.0.dist-info/RECORD,,