Commit Graph

90 Commits

Author SHA1 Message Date
af15647ab4 Added tests for running file with combinations of multiple default env files, env files, and env vars. Also reorganized environment directory in examples. 2017-10-10 22:54:31 -04:00
88956ba6fe default-env-file, default-env, and env-file now in place alongside env. default-env-file and default-env both use os.environ.setdefault so as not to overwrite existing variables (system environment) while env-file and env will overwrite existing variables. All four allow for multiple values (***How might this affect multiple default-env and default-env-file values, I expect that unlike env-file and env the first passed variables would win). 2017-10-08 21:02:31 -04:00
32e222787d release: 0.5.0 2017-10-05 19:16:03 +02:00
b2f93b2416 [config/dx] bundle a default fs (and http?) service if none is provided (#179) 2017-10-05 07:17:16 +02:00
e04c3dd849 Uniformisation of API for graph and node contexts (recv -> write), removing publication of LoopbackBag as this is not stable with current BEGIN/END implementation. 2017-10-02 09:14:10 +02:00
e38ce3cd11 Switched --env / -e optional argument from register to register_generic_run_arguements per suggestion. Also removed tests/util/get_passed_env.py 2017-10-01 20:05:53 -04:00
6abdf09ef7 Moved tests/util/get_passed_env.py into /bonobo/examples/env_vars/get_passed_env.py. 2017-10-01 19:56:49 -04:00
7ca3369f71 Rename "bonobo graph" to "bonobo inspect". For now, graphviz is default but there will probably be a humand default in the future, with graphviz source generation set if --graph (or -g) flag is passed. 2017-09-30 11:01:53 +02:00
8b9dac50ec Added optional passing of one or multiple environment variables via --env flag to the bonobo cli. 2017-09-18 15:24:27 -04:00
d80118f687 [logging] Tuning windows vs unix display output. 2017-07-16 11:15:40 +02:00
5c64f30551 Merge remote-tracking branch 'upstream/develop' into develop 2017-07-16 10:19:45 +02:00
a8ed0e4322 Move patch one level up because importlib brakes all the CI tools. 2017-07-15 14:52:22 +02:00
7aee728b8d Add tests for --install of run command 2017-07-15 14:24:44 +02:00
75c15ae1f8 [tests] Adds runners descriptions. 2017-07-15 13:56:51 +02:00
5d59a72310 [core] Adds a .copy() method to graph structure. 2017-07-06 11:29:55 +02:00
4a2c7280d6 [misc] Fixes formatting. 2017-07-05 13:09:46 +02:00
9801c75720 [settings] Better impl. of Setting class, tests for it and refactor hardcoded settings to use it. 2017-07-05 12:41:14 +02:00
6ef25deac9 [config] Adds test for requires() decorator. 2017-07-05 12:01:37 +02:00
4da1b4028a Merge branch 'dev_refactor_config' into develop 2017-07-05 11:22:15 +02:00
5062221e78 [config] Refactoring of configurables, allowing partially configured objects.
Configurables did not allow more than one "method" option, and mixed
scenarios (options+methods+...) were sometimes flaky, forcing the user
to know what order was the right one. Now, all options work the same,
sharing the same "order" namespace.

Backward incompatible change: Options are now required by default,
unless a default is provided.

Also adds a few candies for debugging/testing, found in the
bonobo.util.inspect module.
2017-07-05 11:15:03 +02:00
1d27376785 release: 0.4.2 2017-06-18 21:35:30 +02:00
67b4227436 [stdlib] Fix I/O related nodes (especially json), there were bad bugs with ioformat. 2017-06-17 10:37:17 +02:00
1ca48d885d Refactoring and fixes around ioformats. 2017-06-08 21:47:01 +02:00
2c2bc4fca9 [qa] fix unclosed files problems in tests. 2017-05-28 23:15:40 +02:00
665ddb560e Fix version test 2017-05-27 16:10:14 +02:00
1afd8746eb [pm] Moving project artifact management to next edgy.project version. 2017-05-27 16:08:10 +02:00
de082ed794 Merge branch 'develop' into feature/io_pickle 2017-05-25 06:36:11 -07:00
9375a5d1fb [nodes/io] Adds an output_format option to CsvReader (BC ok) for more flexibility. 2017-05-25 15:14:51 +02:00
71c47a762b [config] Implements "Exclusive" context processor allowing to ask for an exclusive usage of a service while in a transformation. 2017-05-25 11:14:49 +02:00
5d8f4c3dc7 Add tests for pickle functionality 2017-05-24 22:20:59 -04:00
02e038b4b3 [qa] removes a bunch of unused code. 2017-05-22 22:34:33 +02:00
1ba31191ee [qa] adds a rather stupid test to check valueholder works correctly. Still some operations missing. 2017-05-22 22:22:36 +02:00
04f2088220 [qa] add test for bonobo run <path>. 2017-05-22 20:48:16 +02:00
91c9322c58 [qa] tests bonobo run using module path. 2017-05-22 20:29:35 +02:00
1dccad883d [qa] covers __main__, and formating. 2017-05-22 20:06:26 +02:00
a50b21e46d [qa] covers __main__ 2017-05-22 19:57:08 +02:00
56f9c334f6 [qa] coverage of version command. 2017-05-22 19:25:35 +02:00
52b06834e2 Formating. 2017-05-22 10:35:54 +02:00
a45a6830c7 Fix Method to be non positional as there is a randomly happening bug that I cannot trace. 2017-05-22 10:35:24 +02:00
88df694dc1 Formating. 2017-05-21 19:24:24 +02:00
4d9b579a60 Tuning ValueHolder as I could not find better option to generate the double-underscore methods. 2017-05-21 19:22:45 +02:00
2b3ef05fac Removes unused functions and test bag application to iterables. 2017-05-20 14:47:30 +02:00
4342035f12 Refactoring: dispatch "core" package modules into structs and utils, as it does not have a lot of sense anymore. 2017-05-20 13:11:37 +02:00
58a1580668 Fix iterable problems due to context currifier, and some examples with wrong import paths. 2017-05-20 10:40:44 +02:00
cf0b982475 Adds method based options, limited to one, to allow nodes based on a specific method (think filter, join, etc)...
Reimplementation of "Filter", with (rather simple) code from rdc.etl.
2017-05-20 10:15:51 +02:00
d5cfa0281d Topological sort is non deterministic, only check for logic in test and not exact result so it will pass tests under py3.5 2017-05-19 18:38:41 +02:00
e747bc1da8 Topological sort of a graph, allowing better console (and other) outputs.
Uses algorithm borrowed from networkx graph library to sort a graph in
topological order. The method is only used by output plugins, as
internal plumbery does not really care about the node order.

Also includes a bonobo.util.python.require function that helps importing
thing in a package-less context, or when there are conflict with site
package names.
2017-05-19 13:28:31 +02:00
171fa3415b first draft of enhancers. 2017-05-08 11:33:02 +02:00
da4ba2603c Update basic tests. 2017-05-01 18:50:06 +02:00
5111b2932e mocks work this way under py3.5, apparently. 2017-05-01 18:37:23 +02:00