dayhoff-tools 1.0.19__py3-none-any.whl → 1.0.20__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.
- dayhoff_tools/cli/utility_commands.py +11 -5
- {dayhoff_tools-1.0.19.dist-info → dayhoff_tools-1.0.20.dist-info}/METADATA +1 -1
- {dayhoff_tools-1.0.19.dist-info → dayhoff_tools-1.0.20.dist-info}/RECORD +5 -5
- {dayhoff_tools-1.0.19.dist-info → dayhoff_tools-1.0.20.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.0.19.dist-info → dayhoff_tools-1.0.20.dist-info}/entry_points.txt +0 -0
@@ -419,15 +419,20 @@ def update_dayhoff_tools():
|
|
419
419
|
print(f"Updating {pyproject_path} version constraint...")
|
420
420
|
try:
|
421
421
|
content = pyproject_path.read_text()
|
422
|
-
# Regex
|
423
|
-
#
|
422
|
+
# Adjusted Regex: Capture quoted package name (group 1),
|
423
|
+
# match operators, then match non-quote/comma chars for version.
|
424
424
|
pattern = re.compile(
|
425
|
-
|
425
|
+
# Capture group 1: Start, whitespace, quote, pkg name + optional extra, quote, whitespace
|
426
|
+
r"(^\\s*[\'\"](dayhoff-tools(?:\\\[[^\\\]]+\\])?)[\'\"]\\s*)" +
|
427
|
+
# Match version specifiers: operators followed by non-quote/comma chars
|
428
|
+
r"[><=~^]*[^\'\",]*",
|
426
429
|
re.MULTILINE,
|
427
430
|
)
|
428
431
|
new_constraint = f">= {locked_version}"
|
429
432
|
new_content, num_replacements = pattern.subn(
|
430
|
-
|
433
|
+
# Replace the whole match with group 1 + new constraint
|
434
|
+
rf"\\1{new_constraint}",
|
435
|
+
content,
|
431
436
|
)
|
432
437
|
|
433
438
|
if num_replacements > 0:
|
@@ -451,7 +456,8 @@ def update_dayhoff_tools():
|
|
451
456
|
|
452
457
|
# Step 4: Sync environment based on updated lock file
|
453
458
|
print("Syncing environment...")
|
454
|
-
|
459
|
+
# Adding --all-groups to ensure dev dependencies are synced too
|
460
|
+
sync_cmd = ["uv", "sync", "--all-groups", "--no-install-project"]
|
455
461
|
print(f"Running command: {BLUE}{' '.join(sync_cmd)}{RESET}")
|
456
462
|
subprocess.run(sync_cmd, check=True)
|
457
463
|
|
@@ -5,7 +5,7 @@ dayhoff_tools/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
5
5
|
dayhoff_tools/cli/cloud_commands.py,sha256=KiYEuD3nSg8QPWBYfrhdze2La_CJe4iqK-8uOAHyS8U,35827
|
6
6
|
dayhoff_tools/cli/main.py,sha256=yorL117hknzhNybt7CTz4oKXVuQRIDXPl7huIEWga-M,3666
|
7
7
|
dayhoff_tools/cli/swarm_commands.py,sha256=5EyKj8yietvT5lfoz8Zx0iQvVaNgc3SJX1z2zQR6o6M,5614
|
8
|
-
dayhoff_tools/cli/utility_commands.py,sha256=
|
8
|
+
dayhoff_tools/cli/utility_commands.py,sha256=8FD5cwJGJAjc41ae7iBTRiK-GL-HmjnLZWfWsDFwrmw,19385
|
9
9
|
dayhoff_tools/deployment/base.py,sha256=u-AjbtHnFLoLt33dhYXHIpV-6jcieMEHHGBGN_U9Hm0,15626
|
10
10
|
dayhoff_tools/deployment/deploy_aws.py,sha256=O0gQxHioSU_sNU8T8MD4wSOPvWc--V8eRRZzlRu035I,16446
|
11
11
|
dayhoff_tools/deployment/deploy_gcp.py,sha256=DxBM4sUzwPK9RWLP9bSfr38n1HHl-TVrp4TsbdN8pUA,5795
|
@@ -25,7 +25,7 @@ dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
|
|
25
25
|
dayhoff_tools/structure.py,sha256=ufN3gAodQxhnt7psK1VTQeu9rKERmo_PhoxIbB4QKMw,27660
|
26
26
|
dayhoff_tools/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJqE4,16456
|
27
27
|
dayhoff_tools/warehouse.py,sha256=TqV8nex1AluNaL4JuXH5zuu9P7qmE89lSo6f_oViy6U,14965
|
28
|
-
dayhoff_tools-1.0.
|
29
|
-
dayhoff_tools-1.0.
|
30
|
-
dayhoff_tools-1.0.
|
31
|
-
dayhoff_tools-1.0.
|
28
|
+
dayhoff_tools-1.0.20.dist-info/METADATA,sha256=ts2MKHRvyDI3PKxG1h62KtlFd4Kh-XPdhVAk6-irOm0,2214
|
29
|
+
dayhoff_tools-1.0.20.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
30
|
+
dayhoff_tools-1.0.20.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
31
|
+
dayhoff_tools-1.0.20.dist-info/RECORD,,
|
File without changes
|
File without changes
|