Commit Graph

19 Commits

Author SHA1 Message Date
Andreas Jaeger e88f6b747a Retire craton
Remove everything, add a README with explanation.

Change-Id: I7c8fcfac0d904f144b6a3838d25db0987d1e74a5
2018-01-18 15:22:28 +01:00
Thomas Maddox 6884f8ff8c Move to MySQL 5.7 and SQLAlchemy>=1.1.0
In an effort to support JSON Path variable
queries, we need to:
* Pin to MySQL 5.7
* Use JSON column type
* Use a newer SQLAlchemy library.

Change-Id: I98ae021c9cd9755f51e67e56135db164e8ae1f50
Partial-Bug: 1671116
Depends-On: I36b7ae9cf68aeef0e5dbcb1f17db52b81efd6ffe
2017-03-21 21:22:55 +00:00
Ian Cordasco b8114d68cb Remove tox usage of upper-constraints
Craton has opted out of global-requirements. This means that we will
need to stop using upper-constraints as those are generated from
openstack/requirements's global-requirements file.

This will allow our work that depends on SQLAlchemy > 1.1 to continue.

Change-Id: Ic5d76d189968c843f1a2fc7bae7f7ad07be785cc
2017-03-13 14:02:11 -05:00
Jenkins e82966cf25 Merge "Adds functional testing" 2016-11-30 15:46:42 +00:00
Sulochan Acharya 3faad41844 Adds functional testing
- Adds some structure for functional testing.

- Partially closes bp for functional tests as not
all tests are completely written, rather, a structure
is present that we can iterate upon.

- tox.ini has been change so that functional tests
dont run by default under tox. To include functional
tests run: tox -e functional (this is a short fix untill
we switch to py.test)

Change-Id: Id1dd11db89e39f93ece56d14cd221083694ded4f
2016-11-29 16:17:48 +00:00
git-harry 97b8775301 Remove code related to Python versions before 3.5
This commit removes any occurrence of the library six.

Six is used to aid in writing code that is compatible with both Python 2
and Python 3. Craton no longer supports the use of Python 2.x, and so
six is no longer required.

The minimum version of Python supported is 3.5, the classifiers are
updated accordingly in setup.cfg.

The docs have been updated to specify 3.5 as the minimum version.

Tox no longer attempts to test against Python 3.4.

This change also removes .travis.yml because it is left over from
from before the project was moved to the OpenStack project namespace and
is no longer required.

Closes-bug: #1630003
Change-Id: I63cba2b6f21a507c0ff02edbef24b663af400c12
2016-11-24 12:31:14 +00:00
git-harry 22bb66714c Use Python 3.5 with tox
Update tox.ini so that pep8 testing uses a Python interpreter with
version 3.5. Without this fix the checks fail when using syntax that is
not supported by 2.7 because the gate defaults to 2.7.

basepython has been set in the parent section but can be overridden for
specific environments if required at a later date. This means all
enviroments now require 3.5 and not simply 3.

Change-Id: I22151eb1ac7398579ac9fb53c5ff1e664407ec93
2016-11-24 12:29:26 +00:00
Jenkins 263dfeeb9d Merge "Don't include openstack/common in flake8 exclude list" 2016-10-13 12:25:09 +00:00
pawnesh.kumar d2890f45c1 Use upper-constraints for tox envs
Pin tox environments to upper-constraints to avoid conflicts with
library releases.

Change-Id: I230e51dbab7cc9819707da39eb7fe56687708f83
2016-10-13 03:26:33 +00:00
pawnesh.kumar 0929b3a7f4 Don't include openstack/common in flake8 exclude list
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: I99aac064f530fad50727efac1ec6ba3baf2ef265
2016-10-12 15:59:22 +05:30
Syed Ahsan Shamim Zaidi 9236333561 Remove PY27 testing from tox.ini
This patchset removes py27 testing from tox.ini since craton
project uses python 3.

Change-Id: Icf85480dd22b3a85e04e11013a406f2471f880c6
Closes-bug: #1619503
2016-09-01 23:56:06 +00:00
Andreas Jaeger a82cddff3d Cleanup tox.ini: Remove obsolete constraints
Remove old and unused constraints environments from tox.ini. Those
have never been used. Use standard environments as default list.

Note that the repo has in the past not used constraints in OpenStack
CI, this change keeps the status quo.

For more information about constraints see:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html

Change-Id: If43cd549a608bfd102a61e8486813a0c00950ad9
2016-08-26 17:11:17 +02:00
Syed Ahsan Shamim Zaidi e4b8a3c650 tox.ini file needs to be updated to include 'whitelist_externals'
Currently the tox.ini file tries to find path and generates error,
this patch fixes this by including whitelist_externals to avoid
warnings.

Change-Id: I8fce0b733c803ff16f2711b7837e2ecb5adddf07
Closes-bug: #1613118
2016-08-19 16:31:10 +00:00
Jim Baker 0ecfbbe103 Merge pull request #99 from sigmavirus24/default-basepython
Use python 3 as the basepython interpreter
2016-06-16 23:42:08 -06:00
Ian Cordasco 596dea3342 Use python 3 as the basepython interpreter 2016-06-15 16:28:23 -05:00
sulochan acharya 292c4aa75d Adds migrations for database 2016-06-08 12:06:57 +01:00
sulochan acharya a62d455333 Few cleanup and add py35 to tox 2016-05-25 15:07:57 +01:00
sulochan acharya 3e10e3fac6 Adds tests and delete dyml suff
tests are incomplete, will need for fix once we
have sql models done and api properly calling
db api.
2016-04-14 16:14:52 -04:00
Angus Lees 455e5086b2 Initial Cookiecutter Commit (with minor tweaks) 2016-03-23 16:57:20 +11:00