A library to complete workflows/tasks in HA manner
Go to file
Hervé Beraud 14a5c0f237 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Ib169e3deb7ddb2bc93a206ebec4043552281aa7f
2021-04-27 21:47:11 +00:00
doc Adding pre-commit 2020-09-08 14:33:38 +02:00
releasenotes Merge "Adding pre-commit" 2020-09-22 12:30:05 +00:00
taskflow Use unittest.mock instead of mock 2021-04-27 21:47:11 +00:00
tools Use unittest.mock instead of mock 2021-04-27 21:47:11 +00:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:55:59 +00:00
.gitignore ignore reno generated artifacts 2020-09-08 14:34:51 +02: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
.pre-commit-config.yaml Move flake8 as a pre-commit local target. 2021-03-23 13:20:14 +01:00
.stestr.conf Switch to use stestr for unit test 2018-08-13 16:20:18 -04:00
.zuul.yaml Dropping lower constraints testing 2020-12-18 15:15:53 +01:00
bindep.txt Add local bindep.txt 2019-06-26 17:25:54 +02: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
pylintrc Fix a couple of spelling and grammar errors 2015-03-29 03:11:08 +11:00
README.rst update git.openstack.org to opendev 2019-05-22 09:51:19 +01:00
requirements.txt [goal] Migrate testing to ubuntu focal 2020-09-06 17:20:27 +00:00
run_tests.sh Switch to just using tox 2014-01-02 10:38:15 -08:00
setup.cfg [goal] Migrate testing to ubuntu focal 2020-09-06 17:20:27 +00:00
setup.py Updated from global requirements 2017-03-02 11:56:44 +00:00
test-requirements.txt Use unittest.mock instead of mock 2021-04-27 21:47:11 +00:00
tox.ini Merge "Use TOX_CONSTRAINTS_FILE" 2021-04-16 17:20:35 +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