Make the py33 Jenkins job happy

This is the first step toward getting Keystone up and running on
Python 3. This patch will create a virtualenv, but will not actually
run any tests. Future patches will enable testing modules as
incompatibilities are worked out.

bp python3

Change-Id: I1ca3bad7ec8789872791a18594cd6f3b4bf911eb
This commit is contained in:
David Stanek 2014-03-27 20:07:50 +00:00
parent fe8cb71bd9
commit 455cd6fd7f
3 changed files with 86 additions and 0 deletions

27
requirements-py3.txt Normal file
View File

@ -0,0 +1,27 @@
# keystone dependencies
pbr>=0.6,!=0.7,<1.0
WebOb>=1.2.3
# Eventlet is considered dead for Py3
# eventlet>=0.13.0
greenlet>=0.3.2
netaddr>=0.7.6
PasteDeploy>=1.5.0
Paste
Routes>=1.12.3
six>=1.5.2
SQLAlchemy>=0.7.8,<=0.9.99
sqlalchemy-migrate>=0.8.2,!=0.8.4
passlib
lxml>=2.3
iso8601>=0.1.9
python-keystoneclient>=0.7.0
oslo.config>=1.2.0
# oslo.messaging tries to pull in eventlet
# oslo.messaging>=1.3.0a4
Babel>=1.3
oauthlib>=0.6
dogpile.cache>=0.5.0
jsonschema>=2.0.0,<3.0.0
# pycadf tries to pull in eventlet
# pycadf>=0.4.1
posix_ipc

54
test-requirements-py3.txt Normal file
View File

@ -0,0 +1,54 @@
hacking>=0.8.0,<0.9
# pysqlite does not install on py3
# Optional backend: SQL
# pysqlite
# python-memcached does not install on py3
# Optional backend: Memcache
# python-memcached>=1.48
# Optional dogpile backend: MongoDB
pymongo>=2.4
# python-ldap does not install on py3
# authenticate against an existing LDAP server
# python-ldap==2.3.13
# Testing
# computes code coverage percentages
coverage>=3.6
# fixture stubbing
fixtures>=0.3.14
# mock object framework
mock>=1.0
oslotest
# required to build documentation
sphinx>=1.1.2,<1.2
# test wsgi apps without starting an http server
WebTest>=2.0
# mox was removed in favor of mock. We should not re-enable this module. See
# discussion: http://lists.openstack.org/pipermail/openstack-dev/2013-July/012484.html
#mox>=0.5.3
discover
python-subunit>=0.0.18
testrepository>=0.0.18
testtools>=0.9.34
testscenarios>=0.4
# for python-keystoneclient
# keystoneclient <0.2.1
httplib2>=0.7.5
# replaces httplib2 in keystoneclient >=0.2.1
requests>=1.1
keyring>=2.1
# For documentation
oslosphinx
# Used only by oslo
kombu>=2.4.8
lockfile>=0.8
stevedore>=0.14

View File

@ -11,6 +11,11 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:py33]
deps = -r{toxinidir}/requirements-py3.txt
-r{toxinidir}/test-requirements-py3.txt
commands = python -c "import sys; print('hello from Python', sys.version_info)"
[testenv:pep8]
envdir = {toxworkdir}/venv
commands =