dao-scripts 1.3.0.post1__py3-none-any.whl → 1.3.1__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.
- dao_analyzer/cache_scripts/_version.py +2 -2
- dao_analyzer/cache_scripts/main.py +4 -5
- {dao_scripts-1.3.0.post1.dist-info → dao_scripts-1.3.1.dist-info}/METADATA +1 -1
- {dao_scripts-1.3.0.post1.dist-info → dao_scripts-1.3.1.dist-info}/RECORD +10 -10
- /dao_scripts-1.3.0.post1-py3.12-nspkg.pth → /dao_scripts-1.3.1-py3.12-nspkg.pth +0 -0
- {dao_scripts-1.3.0.post1.dist-info → dao_scripts-1.3.1.dist-info}/LICENSE +0 -0
- {dao_scripts-1.3.0.post1.dist-info → dao_scripts-1.3.1.dist-info}/WHEEL +0 -0
- {dao_scripts-1.3.0.post1.dist-info → dao_scripts-1.3.1.dist-info}/entry_points.txt +0 -0
- {dao_scripts-1.3.0.post1.dist-info → dao_scripts-1.3.1.dist-info}/namespace_packages.txt +0 -0
- {dao_scripts-1.3.0.post1.dist-info → dao_scripts-1.3.1.dist-info}/top_level.txt +0 -0
@@ -44,7 +44,7 @@ def _is_good_version(datawarehouse: Path) -> bool:
|
|
44
44
|
return vf.readline().strip() == __version__
|
45
45
|
|
46
46
|
def run_all(
|
47
|
-
datawarehouse: Path,
|
47
|
+
datawarehouse: Path,
|
48
48
|
platforms: list[str], networks: list[str], collectors: list[str],
|
49
49
|
block_datetime: datetime, force: bool
|
50
50
|
):
|
@@ -101,12 +101,12 @@ def lock_and_run(args: Namespace):
|
|
101
101
|
with pl.Lock(p_lock, 'r', timeout=1, flags=pl.LOCK_SH | pl.LOCK_NB):
|
102
102
|
shutil.copytree(datawarehouse, tmp_dw, dirs_exist_ok=True, ignore=ignore)
|
103
103
|
|
104
|
-
if args.delete_force or not _is_good_version(
|
104
|
+
if args.delete_force or not _is_good_version(tmp_dw):
|
105
105
|
if not args.delete_force:
|
106
106
|
print(f"datawarehouse version is not version {__version__}, upgrading")
|
107
107
|
|
108
|
-
# We skip the dotfiles like .lock
|
109
|
-
for p in
|
108
|
+
# We skip the dotfiles like .lock or .cache
|
109
|
+
for p in tmp_dw.glob('[!.]*'):
|
110
110
|
if p.is_dir():
|
111
111
|
shutil.rmtree(p)
|
112
112
|
else:
|
@@ -119,7 +119,6 @@ def lock_and_run(args: Namespace):
|
|
119
119
|
# Execute the scripts in the aux datawarehouse
|
120
120
|
run_all(
|
121
121
|
datawarehouse=tmp_dw,
|
122
|
-
delete_force=args.delete_force,
|
123
122
|
platforms=args.platforms,
|
124
123
|
networks=args.networks,
|
125
124
|
collectors=args.collectors,
|
@@ -1,12 +1,12 @@
|
|
1
|
-
dao_scripts-1.3.
|
1
|
+
dao_scripts-1.3.1-py3.12-nspkg.pth,sha256=_0DzrHlnOxaQL5l1mMdHT1BtXZwXuB6MitMF5phpOhk,497
|
2
2
|
dao_analyzer/cache_scripts/__init__.py,sha256=Urg-J2hvyzGcgE2Z-ba71XpcHi1YlPZgex86OFSd_0A,116
|
3
3
|
dao_analyzer/cache_scripts/__main__.py,sha256=aNVhgUXjB4rzTefrX3d6dKeLOX3G_Ezs82pI8QCpwx0,61
|
4
|
-
dao_analyzer/cache_scripts/_version.py,sha256=
|
4
|
+
dao_analyzer/cache_scripts/_version.py,sha256=cOVPCvD2h2G_2KB6G3ddreYkIQfAnS6WqgAkF_qgGOQ,411
|
5
5
|
dao_analyzer/cache_scripts/argparser.py,sha256=uOBVdRxmgR8H0dZMu2AQyvro6WvkZFKUrf7vJ6Mvw48,3574
|
6
6
|
dao_analyzer/cache_scripts/config.py,sha256=6Ooh-SpTtNCHcl2sE637-XMCCCNZBmATJRyD_eguWr0,2180
|
7
7
|
dao_analyzer/cache_scripts/endpoints.json,sha256=UR8NiR6S0MgYHn3m-SVDY2YIWyPdSkMEK6_4TLk2T2U,1276
|
8
8
|
dao_analyzer/cache_scripts/logging.py,sha256=9sAqZUk_Qnmlf9Ko60C4O__Ve7Tj4xefzQ7cV07aQ70,3196
|
9
|
-
dao_analyzer/cache_scripts/main.py,sha256=
|
9
|
+
dao_analyzer/cache_scripts/main.py,sha256=MMme4WFoCGFDJZfOJA0D3NEkReYq-ngebyVm7ZvM0Eo,5588
|
10
10
|
dao_analyzer/cache_scripts/metadata.py,sha256=oZ5xLkWClt1YxBAvbsDhciZkyHJ1Vcuic7guFy2ks6w,4211
|
11
11
|
dao_analyzer/cache_scripts/aragon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
dao_analyzer/cache_scripts/aragon/dao_names.json,sha256=ASDOJYTsgHELJ7g1z9NccVROYYxsHQaLy9V-vrfr_Ec,7412
|
@@ -23,10 +23,10 @@ dao_analyzer/cache_scripts/daostack/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
|
|
23
23
|
dao_analyzer/cache_scripts/daostack/runner.py,sha256=emjzhZzGMTRGHKljll_lX-uMsGwaIsZBSi4jV1Lsh8Y,10144
|
24
24
|
dao_analyzer/cache_scripts/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
25
|
dao_analyzer/cache_scripts/utils/uploadDataWarehouse.py,sha256=xEzUr-XYcf6DICZkarHEwGSDGLHSz2eXZmRER8Fj1OU,4027
|
26
|
-
dao_scripts-1.3.
|
27
|
-
dao_scripts-1.3.
|
28
|
-
dao_scripts-1.3.
|
29
|
-
dao_scripts-1.3.
|
30
|
-
dao_scripts-1.3.
|
31
|
-
dao_scripts-1.3.
|
32
|
-
dao_scripts-1.3.
|
26
|
+
dao_scripts-1.3.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
27
|
+
dao_scripts-1.3.1.dist-info/METADATA,sha256=sttYSJC7u-agdr5pbir2a-Rj_4hnkhc02zxm8qpMADk,8193
|
28
|
+
dao_scripts-1.3.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
29
|
+
dao_scripts-1.3.1.dist-info/entry_points.txt,sha256=dHhgA8pcQ2YbIlMuqPPSh7fiQkfHE8ioFPUcbBvXWDc,207
|
30
|
+
dao_scripts-1.3.1.dist-info/namespace_packages.txt,sha256=gbsNupMgtHQXOyBinbeLMo06f278s8My_9N-CrZh3Bk,13
|
31
|
+
dao_scripts-1.3.1.dist-info/top_level.txt,sha256=gbsNupMgtHQXOyBinbeLMo06f278s8My_9N-CrZh3Bk,13
|
32
|
+
dao_scripts-1.3.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|