The directory openstack/common was used to keep codes from
oslo-incubator, we have retired oslo-incubator, so don't use
this directory any more
Change-Id: Id1f9c3eda6a13c3db5173c07f75a4833822631c2
Openstack infra now supports upper constraints for
all jobs. Updated tox.ini to use upper constraints
for all jobs.
Change-Id: Id6080cf39ff5c50bc85b576247822040ccaae445
Closes-Bug: #1614361
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: I4bc6f28411b4eee1df62a845e70d24c3cfbf500e
* Before this change method acquire_lock() would override all changes
made for an entity by a concurrent transaction when calling
entity.update() although one line before it should have read this
entity from DB and update only a timestamp to acquire the lock.
The solution is just to append "FOR UPDATE" to an SQL statement
when fetching an entity from DB. In this case we don't need to
artificially update a timestamp at all.
* Unit test for MySQL or Postgres is currently impossible, all unit
tests are run against sqlite
* Adding "PYTHONHASHSEED = 0" into "venv" environment in tox.ini to
prevent sphinx from failing. It should be added to "venv" because
docs building run with command "tox -evenv -- python setup.py build_sphinx".
* Fixed minor style issues
Change-Id: Ia749f397e18e927820ff7ae6bac7d28dc2aa2ba4
The pbr section in setup.cfg is not defined, so the module docs are not being
generated. This causes the 404 when clicking on the ‘Module Index’ link under
the 'Indices and Tables’ section in [0].
[0] http://docs.openstack.org/developer/mistral/
Change-Id: I337e9f6e78257a3e8e9222779dfcd600ba6cebd8
Closes-bug: #1558574
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL. https://wiki.openstack.org/wiki/Python3
And already the infra team and the oslo team are dropping py33
support from their projects.
Change-Id: Idecb51c1cfdbfa15729a7a5ccd0a473e9860f1fe
Closes-Bug: #1526170
When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.
This patch fixes this problem.
Change-Id: I65b2d9dbc7fbd883a7c90858bb08056da9d5a14f
This should eliminate the need to clean -x -i to kill pyc files in
your local directory to get tests to pass.
Change-Id: Ia6f81dfd1c6487c293012623a165d9dd474b0f4f
Closes-Bug: #1368661
Improved code style, fixed all H405 (Multi line docstring
summary not separated with an empty line) errors.
Change-Id: I6639a2e1a9dc5d3802cb1bda05c5bf9b302bc82f
- access to the "openstack_citest" db under the "openstack_citest" user
in case if tests run on Jenkins gate, do not run commands under the
'sudo' because sudo access is revoked on Jenkins gates
- add one more argument that determines in how many threads tests will be run
(by default tests will be run in 1 thread, otherwise tests fail because of
incorrect cleanup mechanism in unit tests)
Change-Id: If332e8661f9309f71a3a0174144026de99df463e
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names, and adds a hacking
check to prevent regressions.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: I7137e7199f1cd6cdeacbc6c421d294f596e2ec0e
* use oslo graduated modules, delete openstack/common package since there
is no dependency on oslo-incubator modules now.
* delete openstack-common.conf for the reason above.
* update project requirements automatically.
Change-Id: I80610cbfe7fd54263c8a2d9178ec9a2498c91899
Closes-Bug: #1459188
* remove py26: it no longer used in gates, and fails the tests on:
(dt.datetime.now() - time_before).total_seconds(),
AttributeError: 'datetime.timedelta' object has no
attribute'total_seconds'`
* don't generate __pycache__ folders
Change-Id: Ifce1e77012bc3be7785597ab84b998209b866ae8
To solve the following issue when running 'tox -e docs' it is necessary
to whitelist the binary 'rm'.
---snip---
WARNING:test command found but not installed in testenv
cmd: /usr/bin/rm
env: /home/berendt/development/branches/add_doc8/mistral/.tox/docs
Maybe forgot to specify a dependency?
---snap---
Change-Id: I120f221b64038d86afa6611f0f9634bce7b6fc0e
The main reason is to be able to create root /executions and /tasks
endpoints, the one you should be able to get without knowing their
'workbook_name'.
Change-Id: I94b64f2b0e761259fd09c828bb63075ef898e4e3
Implements: blueprint mistral-ui