dayhoff-tools 1.0.14__py3-none-any.whl → 1.0.16__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 +12 -9
- {dayhoff_tools-1.0.14.dist-info → dayhoff_tools-1.0.16.dist-info}/METADATA +3 -3
- {dayhoff_tools-1.0.14.dist-info → dayhoff_tools-1.0.16.dist-info}/RECORD +5 -5
- {dayhoff_tools-1.0.14.dist-info → dayhoff_tools-1.0.16.dist-info}/WHEEL +1 -1
- {dayhoff_tools-1.0.14.dist-info → dayhoff_tools-1.0.16.dist-info}/entry_points.txt +0 -0
@@ -357,19 +357,22 @@ def build_and_upload_wheel(bump_part: str = "patch"):
|
|
357
357
|
def update_dayhoff_tools():
|
358
358
|
"""Update the dayhoff-tools package to the latest version using uv.
|
359
359
|
|
360
|
-
Runs `uv add dayhoff-tools@latest` which
|
360
|
+
Runs `uv add dayhoff-tools@latest --group common` which attempts to update
|
361
|
+
dayhoff-tools within the 'common' dependency group.
|
361
362
|
"""
|
362
363
|
try:
|
363
|
-
print(
|
364
|
-
|
365
|
-
|
366
|
-
|
364
|
+
print(
|
365
|
+
"Updating dayhoff-tools to the latest version in 'common' group using uv..."
|
366
|
+
)
|
367
|
+
# Use uv add with --group common to explicitly target the dependency
|
368
|
+
subprocess.run(
|
369
|
+
["uv", "add", "dayhoff-tools@latest", "--group", "common"], check=True
|
370
|
+
)
|
371
|
+
print(
|
372
|
+
"Update complete! Run 'uv sync --group common' or relevant sync command if needed."
|
373
|
+
)
|
367
374
|
except subprocess.CalledProcessError as e:
|
368
375
|
print(f"Error occurred while updating: {e}")
|
369
|
-
sys.exit(1)
|
370
|
-
except FileNotFoundError:
|
371
|
-
print("Error: 'uv' command not found. Is uv installed and in PATH?")
|
372
|
-
sys.exit(1)
|
373
376
|
|
374
377
|
|
375
378
|
def sync_dependencies():
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: dayhoff-tools
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.16
|
4
4
|
Summary: Common tools for all the repos at Dayhoff Labs
|
5
5
|
Author: Daniel Martin-Alarcon
|
6
6
|
Author-email: dma@dayhofflabs.com
|
@@ -23,8 +23,8 @@ Requires-Dist: questionary (>=2.0.1) ; extra == "full"
|
|
23
23
|
Requires-Dist: rdkit-pypi (>=2022.9.5) ; extra == "full"
|
24
24
|
Requires-Dist: requests (>=2.31.0)
|
25
25
|
Requires-Dist: sqlalchemy (>=2.0.40,<3.0.0) ; extra == "full"
|
26
|
-
Requires-Dist: torch (
|
27
|
-
Requires-Dist: torchvision (
|
26
|
+
Requires-Dist: torch (>=2.1.0) ; extra == "full"
|
27
|
+
Requires-Dist: torchvision (>=0.16.0) ; extra == "full"
|
28
28
|
Requires-Dist: transformers (==4.36.2) ; extra == "full"
|
29
29
|
Requires-Dist: typer (>=0.9.0)
|
30
30
|
Description-Content-Type: text/markdown
|
@@ -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=vnHhYzAOLOGYqjLSCRInbSOEyRC3iXKnuYMW6hezkrc,14948
|
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.16.dist-info/METADATA,sha256=LBjBUaTBwD0mOjKSFwdKdK2dD0UPaAgbEwoim8tfDkM,2262
|
29
|
+
dayhoff_tools-1.0.16.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
30
|
+
dayhoff_tools-1.0.16.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
31
|
+
dayhoff_tools-1.0.16.dist-info/RECORD,,
|
File without changes
|