A library to complete workflows/tasks in HA manner
Go to file
Sean McGinnis 23889f5616 Handle collections.abc deprecations
The use of ABC classes directly from collections has been deprecated in
3.x versions of Python. The direction is to use the classes defined in
collections.abc. Python 2.7 does not have this, but Python 3.8 will be
dropping the backwards compatibility to use the old location.

Six also does not have support for this yet, so in the mean time to make
sure we don't run into issues as folks try to move to 3.8, and to get
rid of deprecation warnings in logs, this handles importing from the
preferred location and falls back if it not available.

Change-Id: I15554bf3c109045ebdc237ce7cb40299f5d1b298
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-05-09 10:35:09 +00:00
doc Update doc/conf.py to avoid warnings with sphinx 1.8 2018-09-19 01:35:57 +00:00
releasenotes Update master for stable/stein 2019-03-18 14:57:44 +00:00
taskflow Handle collections.abc deprecations 2019-05-09 10:35:09 +00:00
tools Merge "Trivial: Update pypi url to new url" 2018-04-21 02:41:56 +00:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:55:59 +00:00
.gitignore Uncap jsonschema 2019-05-04 14:12:20 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:30:55 +00:00
.mailmap Remap the emails of the committers 2013-09-17 13:27:27 -07:00
.stestr.conf Switch to use stestr for unit test 2018-08-13 16:20:18 -04:00
.zuul.yaml add python 3.7 unit test job 2019-02-26 15:55:51 +00:00
CONTRIBUTING.rst replace http with https 2018-06-13 10:58:51 +08:00
LICENSE Move the code over for now 2013-05-07 10:49:44 -07:00
lower-constraints.txt Uncap jsonschema 2019-05-04 14:12:20 -05:00
pylintrc Fix a couple of spelling and grammar errors 2015-03-29 03:11:08 +11:00
README.rst Remove PyPI downloads 2018-08-07 06:05:21 +00:00
requirements.txt Uncap jsonschema 2019-05-04 14:12:20 -05:00
run_tests.sh Switch to just using tox 2014-01-02 10:38:15 -08:00
setup.cfg Uncap jsonschema 2019-05-04 14:12:20 -05:00
setup.py Updated from global requirements 2017-03-02 11:56:44 +00:00
test-requirements.txt Uncap jsonschema 2019-05-04 14:12:20 -05:00
tox.ini add python 3.7 unit test job 2019-02-26 15:55:51 +00:00

Team and repository tags

image

TaskFlow

Latest Version

A library to do [jobs, tasks, flows] in a highly available, easy to understand and declarative manner (and more!) to be used with OpenStack and other projects.

Join us

Testing and requirements

Requirements

Because this project has many optional (pluggable) parts like persistence backends and engines, we decided to split our requirements into two parts: - things that are absolutely required (you can't use the project without them) are put into requirements.txt. The requirements that are required by some optional part of this project (you can use the project without them) are put into our test-requirements.txt file (so that we can still test the optional functionality works as expected). If you want to use the feature in question (eventlet or the worker based engine that uses kombu or the sqlalchemy persistence backend or jobboards which have an implementation built using kazoo ...), you should add that requirement(s) to your project or environment.

Tox.ini

Our tox.ini file describes several test environments that allow to test TaskFlow with different python versions and sets of requirements installed. Please refer to the tox documentation to understand how to make these test environments work for you.

Developer documentation

We also have sphinx documentation in docs/source.

To build it, run:

$ python setup.py build_sphinx