ANN: snapcraft 2.0 is now available

Woodrow Shen woodrow.shen at canonical.com
Fri Jan 22 16:36:29 UTC 2016


Hi,

I just tried to use snapcraft 2.0 to execute `snapcraft --help' to see
what's something new, but I got the error:

root at 5ecf6eabefb4:~# snapcraft --help
Traceback (most recent call last):
  File "/usr/bin/snapcraft", line 31, in <module>
    snapcraft.main.main()
  File "/usr/lib/python3/dist-packages/snapcraft/main.py", line 85, in main
    options_first=True)
  File "/usr/lib/python3/dist-packages/docopt.py", line 575, in docopt
    extras(help, version, argv, doc)
  File "/usr/lib/python3/dist-packages/docopt.py", line 481, in extras
    print(u''.join(doc))
UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in
position 343: ordinal not in range(128)

Then, I also wonder to fix that by one line in
/usr/lib/python3/dist-packages/docopt.py:

481         print(u''.join(doc).encode('ascii',
'ignore').decode('ascii').strip('\n'))

I'm not sure if only I encounter the case, anyone can confirm this ?
Or I could file a bug to trace the trivial problem :)
Thanks.

On Thu, Jan 21, 2016 at 11:16 PM, Sergio Schvezov <
sergio.schvezov at canonical.com> wrote:

> Hi all,
>
> We are happy to announce this release new version (2.0) of snapcraft:
> https://launchpad.net/snapcraft/+milestone/2.0
>
> 2.0 marks a new beginning for snapcraft, targeting only Xenial Xerus
> (16.04) aligned with all the changes 16.04 is bringing to the table. The
> changelog for this release is quite big, so I invite you to directly check
> it out in the milestone link, in summary though there have been:
>
> - snapcraft lifecycle changes.
> - meta data changes to have a natural feel with snap.yaml and the new
> language being put in place for 16.04.
> - a fancier command line interface.
> - squashfs based snaps, which inherently only work on 16.04
>
> To consume the latest snapcraft release on Xenial Xerus, we suggest you
> install the snapcraft package from the Ubuntu Archives:
>
>     sudo apt update
>     sudo apt install snapcraft
>
> If you don't want to consume the examples from the source branch you can
> also install the examples package:
>
>     sudo apt install snapcraft-examples
>
> After installing this you can find them in
> /usr/share/doc/snapcraft-examples/examples. There are some new examples
> included in this release as well.
>
> To get the source for this release check it out at
> https://github.com/ubuntu-core/snapcraft/releases/tag/2.0
>
> A great place to collaborate and discuss features, bugs and ideas on
> snapcraft is snappy-app-devel mailing list or directly in the #snappy
> channel on irc.freenode.net.
>
> To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.
>
> Happy snapcrafting,
>  - Sergio and the team
>
>
> PS: This version of snapcraf will be demoed today during the two snappy
> related talks at UbuCon Summit (
> http://ubucon.org/en/events/ubucon-summit-us/schedule/)
>
> --
> snappy-app-devel mailing list
> snappy-app-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
>
>


-- 
Regards,
Woodrow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160123/b785eeee/attachment.html>


More information about the snappy-app-devel mailing list