Hello everyone!

I'm happy to announce another charm-tools release today, this is the 1.10.0
which succeeds 1.9.3 as the latest release of charm-tools. If you've
managed to install 1.9.3 please be sure to upgrade. As always, you can
verify the version you are running by executing: `charm version`

# Changes

3b05f0c [Marco Ceppi] version bump
efb50fd [Cory Johns] Fixed tests
48ba928 [Cory Johns] Use Python 3 for layered charms
f2d5c5c [Cory Johns] Fixed hook name for storage and added test coverage
44e6c8c [Cory Johns] Resolve #66: Add reactive hooks for storage
238826d [Cory Johns] Add dist.yaml and resources.yaml as merged YAML files
912b903 [Cory Johns] Fix #49: Missing layer.yaml causes stack trace
8736471 [Cory Johns] Fix #58: Use "pip install --download" instead of "pip
wheel" because wheels are inherently binary
f8d9d4d [Cory Johns] Fix #56: Catch and report missing layers and interfaces
6423d66 [Kevin W Monroe] correct doc URL in generated hooks
30db73c [Cory Johns] Fixed issues with relative paths in charm build

# Highlights

This fix includes a mix of new feature and bug fixes. Here are a few
highlights.

## Storage hooks in reactive

As of this release, once storage is defined in the metadata.yaml for a
charm, Reactive hook stubs will be created. Charms can now use reactive
@hook to respond to storage events.

## Major fix to wheelhousing

1.9.3 added support for wheelhouses. However, due to the nature of
wheelhouses they were still binary builds. This breaks for charms built on
one architecture and deployed on another. 1.10.0 fixes this by building
"source only" wheels.

## Python3 for hooks

By default, all hooks and dependencies are built with Python3. This is in
anticipation of the Xenial switch to only having Python3 installed on the
cloud images by default.

# Install

Charm Tools is available to users either via the juju/stable PPA, Homebrew,
or pip

## PPA

    sudo add-apt-repository ppa:juju/stable
    sudo apt-get update
    sudo apt-get install charm-tools

## Homebrew

    brew install charm-tools

## PIP

    pip install -U charm-tools

As with Juju, charm-tools is gearing up for a 2.0 release. In this release
a few commands will be changing. Our goal is to have a 2.0 of charm-tools
ready in February in order to make sure it lands in Xenial. A follow up
email about this switch and what it means will be sent soon.

Thanks,
Marco Ceppi
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to