Skip to content

v0.1.5 auto-find deps, drop old imports, and do dry runs

Compare
Choose a tag to compare
@ahundt ahundt released this 11 Jun 02:38
· 125 commits to main since this release

pyuvstarter v0.1.5 Release Notes

Release date: 2025-06-10

🚀 What's New & Improved in v0.1.5

  • Preview Changes Safely (--dry-run):
    Run pyuvstarter --dry-run to simulate project setup changes (e.g., file creation, dependency additions, VS Code configuration) without altering your files. This gives you peace of mind and full control.

  • Fine-tuned Dependency Migration:
    Gain precise control over how requirements.txt influences your pyproject.toml with the new --dependency-migration options. This helps you tailor pyuvstarter's behavior to your project's specific needs:

    • auto (default): Adds imports found in your code, prioritizing those also in requirements.txt. Unused requirements.txt entries are ignored.
    • all-requirements: Imports all entries from requirements.txt, then adds any new imports found in your code.
    • only-imported: Imports only entries from requirements.txt that are actively used, plus any other new imports.
    • skip-requirements: Disregards requirements.txt entirely, adding only dependencies discovered from your Python imports.
  • Smarter Code Analysis with ruff:
    pyuvstarter now runs ruff to automatically detect unused imports (F401) in your project. This helps you keep your pyproject.toml lean and your codebase tidy.

  • Enhanced Stability:
    Enjoy a more predictable and robust setup. Internal operations, from uv commands to VS Code config updates, now handle various scenarios more reliably.