@gnost-cli/darwin-arm64 0.5.1-rc.2 → 0.5.2-rc.1
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.
- package/bundle/_internal/base_library.zip +0 -0
- package/bundle/_internal/gnost/__init__.py +1 -1
- package/bundle/_internal/gnost/utils/progress.py +16 -0
- package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/METADATA +1 -1
- package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/RECORD +11 -11
- package/bundle/gnost +0 -0
- package/package.json +1 -1
- /package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/INSTALLER +0 -0
- /package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/REQUESTED +0 -0
- /package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/WHEEL +0 -0
- /package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/direct_url.json +0 -0
- /package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/entry_points.txt +0 -0
- /package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/licenses/LICENSE +0 -0
- /package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.5.
|
|
1
|
+
__version__ = "0.5.2rc1"
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import threading
|
|
1
2
|
from contextlib import contextmanager
|
|
2
3
|
|
|
3
4
|
|
|
@@ -6,6 +7,20 @@ try:
|
|
|
6
7
|
except Exception:
|
|
7
8
|
tqdm = None
|
|
8
9
|
|
|
10
|
+
_lock_ready = False
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _use_thread_lock() -> None:
|
|
14
|
+
"""Keep tqdm from creating a multiprocessing lock.
|
|
15
|
+
|
|
16
|
+
That lock starts Python's resource tracker, which relaunches sys.executable.
|
|
17
|
+
In the standalone binary that is gnost itself, and it fails on the arguments.
|
|
18
|
+
"""
|
|
19
|
+
global _lock_ready
|
|
20
|
+
if not _lock_ready:
|
|
21
|
+
tqdm.set_lock(threading.RLock())
|
|
22
|
+
_lock_ready = True
|
|
23
|
+
|
|
9
24
|
|
|
10
25
|
@contextmanager
|
|
11
26
|
def progress_bar(enabled=False, total=None, desc=None):
|
|
@@ -13,6 +28,7 @@ def progress_bar(enabled=False, total=None, desc=None):
|
|
|
13
28
|
yield None
|
|
14
29
|
return
|
|
15
30
|
|
|
31
|
+
_use_thread_lock()
|
|
16
32
|
bar = tqdm(total=total, desc=desc)
|
|
17
33
|
try:
|
|
18
34
|
yield bar
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
../../../bin/gnost,sha256=p7RTDNcaheWadRtZ7EtW_BElkh_SkS2KgiiBeIZQs-M,201
|
|
2
|
-
gnost-0.5.
|
|
3
|
-
gnost-0.5.
|
|
4
|
-
gnost-0.5.
|
|
5
|
-
gnost-0.5.
|
|
6
|
-
gnost-0.5.
|
|
7
|
-
gnost-0.5.
|
|
8
|
-
gnost-0.5.
|
|
9
|
-
gnost-0.5.
|
|
10
|
-
gnost-0.5.
|
|
11
|
-
gnost/__init__.py,sha256=
|
|
2
|
+
gnost-0.5.2rc1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
|
3
|
+
gnost-0.5.2rc1.dist-info/METADATA,sha256=yae5HhysGOx3B6-fDCrkERgDvc7FhDFKEXf5pUesvbI,5556
|
|
4
|
+
gnost-0.5.2rc1.dist-info/RECORD,,
|
|
5
|
+
gnost-0.5.2rc1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
gnost-0.5.2rc1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
7
|
+
gnost-0.5.2rc1.dist-info/direct_url.json,sha256=sdS4lLlEK3BXuZZ5mGuHUsgOlY50fNVlHD9NmMVASSc,64
|
|
8
|
+
gnost-0.5.2rc1.dist-info/entry_points.txt,sha256=6hH5dxCq1FF8sPT7gTwZ3xLBZr8UxCLTa7I6DpLvLSA,41
|
|
9
|
+
gnost-0.5.2rc1.dist-info/licenses/LICENSE,sha256=jSxVi5s4A9DSR8ur6XCzThpnbpaDxDP0_UN6hbJ156c,1066
|
|
10
|
+
gnost-0.5.2rc1.dist-info/top_level.txt,sha256=UExzNRqfi7WIWspHyv4lAZqhY9y4n46VRkVcZE5ael4,6
|
|
11
|
+
gnost/__init__.py,sha256=Yk9OPhzYNwVtFzj5deHSdkGtcxF0FXLnKJ9OFFikW9M,25
|
|
12
12
|
gnost/__pycache__/__init__.cpython-312.pyc,,
|
|
13
13
|
gnost/analysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
gnost/analysis/__pycache__/__init__.cpython-312.pyc,,
|
|
@@ -175,4 +175,4 @@ gnost/utils/__pycache__/progress.cpython-312.pyc,,
|
|
|
175
175
|
gnost/utils/logger.py,sha256=zFT6xVRIiIKEnRn9ISqzVDHrXBXWlUQQX1YqU48kYgY,3107
|
|
176
176
|
gnost/utils/paths.py,sha256=3l8xisRpfM-dOWmh6L5yswFQmYFafO9MNQDnBwJwlb4,897
|
|
177
177
|
gnost/utils/printer.py,sha256=8VNObTx1brRlCYOzwozxuviqvfPIIKmBfu6S0YK6LBs,1169
|
|
178
|
-
gnost/utils/progress.py,sha256=
|
|
178
|
+
gnost/utils/progress.py,sha256=XdipbdPmC4U490Bd1DM5r52VGNGGCrue5fSKMoAqwCc,786
|
package/bundle/gnost
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/direct_url.json
RENAMED
|
File without changes
|
/package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
/package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
/package/bundle/_internal/{gnost-0.5.1rc2.dist-info → gnost-0.5.2rc1.dist-info}/top_level.txt
RENAMED
|
File without changes
|