agent-starter-pack 0.0.8b0__py3-none-any.whl → 0.0.10b0__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.
Potentially problematic release.
This version of agent-starter-pack might be problematic. Click here for more details.
- {agent_starter_pack-0.0.8b0.dist-info → agent_starter_pack-0.0.10b0.dist-info}/METADATA +1 -2
- {agent_starter_pack-0.0.8b0.dist-info → agent_starter_pack-0.0.10b0.dist-info}/RECORD +6 -6
- src/cli/commands/create.py +45 -4
- {agent_starter_pack-0.0.8b0.dist-info → agent_starter_pack-0.0.10b0.dist-info}/WHEEL +0 -0
- {agent_starter_pack-0.0.8b0.dist-info → agent_starter_pack-0.0.10b0.dist-info}/entry_points.txt +0 -0
- {agent_starter_pack-0.0.8b0.dist-info → agent_starter_pack-0.0.10b0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-starter-pack
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.10b0
|
|
4
4
|
Summary: CLI tool to create GCP-based AI agent projects from templates
|
|
5
5
|
Author-email: Google LLC <agent-starter-pack@google.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -12,7 +12,6 @@ Requires-Dist: google-cloud-aiplatform~=1.81.0
|
|
|
12
12
|
Requires-Dist: inquirer~=3.1.3
|
|
13
13
|
Requires-Dist: pyyaml~=6.0.1
|
|
14
14
|
Requires-Dist: rich~=13.7.0
|
|
15
|
-
Requires-Dist: uv~=0.6.3
|
|
16
15
|
Provides-Extra: jupyter
|
|
17
16
|
Requires-Dist: ipykernel>=6.29.5; extra == 'jupyter'
|
|
18
17
|
Requires-Dist: jupyter; extra == 'jupyter'
|
|
@@ -57,7 +57,7 @@ src/base_template/deployment/terraform/dev/vars/env.tfvars,sha256=xz5cYG29ZIgqM1
|
|
|
57
57
|
src/base_template/deployment/terraform/vars/env.tfvars,sha256=2dxWRDzeolN2f7eKSHXcBiBt9fRcIMO6VH-2MAZevLQ,1633
|
|
58
58
|
src/base_template/tests/unit/test_utils/test_tracing_exporter.py,sha256=JAb0vIB7wNFPm_kaDaHcxtPKNReypDHjdsMQyzpuePQ,4687
|
|
59
59
|
src/cli/main.py,sha256=134KpcOQlexr_vR-KT3D3B1jKh1Y6S3qHGJ-9uD9Kkg,950
|
|
60
|
-
src/cli/commands/create.py,sha256=
|
|
60
|
+
src/cli/commands/create.py,sha256=9WqSRt7t6RYF6SbXsF_igOXevw6C8PIR6d4yMwbpZuM,20953
|
|
61
61
|
src/cli/commands/setup_cicd.py,sha256=EgVkDdA94npDHHPTuYDmWNIiRscnsXtN7CbTuelrTVU,28347
|
|
62
62
|
src/cli/utils/__init__.py,sha256=x-k6jfcv68_zYS88LrA1mr0yB5y5SekJ0nc5Tvt6iDA,1064
|
|
63
63
|
src/cli/utils/cicd.py,sha256=x-8PKp4aevkUwAmtbEZVwu0UlrA6ifXGbouxICu1D0o,25664
|
|
@@ -150,8 +150,8 @@ src/resources/setup_cicd/providers.tf,sha256=Km4z6IJt7x7PLaa0kyZbBrO2m3lpuIJZFD5
|
|
|
150
150
|
src/utils/generate_locks.py,sha256=xu5IAhGGBPkVQGSJX4kk7_JNDwWJUEaXAHbmaQIohbg,4386
|
|
151
151
|
src/utils/lock_utils.py,sha256=plw3vWkRViCMxBK3IrLRHtF_I0kbbP043T9KIYxcb20,2423
|
|
152
152
|
src/utils/watch_and_rebuild.py,sha256=IdbTLReYknTXXu5KWPz3sc7Zg5HTEMS5UVlMSnuhs5E,6067
|
|
153
|
-
agent_starter_pack-0.0.
|
|
154
|
-
agent_starter_pack-0.0.
|
|
155
|
-
agent_starter_pack-0.0.
|
|
156
|
-
agent_starter_pack-0.0.
|
|
157
|
-
agent_starter_pack-0.0.
|
|
153
|
+
agent_starter_pack-0.0.10b0.dist-info/METADATA,sha256=tWZHbeB2mwGNTnfNqhyhT1VqWd45hfpEwHhWg-KErtk,7205
|
|
154
|
+
agent_starter_pack-0.0.10b0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
155
|
+
agent_starter_pack-0.0.10b0.dist-info/entry_points.txt,sha256=U7uCxR7YulIhZ0L8R8Hui0Bsy6J7oyESBeDYJYMrQjA,56
|
|
156
|
+
agent_starter_pack-0.0.10b0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
157
|
+
agent_starter_pack-0.0.10b0.dist-info/RECORD,,
|
src/cli/commands/create.py
CHANGED
|
@@ -530,11 +530,15 @@ def replace_region_in_files(
|
|
|
530
530
|
|
|
531
531
|
|
|
532
532
|
def check_and_install_uv() -> None:
|
|
533
|
-
"""Check if uv is installed and
|
|
533
|
+
"""Check if uv is installed and install it if not present."""
|
|
534
534
|
try:
|
|
535
535
|
# Use shell=True for Windows compatibility and add timeout
|
|
536
536
|
process = subprocess.run(
|
|
537
|
-
"uv --version",
|
|
537
|
+
"uv --version",
|
|
538
|
+
shell=True,
|
|
539
|
+
capture_output=True,
|
|
540
|
+
text=True,
|
|
541
|
+
timeout=10
|
|
538
542
|
)
|
|
539
543
|
if process.returncode == 0:
|
|
540
544
|
logging.debug("uv is already installed")
|
|
@@ -547,6 +551,43 @@ def check_and_install_uv() -> None:
|
|
|
547
551
|
console.print("> uv is not installed", style="yellow")
|
|
548
552
|
|
|
549
553
|
console.print(
|
|
550
|
-
"\n> uv is
|
|
551
|
-
"\n
|
|
554
|
+
"\n> uv is required for the template to work. You can install it in several ways:"
|
|
555
|
+
"\n 1. Automatically install uv now"
|
|
556
|
+
"\n 2. Manual installation from: https://docs.astral.sh/uv/getting-started/installation"
|
|
557
|
+
"\n This includes other options e.g PyPI (pip/pipx), Homebrew, Docker.."
|
|
558
|
+
)
|
|
559
|
+
|
|
560
|
+
install_choice = Prompt.ask(
|
|
561
|
+
"\n> Would you like to install uv automatically now?",
|
|
562
|
+
choices=["y", "n"],
|
|
563
|
+
default="y",
|
|
552
564
|
)
|
|
565
|
+
if install_choice.lower() == "y":
|
|
566
|
+
console.print("> Installing uv...", style="yellow")
|
|
567
|
+
try:
|
|
568
|
+
install_command = "curl -LsSf https://astral.sh/uv/install.sh | sh"
|
|
569
|
+
# Add timeout to installation process as well
|
|
570
|
+
subprocess.run(
|
|
571
|
+
install_command,
|
|
572
|
+
shell=True,
|
|
573
|
+
check=True,
|
|
574
|
+
timeout=60 # Give installation more time
|
|
575
|
+
)
|
|
576
|
+
console.print("> uv installed successfully!", style="green")
|
|
577
|
+
except subprocess.TimeoutExpired:
|
|
578
|
+
console.print("> uv installation timed out", style="bold red")
|
|
579
|
+
raise
|
|
580
|
+
except subprocess.CalledProcessError as e:
|
|
581
|
+
console.print("> Failed to install uv", style="bold red")
|
|
582
|
+
logging.debug(f"uv installation error: {e!s}")
|
|
583
|
+
console.print(
|
|
584
|
+
"> Please install uv manually using one of the methods listed above",
|
|
585
|
+
style="yellow",
|
|
586
|
+
)
|
|
587
|
+
raise
|
|
588
|
+
else:
|
|
589
|
+
console.print(
|
|
590
|
+
"> Please install uv manually using one of the methods listed above and try again",
|
|
591
|
+
style="yellow",
|
|
592
|
+
)
|
|
593
|
+
raise click.Abort() from None
|
|
File without changes
|
{agent_starter_pack-0.0.8b0.dist-info → agent_starter_pack-0.0.10b0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{agent_starter_pack-0.0.8b0.dist-info → agent_starter_pack-0.0.10b0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|