Skip to content

0.0.9

Choose a tag to compare

@harshdoesdev harshdoesdev released this 01 Oct 20:16
· 147 commits to main since this release

Shuru Task Runner v0.0.9 - Release Notes

Date: October 2024
Version: 0.0.9

We're rolling out Shuru v0.0.9, and it comes with a pretty big feature: Python version management! Now you can use Shuru to handle both Node.js and Python environments without needing to mess with external tools like pyenv. Specify the Python version in your shuru.toml, and Shuru will take care of downloading, building, and setting it up.

New Features in v0.0.9

  1. Python Version Management:
    Shuru now supports Python versions, making it easier to switch between Python versions for your projects. Just like with Node.js, you can define your Python version in the shuru.toml file:

    [versions]
    python = "3.9.7"

    Shuru will handle the rest: downloading, compiling from source, and installing it.

  2. Verbose Build Mode:
    By default, the Python build process will run quietly. If you want to see what's going on under the hood, you can enable verbose mode with:

    export SHURU_BUILD_PYTHON_VERBOSE=1

    This will print the full output during Python's configuration, compilation, and installation.

  3. Improved Logging:
    Even if you're not using verbose mode, key steps in the Python setup process (like downloading and installing) will still show log messages, so you're always aware of what’s happening.

Fixes & Improvements:

  • Optimized version management with cleaner error handling.
  • More efficient command execution for both Node.js and Python.
  • A few small bug fixes in the task runner and error reporting.

How to Use Python with Shuru

To start using Python with Shuru, update your shuru.toml with the Python version you need under [versions]. Shuru will automatically handle the download, build, and install steps if it’s not already available.

Example setup:

[versions]
python = "3.10.2"

[[task]]
name = "setup"
command = "pip install -r requirements.txt"

[[task]]
name = "run"
command = "python app.py"
default = true

With Shuru v0.0.9, managing both Node.js and Python environments is now a lot simpler.


That’s it for v0.0.9. Feel free to report any issues or share your thoughts on how to make Shuru even better.

— The Shuru Devs

Full Changelog: 0.0.8...0.0.9