Update psycopg2 dependency to psycopg2-binary in requirements.txt; refine timestamp handling in main function of update_mongo.py; add new cache.tgz file.

This commit is contained in:
2026-01-22 14:25:53 -05:00
parent f5627e58a8
commit f6254ee42e
3 changed files with 4 additions and 5 deletions
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -1,11 +1,11 @@
logrotater==1.3 logrotater==1.3
numpy==2.2.3 numpy==2.2.3
progressbar33==2.4 progressbar33==2.4
psycopg2==2.9.10 psycopg2-binary==2.9.10
pymongo==4.11.2 pymongo==4.11.2
pymssql==2.3.2 pymssql==2.3.2
Requests==2.32.3 Requests==2.32.3
SQLAlchemy==2.0.39 SQLAlchemy==2.0.39
pymysql pymysql
tqdm tqdm
pandas pandas
+2 -3
View File
@@ -303,12 +303,11 @@ def main() -> int:
for directory in directory_list: for directory in directory_list:
if directory not in found_path: if directory not in found_path:
files_needed.append([f"{directory}", f"{seriesid}.json"]) files_needed.append([f"{directory}", f"{seriesid}.json"])
else: elif int(ts) > int(prev_ts):
for directory in directory_list: for directory in directory_list:
files_needed.append([f"{directory}", f"{seriesid}.json"]) files_needed.append([f"{directory}", f"{seriesid}.json"])
except Exception: except Exception:
for directory in directory_list: lprint.logprint("debug", f"Unable to process Series {seriesid} timestamps: downloaded {ts} vs previous {prev_ts}")
files_needed.append([f"{directory}", f"{seriesid}.json"])
else: else:
# Add needed json files to needed file list. # Add needed json files to needed file list.
for directory in directory_list: for directory in directory_list: