Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ out/
#Python
virtualenv/

.settings/
bin/
.project

83 changes: 83 additions & 0 deletions python3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,88 @@
# IBM Functions Python 3 Runtime Container

## 1.12.0
- update cassandra-driver from `3.14.0` to `3.15.1`
- update cloudant from `2.9.0` to `2.10.0`
- update ibm-cos-sdk from `2.1.3` to `2.3.0`
- update lxml from `4.2.4` to `4.2.5`
- update numpy from `1.15.0` to `1.15.2`
- update scikit-learn from `0.19.2` to `0.20.0`
- update watson-developer-cloud from `1.7.0` to `1.7.1`

Python version:
- [3.6.6](https://github.com/docker-library/python/blob/878ffe36c2391279e673a44a011f5c65943b5eb8/3.6/jessie/Dockerfile)

Python packages:
- asn1crypto 0.24.0
- attrs 18.2.0
- autobahn 18.9.2
- Automat 0.7.0
- beautifulsoup4 4.6.3
- botocore 1.12.12
- cassandra-driver 3.15.1
- certifi 2018.8.24
- cffi 1.11.5
- chardet 3.0.4
- Click 7.0
- cloudant 2.10.0
- constantly 15.1.0
- cryptography 2.3.1
- cssselect 1.0.3
- docutils 0.14
- elasticsearch 5.5.3
- Flask 1.0.2
- gevent 1.2.2
- greenlet 0.4.15
- httplib2 0.11.3
- hyperlink 18.0.0
- ibm-cos-sdk 2.3.0
- ibm-db 2.0.9
- ibmcloudsql 0.2.13
- idna 2.7
- incremental 17.5.0
- itsdangerous 0.24
- Jinja2 2.10
- jmespath 0.9.3
- kafka-python 1.4.3
- lxml 4.2.5
- MarkupSafe 1.0
- numpy 1.15.2
- pandas 0.23.4
- parsel 1.5.0
- pika 0.12.0
- Pillow 5.2.0
- pip 18.0
- psycopg2 2.7.5
- pyasn1 0.4.4
- pyasn1-modules 0.2.2
- pycparser 2.19
- PyDispatcher 2.0.5
- PyHamcrest 1.9.0
- pymongo 3.7.1
- pyOpenSSL 18.0.0
- python-dateutil 2.7.3
- pytz 2018.5
- queuelib 1.5.0
- redis 2.10.6
- requests 2.19.1
- scikit-learn 0.20.0
- scipy 1.1.0
- Scrapy 1.5.1
- service-identity 17.0.0
- setuptools 40.4.3
- simplejson 3.16.0
- six 1.11.0
- tornado 4.5.2
- Twisted 18.7.0
- txaio 18.8.1
- urllib3 1.23
- virtualenv 16.0.0
- w3lib 1.19.0
- watson-developer-cloud 1.7.1
- Werkzeug 0.14.1
- wheel 0.31.1
- zope.interface 4.5.0

## 1.11.0
- update runtime to allow more environment variables via invoker run
- update beautifulsoup4 from `4.6.0` to `4.6.3`
Expand Down
2 changes: 2 additions & 0 deletions python3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ RUN pip install --upgrade pip setuptools six && pip install --no-cache-dir -r re

RUN mkdir -p /actionProxy
ADD https://raw.githubusercontent.com/apache/incubator-openwhisk-runtime-docker/dockerskeleton%401.3.3/core/actionProxy/actionproxy.py /actionProxy/actionproxy.py
#TODO remove this workaround when upstream is updated
RUN sed -i.bak 's/from gevent.wsgi/from gevent.pywsgi/' /actionProxy/actionproxy.py

RUN mkdir -p /pythonAction
ADD https://raw.githubusercontent.com/apache/incubator-openwhisk-runtime-python/3%401.0.3/core/pythonAction/pythonrunner.py /pythonAction/pythonrunner.py
Expand Down
16 changes: 8 additions & 8 deletions python3/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Requirements.txt contains a list of dependencies for the Python Application #

# Setup modules
gevent == 1.2.2
gevent == 1.3.6
flask == 1.0.2

# default available packages for python3action
beautifulsoup4 == 4.6.3
httplib2 == 0.11.3
kafka_python == 1.4.3
lxml == 4.2.4
lxml == 4.2.5
python-dateutil == 2.7.3
requests == 2.19.1
scrapy == 1.5.1
Expand All @@ -17,8 +17,8 @@ virtualenv == 16.0.0
twisted == 18.7.0

# packages for numerics
numpy == 1.15.0
scikit-learn == 0.19.2
numpy == 1.15.2
scikit-learn == 0.20.0
scipy == 1.1.0
pandas == 0.23.4

Expand All @@ -27,9 +27,9 @@ Pillow == 5.2.0

# IBM specific python modules
ibm_db == 2.0.9
cloudant == 2.9.0
watson-developer-cloud == 1.7.0
ibm-cos-sdk == 2.1.3
cloudant == 2.10.0
watson-developer-cloud == 1.7.1
ibm-cos-sdk == 2.3.0
ibmcloudsql == 0.2.13

# Compose Libs
Expand All @@ -38,4 +38,4 @@ pymongo == 3.7.1
redis == 2.10.6
pika == 0.12.0
elasticsearch >=5.0.0,<6.0.0
cassandra-driver == 3.14.0
cassandra-driver == 3.15.1