From fb54143a7a24fd8171faa08106c2fc58c5153e42 Mon Sep 17 00:00:00 2001 From: Romain Dorgueil Date: Sat, 10 Jun 2017 15:34:22 +0200 Subject: [PATCH] release: 0.4.0 --- Makefile | 2 +- README.rst | 12 +++---- bonobo/_version.py | 2 +- docs/changelog.rst | 68 +++++++++++++++++++++++++++++++++++++++ docs/contribute/index.rst | 4 +-- docs/faq.rst | 2 +- docs/install.rst | 4 +-- docs/tutorial/tut02.rst | 2 +- requirements-docker.txt | 3 +- 9 files changed, 83 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index b13565f..f782b7e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # This file has been auto-generated. # All changes will be lost, see Projectfile. # -# Updated at 2017-06-10 14:17:07.161053 +# Updated at 2017-06-10 15:15:34.093885 PACKAGE ?= bonobo PYTHON ?= $(shell which python) diff --git a/README.rst b/README.rst index 59b1d10..6c56328 100644 --- a/README.rst +++ b/README.rst @@ -7,7 +7,7 @@ Data-processing for humans. .. image:: https://img.shields.io/pypi/v/bonobo.svg :target: https://pypi.python.org/pypi/bonobo :alt: PyPI - + .. image:: https://img.shields.io/pypi/pyversions/bonobo.svg :target: https://pypi.python.org/pypi/bonobo :alt: Versions @@ -16,20 +16,20 @@ Data-processing for humans. :target: http://docs.bonobo-project.org/ :alt: Documentation -.. image:: https://travis-ci.org/python-bonobo/bonobo.svg?branch=0.3 +.. image:: https://travis-ci.org/python-bonobo/bonobo.svg?branch=master :target: https://travis-ci.org/python-bonobo/bonobo :alt: Continuous Integration (Linux) -.. image:: https://ci.appveyor.com/api/projects/status/github/python-bonobo/bonobo?retina=true&branch=0.3&svg=true - :target: https://ci.appveyor.com/project/hartym/bonobo?branch=0.3 +.. image:: https://ci.appveyor.com/api/projects/status/github/python-bonobo/bonobo?retina=true&branch=master&svg=true + :target: https://ci.appveyor.com/project/hartym/bonobo?branch=master :alt: Continuous Integration (Windows) .. image:: https://codeclimate.com/github/python-bonobo/bonobo/badges/gpa.svg :target: https://codeclimate.com/github/python-bonobo/bonobo :alt: Code Climate -.. image:: https://img.shields.io/coveralls/python-bonobo/bonobo/0.3.svg - :target: https://coveralls.io/github/python-bonobo/bonobo?branch=0.3 +.. image:: https://img.shields.io/coveralls/python-bonobo/bonobo/master.svg + :target: https://coveralls.io/github/python-bonobo/bonobo?branch=master :alt: Coverage Bonobo is an extract-transform-load framework for python 3.5+ (see comparisons with other data tools). diff --git a/bonobo/_version.py b/bonobo/_version.py index 73e3bb4..abeeedb 100644 --- a/bonobo/_version.py +++ b/bonobo/_version.py @@ -1 +1 @@ -__version__ = '0.3.2' +__version__ = '0.4.0' diff --git a/docs/changelog.rst b/docs/changelog.rst index 5fe968b..f447fc9 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,74 @@ Changelog ========= +v.0.4.0 - 10 june 2017 +:::::::::::::::::::::: + +Important highlights +-------------------- + +* **BC BREAK WARNING** New IOFORMAT option determines the default expected input and output format of transformations. + New default input/output format of transformations is now kwargs-based, instead of first-argument based. The + rationale behind this is that it does not make any sense to put a dict as the only argument of a transformation + knowing that python has a well supported syntax to do so already. Of course, it may break some of your + transformations but you can require the old behaviour by setting the IOFORMAT=arg0 environment variable. + +New features +------------ + +Command line interface +...................... + +* Allow to run directories or modules using "bonobo run". +* Bonobo version command now shows where the package is installed, and an optional "--all/-a" flag show all + extensions in the same way. (#81) +* Bonobo run flag "--install/-I" allow to pip install a requirements.txt file if run targets a directory. (#71) +* Adds python logging facility configuration in bonobo cli commands. +* Bonobo init now uses cookiecutter template. + +Configuration +............. + +* `Exclusive(...)` context manager locks an object usage to one thread at a time. + ([docs](http://docs-dev.bonobo-project.org/en/develop/guide/services.html#solving-concurrency-problems)) + +Standard library +................ + +* New PrettyPrinter and deprecate old crappy modules. +* New pickle reader and writer (thanks @jelloslinger). + +Internals +--------- + +* ConsoleOutputPlugin now buffers stdout to avoid terminal conflicts. Side effect, output is only done every few tenth + of a second. + +Bugfixes +-------- + +* Fixes jupyter widget. + +Extensions +---------- + +* First release officially supporting bonobo-docker extension. See https://www.bonobo-project.org/with/docker. +* Docker extension can be now installed using the "docker" extra on bonobo (`pip install bonobo[docker]`). +* Jupyter widget now displays the status in topological order, like console. + +Miscellaneous +------------- + +* Allow "main.py" as well as "__main__.py" to be the main entrypoint of an etl job. +* Better error display (329296c). +* Better testing. +* Code sweeping (ecfdc81). +* Dependencies updated. +* Filesystem now resolve (expand) ~ in path. +* Moving project artifact management (Projectfile) to edgy.project 0.3 format. +* Refactoring and fixes around ioformats. +* Some really minor changes. + v.0.3.2 - 10 june 2017 :::::::::::::::::::::: diff --git a/docs/contribute/index.rst b/docs/contribute/index.rst index 690cab7..5857207 100644 --- a/docs/contribute/index.rst +++ b/docs/contribute/index.rst @@ -78,7 +78,7 @@ Guidelines License ::::::: -`Bonobo is released under the apache license `_. +`Bonobo is released under the apache license `_. License for non lawyers ::::::::::::::::::::::: @@ -87,6 +87,6 @@ Use it, change it, hack it, brew it, eat it. For pleasure, non-profit, profit or basically anything else, except stealing credit. -Provided without warranty. +Provided without any warranty. diff --git a/docs/faq.rst b/docs/faq.rst index 6f3cd3f..5b25c7b 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -62,7 +62,7 @@ context. The API may evolve a bit though, because I feel it's a bit hackish, as it is. The concept will stay the same, but we need to find a better way to apply it. -To understand how it works today, look at https://github.com/python-bonobo/bonobo/blob/0.3/bonobo/io/csv.py#L63 and class hierarchy. +To understand how it works today, look at https://github.com/python-bonobo/bonobo/blob/master/bonobo/nodes/io/csv.py#L31 and class hierarchy. What is a plugin? Do I need to write one? diff --git a/docs/install.rst b/docs/install.rst index 943ffbe..41487e4 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -26,7 +26,7 @@ but editable installs (see below). .. code-block:: shell-session - $ pip install git+https://github.com/python-bonobo/bonobo.git@0.3#egg=bonobo + $ pip install git+https://github.com/python-bonobo/bonobo.git@master#egg=bonobo Editable install :::::::::::::::: @@ -37,7 +37,7 @@ python interpreter. .. code-block:: shell-session - $ pip install --editable git+https://github.com/python-bonobo/bonobo.git@0.3#egg=bonobo + $ pip install --editable git+https://github.com/python-bonobo/bonobo.git@master#egg=bonobo .. note:: You can also use the `-e` flag instead of the long version. diff --git a/docs/tutorial/tut02.rst b/docs/tutorial/tut02.rst index 685e455..ff562d1 100644 --- a/docs/tutorial/tut02.rst +++ b/docs/tutorial/tut02.rst @@ -52,7 +52,7 @@ We'll use a text file that was generated using Bonobo from the "liste-des-cafes- Mairie de Paris under the Open Database License (ODbL). You can `explore the original dataset `_. -You'll need the `example dataset `_, +You'll need the `example dataset `_, available in **Bonobo**'s repository. .. literalinclude:: ../../bonobo/examples/tutorials/tut02e01_read.py diff --git a/requirements-docker.txt b/requirements-docker.txt index 12fcf2e..fc84888 100644 --- a/requirements-docker.txt +++ b/requirements-docker.txt @@ -1,7 +1,6 @@ -e .[docker] appdirs==1.4.3 -bonobo-docker==0.2.5 -bonobo==0.3.2 +bonobo-docker==0.2.6 certifi==2017.4.17 chardet==3.0.4 colorama==0.3.9