From 0292c68abf7407a8b6974f7f9cee5e8714f3e04a Mon Sep 17 00:00:00 2001 From: Nick Darrell Date: Wed, 4 Oct 2023 13:04:35 +0000 Subject: [PATCH] add requirements --- Dockerfile | 12 ++----- pip.conf | 5 +++ requirements.txt | 91 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+), 9 deletions(-) create mode 100644 pip.conf create mode 100644 requirements.txt diff --git a/Dockerfile b/Dockerfile index cb104f2..fa0e012 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,10 @@ FROM python:3.9.6 +ENV PIP_CONFIG_FILE pip.conf + RUN apt-get update RUN apt-get -y install coinor-cbc -RUN python -m pip install pulp -RUN python -m pip install pydantic -RUN python -m pip install daemonize -RUN python -m pip install sqspy -RUN python -m pip install -U pytest -RUN python -m pip install pytest-cov -RUN python -m pip install pytest-stub -RUN python -m pip install pytest-mock -RUN python -m pip install girth --upgrade +RUN python -m pip install -r requirements.txt RUN mkdir /app WORKDIR /app diff --git a/pip.conf b/pip.conf new file mode 100644 index 0000000..669e4a7 --- /dev/null +++ b/pip.conf @@ -0,0 +1,5 @@ +[global] +index = https://${NEXUS_TOKEN}@artifact.it.getyardstick.com/repository/meazurelearning-pypi-internal/pypi +index-url = https://${NEXUS_TOKEN}@artifact.it.getyardstick.com/repository/meazurelearning-pypi-internal/simple +extra-index = https://pypi.python.org/pypi +extra-index-url = https://pypi.python.org/simple/ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..754b70e --- /dev/null +++ b/requirements.txt @@ -0,0 +1,91 @@ +annotated-types==0.5.0 +attrs==21.2.0 +Automat==20.2.0 +Babel==2.8.0 +bcrypt==3.2.0 +blinker==1.4 +boto3==1.28.58 +botocore==1.31.58 +certifi==2020.6.20 +chardet==4.0.0 +click==8.0.3 +cloud-init==23.1.2 +colorama==0.4.4 +command-not-found==0.3 +configobj==5.0.6 +constantly==15.1.0 +coverage==7.3.2 +cryptography==3.4.8 +daemonize==2.5.0 +dbus-python==1.2.18 +distro==1.7.0 +distro-info===1.1build1 +exceptiongroup==1.1.3 +httplib2==0.20.2 +hyperlink==21.0.0 +idna==3.3 +importlib-metadata==4.6.4 +incremental==21.3.0 +iniconfig==2.0.0 +jeepney==0.7.1 +Jinja2==3.0.3 +jmespath==1.0.1 +jsonpatch==1.32 +jsonpointer==2.0 +jsonschema==3.2.0 +keyring==23.5.0 +launchpadlib==1.10.16 +lazr.restfulclient==0.14.4 +lazr.uri==1.0.6 +MarkupSafe==2.0.1 +mirth==0.9.0 +more-itertools==8.10.0 +netifaces==0.11.0 +numpy==1.26.0 +oauthlib==3.2.0 +packaging==23.2 +pexpect==4.8.0 +pluggy==1.3.0 +ptyprocess==0.7.0 +PuLP==2.7.0 +pyasn1==0.4.8 +pyasn1-modules==0.2.1 +pydantic==2.4.2 +pydantic_core==2.10.1 +PyGObject==3.42.1 +PyHamcrest==2.0.2 +PyJWT==2.3.0 +pyOpenSSL==21.0.0 +pyparsing==2.4.7 +pyrsistent==0.18.1 +pyserial==3.5 +pytest==7.4.2 +pytest-cov==4.1.0 +pytest-mock==3.11.1 +pytest-stub==1.1.0 +python-apt==2.4.0+ubuntu1 +python-dateutil==2.8.2 +python-debian===0.1.43ubuntu1 +python-magic==0.4.24 +pytz==2022.1 +PyYAML==5.4.1 +requests==2.25.1 +s3transfer==0.7.0 +scipy==1.11.3 +SecretStorage==3.3.1 +service-identity==18.1.0 +six==1.16.0 +sos==4.4 +sqspy==1.0.0 +ssh-import-id==5.11 +systemd-python==234 +tomli==2.0.1 +Twisted==22.1.0 +typing_extensions==4.8.0 +ubuntu-advantage-tools==8001 +ufw==0.36.1 +unattended-upgrades==0.1 +urllib3==1.26.5 +wadllib==1.3.6 +zipp==1.0.0 +zope.interface==5.4.0