A library to complete workflows/tasks in HA manner
Go to file
Stephen Finucane 17a6c571dc db: Don't rely on autocommit behavior
Resolve the following RemovedIn20Warning warning:

  The current statement is being autocommitted using implicit
  autocommit, which will be removed in SQLAlchemy 2.0. Use the .begin()
  method of Engine or Connection in order to use an explicit transaction
  for DML and DDL statements.

There's only a single case of this, though we take the opportunity to
remove some unnecessary contextlib.closing calls: the Connection object
already supports being called as a context manager.

Change-Id: Ic8594773acbc3ff52469d6585d348076d13da67e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-07-14 14:16:33 +01:00
doc Fix doc building with Sphinx 6.0 2023-03-21 11:28:33 -04:00
releasenotes Merge "Fix parsing of zookeeper jobboard backend options" 2023-04-19 00:11:52 +00:00
taskflow db: Don't rely on autocommit behavior 2023-07-14 14:16:33 +01:00
tools Remove six 2022-05-18 16:12:37 +09: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 Update CI to use unversioned jobs template 2022-03-21 18:40:57 +00:00
bindep.txt Add local bindep.txt 2019-06-26 17:25:54 +02:00
CONTRIBUTING.rst Updating for OFTC IRC network 2021-06-07 20:43:11 +00: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 Remove six 2022-05-18 16:12:37 +09:00
run_tests.sh Switch to just using tox 2014-01-02 10:38:15 -08:00
setup.cfg Merge "Upgrade development status" 2023-05-10 21:30:49 +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 tests: Enable SQLAlchemy 2.0 deprecation warnings 2023-07-14 14:12:05 +01: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