Browse Source

switch to using python3

keep-around/e31dbee2991c65743bd2305cc3cfffe3b516d43e
singuliere 3 years ago
parent
commit
408fa85e03
No known key found for this signature in database GPG Key ID: 900857755EF189C2
  1. 4
      enough/common/data/base.dockerfile
  2. 17
      requirements-dev.txt
  3. 7
      requirements.txt
  4. 3
      tox.ini

4
enough/common/data/base.dockerfile

@ -1,9 +1,9 @@
FROM debian:buster
RUN apt-get update && \
apt-get install --quiet -y curl virtualenv python2 gcc libssl-dev python-dev make
apt-get install --quiet -y curl virtualenv python3 gcc libssl-dev python3-dev make
RUN curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
WORKDIR /opt
RUN virtualenv venv
RUN virtualenv --python=python3 venv
ENV PATH="/opt/venv/bin:${PATH}"

17
requirements-dev.txt

@ -15,7 +15,6 @@ asn1crypto==0.24.0 # via cryptography
atomicwrites==1.2.1 # via pytest
attrs==18.2.0 # via pytest
babel==2.6.0 # via sphinx
backports.functools-lru-cache==1.5 # via arrow
bcrypt==3.1.5 # via paramiko
binaryornot==0.4.4 # via cookiecutter
cerberus==1.2 # via molecule
@ -27,25 +26,19 @@ click==6.7 # via click-completion, cookiecutter, molecule, pip-to
cliff==2.14.0
cmd2==0.8.9 # via cliff
colorama==0.3.9 # via molecule, python-gilt
configparser==3.5.0 # via flake8
contextlib2==0.5.5 # via cmd2
cookiecutter==1.6.0 # via molecule
coverage==4.5.2
cryptography==2.4.2 # via ansible, openstacksdk, paramiko
decorator==4.3.0 # via openstacksdk
docutils==0.14 # via sphinx
dogpile.cache==0.6.8 # via openstacksdk
enum34==1.1.6 # via cmd2, cryptography, flake8
fasteners==0.14.1 # via python-gilt
filelock==3.0.10 # via tox
flake8==3.5.0
funcsigs==1.0.2 # via mock, pytest
future==0.17.1 # via cookiecutter
futures==3.2.0 # via openstacksdk
git-url-parse==1.1.0 # via python-gilt
idna==2.8 # via cryptography, requests
imagesize==1.1.0 # via sphinx
ipaddress==1.0.22 # via cryptography, openstacksdk
iso8601==0.1.12 # via keystoneauth1, openstacksdk
jinja2-time==0.2.0 # via cookiecutter
jinja2==2.10
@ -55,7 +48,6 @@ jsonpointer==2.0 # via jsonpatch
keystoneauth1==3.11.2 # via openstacksdk
markupsafe==1.1.0 # via jinja2
mccabe==0.6.1 # via flake8
mock==2.0.0 # via pytest-mock
molecule==2.16.0
monotonic==1.5 # via fasteners
more-itertools==5.0.0 # via pytest
@ -67,9 +59,8 @@ os-client-config==1.31.2 # via shade
os-service-types==1.4.0 # via keystoneauth1, openstacksdk
packaging==18.0 # via sphinx
paramiko==2.4.2 # via ansible
pathlib2==2.3.3 # via pytest
pathspec==0.5.9 # via yamllint
pbr==4.0.4 # via cliff, git-url-parse, keystoneauth1, mock, molecule, openstacksdk, os-service-types, python-gilt, shade, stevedore
pbr==4.0.4 # via cliff, git-url-parse, keystoneauth1, molecule, openstacksdk, os-service-types, python-gilt, shade, stevedore
pexpect==4.6.0 # via molecule
pip-tools==3.2.0
pluggy==0.8.0 # via pytest, tox
@ -94,22 +85,18 @@ pytz==2018.9 # via babel
pyyaml==3.12 # via ansible, ansible-lint, cliff, molecule, openstacksdk, python-gilt, yamllint
requests==2.21.0
requestsexceptions==1.4.0 # via openstacksdk
scandir==1.9.0 # via pathlib2
sh==1.12.14
shade==1.30.0
six==1.11.0 # via ansible-lint, bcrypt, click-completion, cliff, cmd2, cryptography, fasteners, keystoneauth1, mock, molecule, more-itertools, munch, openstacksdk, packaging, pathlib2, pip-tools, pynacl, pytest, python-dateutil, sphinx, stevedore, testinfra, tox
six==1.11.0 # via ansible-lint, bcrypt, click-completion, cliff, cmd2, cryptography, fasteners, keystoneauth1, molecule, more-itertools, munch, openstacksdk, packaging, pip-tools, pynacl, pytest, python-dateutil, sphinx, stevedore, testinfra, tox
snowballstemmer==1.2.1 # via sphinx
sphinx==1.8.3
sphinxcontrib-websupport==1.1.0 # via sphinx
stevedore==1.30.0 # via cliff, keystoneauth1
subprocess32==3.5.3 # via cmd2
tabulate==0.8.2 # via molecule
testinfra==1.14.0
toml==0.10.0 # via tox
tox==3.6.1
tree-format==0.1.2 # via molecule
typing==3.6.6 # via sphinx
unicodecsv==0.14.1 # via cliff
urllib3==1.24.1 # via requests
virtualenv==16.2.0 # via tox
wcwidth==0.1.7 # via cmd2

7
requirements.txt

@ -22,20 +22,15 @@ click==6.7 # via click-completion, cookiecutter, git-url-parse, m
cliff==2.14.0
cmd2==0.8.9 # via cliff
colorama==0.3.9 # via molecule, python-gilt
configparser==3.5.0 # via flake8
contextlib2==0.5.5 # via cmd2
cookiecutter==1.6.0 # via molecule
cryptography==2.4.2 # via ansible, openstacksdk, paramiko
decorator==4.1.2 # via openstacksdk
dogpile.cache==0.6.4 # via openstacksdk
enum34==1.1.6 # via cmd2, cryptography, flake8
fasteners==0.14.1 # via python-gilt
flake8==3.5.0 # via molecule
future==0.16.0 # via cookiecutter
futures==3.1.1 # via openstacksdk
git-url-parse==1.0.1 # via python-gilt
idna==2.6 # via cryptography, requests
ipaddress==1.0.18 # via cryptography, openstacksdk
iso8601==0.1.12 # via keystoneauth1, openstacksdk
jinja2-time==0.2.0 # via cookiecutter
jinja2==2.10
@ -79,11 +74,9 @@ sh==1.12.14
shade==1.30.0
six==1.11.0 # via ansible-lint, bcrypt, click-completion, cliff, cmd2, cryptography, fasteners, git-url-parse, keystoneauth1, molecule, munch, openstacksdk, pynacl, python-dateutil, stevedore, testinfra
stevedore==1.26.0 # via cliff, keystoneauth1
subprocess32==3.5.3 # via cmd2
tabulate==0.8.2 # via molecule
testinfra==1.14.0 # via molecule
tree-format==0.1.2 # via molecule
unicodecsv==0.14.1 # via cliff
urllib3==1.22 # via requests
wcwidth==0.1.7 # via cmd2
whichcraft==0.4.1 # via cookiecutter

3
tox.ini

@ -1,6 +1,5 @@
[tox]
minversion = 2.0
envlist = py27,pep8,docs
envlist = py3,pep8,docs
[testenv]
setenv = VIRTUAL_ENV={envdir}

Loading…
Cancel
Save