@gnost-cli/windows-x64 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.
@@ -1,6 +1,6 @@
1
- ../../Scripts/bandit-baseline.exe,sha256=Z5fOS6-pF6kM568UDzmMrz6DeHc0pKeEgq-dxiyv80U,108358
2
- ../../Scripts/bandit-config-generator.exe,sha256=hShqR6UHLWhXrZlRXBK8SNpT4KLHZLi2G-S2mfxf_Ow,108366
3
- ../../Scripts/bandit.exe,sha256=B5T5vuPDRr75efg-dyXo_s8B5RE7usVJUAnVLw1CRsI,108354
1
+ ../../Scripts/bandit-baseline.exe,sha256=BFpYYK-kyd_ONX9W791-DGBnHR3_66kJqNXYpeG2pdU,108358
2
+ ../../Scripts/bandit-config-generator.exe,sha256=-V-kMDjVKl4L6oa1bmgEtH39Rifgv6Qdmmm0A48ZL48,108366
3
+ ../../Scripts/bandit.exe,sha256=6Hq1NVlFy_7ABfLJzfegHyTVQVSKwWbDU7wwKo2aYdE,108354
4
4
  ../../share/man/man1/bandit.1,sha256=k1copRknkrnXzOyOAvdvC6iwl-QAYUG1HOWRsAtkdWI,6545
5
5
  bandit-1.9.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
6
6
  bandit-1.9.4.dist-info/METADATA,sha256=pc_7769UxRQY4Zz1dl3tSa8gsnoluOtEDyHZ21DJzpo,7101
Binary file
@@ -1 +1 @@
1
- __version__ = "0.5.1rc2"
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gnost
3
- Version: 0.5.1rc2
3
+ Version: 0.5.2rc1
4
4
  Summary: GNOST — Codebase Knowledge
5
5
  Author-email: Mohd Zain <zainmohd1998@gmail.com>
6
6
  License: MIT License
@@ -1,14 +1,14 @@
1
- ../../Scripts/gnost.exe,sha256=uHIxr3PIanqyr85tJKaqeegg8lhc6dJVIb-zYYdJkHo,108348
2
- gnost-0.5.1rc2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
- gnost-0.5.1rc2.dist-info/METADATA,sha256=ZmY_fVOBOKIS853mV5UYTv1wkWFExcAqmBdN_fw3UZ0,5686
4
- gnost-0.5.1rc2.dist-info/RECORD,,
5
- gnost-0.5.1rc2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- gnost-0.5.1rc2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
7
- gnost-0.5.1rc2.dist-info/direct_url.json,sha256=2zy-IZI8qKbzgSrSTTyh5GNQW7I8_xtJVwcTbvPzzkY,51
8
- gnost-0.5.1rc2.dist-info/entry_points.txt,sha256=6hH5dxCq1FF8sPT7gTwZ3xLBZr8UxCLTa7I6DpLvLSA,41
9
- gnost-0.5.1rc2.dist-info/licenses/LICENSE,sha256=Wzl3x-OMbit9QBzRb3j8D4tP1ff25FCrjyjSF1VeJV8,1087
10
- gnost-0.5.1rc2.dist-info/top_level.txt,sha256=UExzNRqfi7WIWspHyv4lAZqhY9y4n46VRkVcZE5ael4,6
11
- gnost/__init__.py,sha256=NTLbGH3u3wYqrxX0mkdcN04D4W_Sdiv5VOFR_6_dZzQ,26
1
+ ../../Scripts/gnost.exe,sha256=NwjITRNsIKVeru3eQ9Ye8undoeB-wBmPz3oVXhvOlg4,108348
2
+ gnost-0.5.2rc1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
+ gnost-0.5.2rc1.dist-info/METADATA,sha256=rCdR4IqCPWlJp9ONVy5B6WJCTv7tImMU98OvCp_KYu0,5686
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=2zy-IZI8qKbzgSrSTTyh5GNQW7I8_xtJVwcTbvPzzkY,51
8
+ gnost-0.5.2rc1.dist-info/entry_points.txt,sha256=6hH5dxCq1FF8sPT7gTwZ3xLBZr8UxCLTa7I6DpLvLSA,41
9
+ gnost-0.5.2rc1.dist-info/licenses/LICENSE,sha256=Wzl3x-OMbit9QBzRb3j8D4tP1ff25FCrjyjSF1VeJV8,1087
10
+ gnost-0.5.2rc1.dist-info/top_level.txt,sha256=UExzNRqfi7WIWspHyv4lAZqhY9y4n46VRkVcZE5ael4,6
11
+ gnost/__init__.py,sha256=E4lASk6P9WtfmAf-nhOPKhjCU_txhHD7yWtJnhl99IU,26
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=bLlDtCZO6l8bETY5O5BhwbdHDcc1MkBpGvi-VXezeLw,3192
176
176
  gnost/utils/paths.py,sha256=_WAoakdkd3aVxriRHILuQE5d7su34YPv4bNU7AoSwKs,926
177
177
  gnost/utils/printer.py,sha256=nEsQfUUA-A3AMY9Zb4LQSw1Ct2AYL1fWBTxqfhDdUD0,1215
178
- gnost/utils/progress.py,sha256=bh0xsFT9pR4zQDHL8axv-ln6D3f-N7W6sTIng4b7yp8,369
178
+ gnost/utils/progress.py,sha256=cBJSHXGP9bKm3pJIoD5iBN8PnPC1OguvU_m0YzIhe9U,822
@@ -1,8 +1,8 @@
1
- ../../Scripts/dmypy.exe,sha256=T0tPvag5wnIk9a8wrtSOAoN830jskDIO0ySADPgOSdE,108374
2
- ../../Scripts/mypy.exe,sha256=G8qnynLufvWL8MR0ItxR2CDn023vIZ8dk_a5-S8JUnE,108370
3
- ../../Scripts/mypyc.exe,sha256=FFGa8jVCz1FXffUhBdGJH6i9n33lq35avMEBrISqB8U,108353
4
- ../../Scripts/stubgen.exe,sha256=8ci3qgM34hjjThS3_o3W_6h_offOKIZH9SDge9NJxuQ,108351
5
- ../../Scripts/stubtest.exe,sha256=m8maKrn6hUjnyhCztwVURUJe1XDCA8GTRINOPwJcVkQ,108352
1
+ ../../Scripts/dmypy.exe,sha256=pGpSzXrq2BJc8GZZxscyBL4-Drst57-mPWlBCuJGG-0,108374
2
+ ../../Scripts/mypy.exe,sha256=qrJ9hY3Zpkr3Oz2oZg2dy_SvE3xLj_OIcVsRTI3iPHo,108370
3
+ ../../Scripts/mypyc.exe,sha256=YPOF-jX2gxt54X_kLTmCXgnpJ6yjL8EWcueVAfnfOG4,108353
4
+ ../../Scripts/stubgen.exe,sha256=JhtYb525DL-w0zyAx2qL5k9xSemln1R5HRBQCJsAA7k,108351
5
+ ../../Scripts/stubtest.exe,sha256=aaK0e7EQ4jAk5tqkNEM-nO_tFib_VDxmuTiJJLztvgs,108352
6
6
  6ec57f84c680d3a3778b__mypyc.cp312-win_amd64.pyd,sha256=khD0xk3p8OJ4SUmuzsWQfGp9B5-I3hBceNWCwIEw6Rg,20236288
7
7
  mypy-2.4.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
8
8
  mypy-2.4.1.dist-info/METADATA,sha256=psdp4YtsyHveD8v-z2uq5QA4o7CW95eLvOKdg9opvLU,2430
@@ -1,4 +1,4 @@
1
- ../../Scripts/radon.exe,sha256=3GMnXxqEVBstLYsa_KB7SRWF-_XsVIpqlWeZSAVRnY8,108344
1
+ ../../Scripts/radon.exe,sha256=vw5V5mkS0NeRYfTvZiw0S-Muv1o3gefYVpD5GWzGJ9U,108344
2
2
  radon-6.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
3
  radon-6.0.1.dist-info/LICENSE,sha256=AnDgq1j4-FOF9tv_7QLGRl-KMZWv7WBRSQGUQiM3Nu0,1064
4
4
  radon-6.0.1.dist-info/METADATA,sha256=7WR7fzZ8YKLX_Qio_zyqlaCmuJO6zBZNV0YzY2R56JA,8221
@@ -1,4 +1,4 @@
1
- ../../Scripts/tqdm.exe,sha256=v60IFJm5CQnvsx1BjGidLHaESlw3-OJWZqzJGRUi-hE,108347
1
+ ../../Scripts/tqdm.exe,sha256=xASlTU72FbzeI3hJUY8uld66mszl-neGkv7NdQqmWL4,108347
2
2
  tqdm-4.70.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
3
  tqdm-4.70.1.dist-info/METADATA,sha256=pdpwuWav6jp1lxYEG61xh_Ls4CwiNIz558ClErvxX1c,57366
4
4
  tqdm-4.70.1.dist-info/RECORD,,
package/bundle/gnost.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gnost-cli/windows-x64",
3
- "version": "0.5.1-rc.2",
3
+ "version": "0.5.2-rc.1",
4
4
  "description": "Internal binary for gnost-cli. Do not install directly.",
5
5
  "license": "MIT",
6
6
  "os": [