chipfoundry-cli 1.2.7__tar.gz → 1.2.8__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chipfoundry-cli
3
- Version: 1.2.7
3
+ Version: 1.2.8
4
4
  Summary: CLI tool to automate ChipFoundry project submission to SFTP server
5
5
  Home-page: https://chipfoundry.io
6
6
  License: Apache-2.0
@@ -569,40 +569,41 @@ def gpio_config(project_root):
569
569
  console.print(f"[green]✓ Updated {user_defines_path}[/green]")
570
570
 
571
571
  # Run gen_gpio_defaults.py script after updating user_defines.v
572
+ # DISABLED: Removed by default due to file path issues
572
573
  # Look for caravel directory in common locations
573
- caravel_paths = [
574
- project_root / 'caravel',
575
- project_root / 'dependencies' / 'caravel',
576
- project_root.parent / 'caravel', # If caravel is sibling to project
577
- ]
578
-
579
- gen_gpio_script = None
580
- for caravel_path in caravel_paths:
581
- script_path = caravel_path / 'scripts' / 'gen_gpio_defaults.py'
582
- if script_path.exists():
583
- gen_gpio_script = script_path
584
- break
585
-
586
- if gen_gpio_script:
587
- try:
588
- console.print("[cyan]Generating GPIO defaults for simulation...[/cyan]")
589
- result = subprocess.run(
590
- [sys.executable, str(gen_gpio_script)],
591
- cwd=str(project_root),
592
- capture_output=True,
593
- text=True,
594
- check=True
595
- )
596
- console.print(f"[green]✓ Generated GPIO defaults[/green]")
597
- except subprocess.CalledProcessError as e:
598
- console.print(f"[yellow]Warning: Failed to run gen_gpio_defaults.py: {e}[/yellow]")
599
- if e.stderr:
600
- console.print(f"[dim]{e.stderr}[/dim]")
601
- except Exception as e:
602
- console.print(f"[yellow]Warning: Error running gen_gpio_defaults.py: {e}[/yellow]")
603
- else:
604
- console.print("[dim]Note: gen_gpio_defaults.py not found. Caravel may not be installed yet.[/dim]")
605
- console.print("[dim]Run 'cf setup' to install Caravel, or run the script manually after setup.[/dim]")
574
+ # caravel_paths = [
575
+ # project_root / 'caravel',
576
+ # project_root / 'dependencies' / 'caravel',
577
+ # project_root.parent / 'caravel', # If caravel is sibling to project
578
+ # ]
579
+ #
580
+ # gen_gpio_script = None
581
+ # for caravel_path in caravel_paths:
582
+ # script_path = caravel_path / 'scripts' / 'gen_gpio_defaults.py'
583
+ # if script_path.exists():
584
+ # gen_gpio_script = script_path
585
+ # break
586
+ #
587
+ # if gen_gpio_script:
588
+ # try:
589
+ # console.print("[cyan]Generating GPIO defaults for simulation...[/cyan]")
590
+ # result = subprocess.run(
591
+ # [sys.executable, str(gen_gpio_script)],
592
+ # cwd=str(project_root),
593
+ # capture_output=True,
594
+ # text=True,
595
+ # check=True
596
+ # )
597
+ # console.print(f"[green]✓ Generated GPIO defaults[/green]")
598
+ # except subprocess.CalledProcessError as e:
599
+ # console.print(f"[yellow]Warning: Failed to run gen_gpio_defaults.py: {e}[/yellow]")
600
+ # if e.stderr:
601
+ # console.print(f"[dim]{e.stderr}[/dim]")
602
+ # except Exception as e:
603
+ # console.print(f"[yellow]Warning: Error running gen_gpio_defaults.py: {e}[/yellow]")
604
+ # else:
605
+ # console.print("[dim]Note: gen_gpio_defaults.py not found. Caravel may not be installed yet.[/dim]")
606
+ # console.print("[dim]Run 'cf setup' to install Caravel, or run the script manually after setup.[/dim]")
606
607
  except Exception as e:
607
608
  console.print(f"[red]Error updating user_defines.v: {e}[/red]")
608
609
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "chipfoundry-cli"
3
- version = "1.2.7"
3
+ version = "1.2.8"
4
4
  description = "CLI tool to automate ChipFoundry project submission to SFTP server"
5
5
  authors = ["ChipFoundry <marwan.abbas@chipfoundry.io>"]
6
6
  readme = "README.md"
File without changes