From: subhash kumar singh Date: Fri, 6 Sep 2024 07:33:57 +0000 (+0000) Subject: Fix build error by updating pandas version X-Git-Tag: k-release~6 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=de219b4db421baadf7d32abd6268397d5edd4008;p=aiml-fw%2Fathp%2Fdata-extraction.git Fix build error by updating pandas version Fix build error by updating pandas version. Change-Id: Ic8a7de6607308fdab30a075795a5f6d03ed56fd4 Signed-off-by: subhash kumar singh --- diff --git a/Dockerfile b/Dockerfile index ced0e64..ffba2aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,7 @@ # limitations under the License. # # ================================================================================== -#Base Image -FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 as ubuntu -FROM ubuntu:18.04 +FROM ubuntu:22.04 # location in the container ENV TA_DIR /home/app/ @@ -33,7 +31,7 @@ RUN apt-get update && \ apt-get clean; RUN apt-get update && \ - apt-get install scala=2.11.12-4~18.04 -y && \ + apt-get install scala -y && \ apt-get clean; # Setup JAVA_HOME -- useful for docker commandline diff --git a/requirements.txt b/requirements.txt index 69035ae..06461e1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ pyspark==3.1.2 cassandra-driver==3.25.0 json5==0.9.6 influxdb-client==1.20.0 -pandas==1.1.5 +pandas==2.2.2 importlib-metadata==4.8.1 lru-dict==1.1.7 jsonpickle==2.0.0 @@ -10,3 +10,5 @@ Flask==2.0.1 Flask-API==3.0.post1 Flask-RESTful==0.3.9 PyYAML +Werkzeug==2.2.2 +urllib3~=1.26.15 \ No newline at end of file diff --git a/tox.ini b/tox.ini index b7feea4..1a191e5 100644 --- a/tox.ini +++ b/tox.ini @@ -29,7 +29,7 @@ deps= coverage pytest-cov mock - pandas + pandas==2.2.2 python-dotenv pyspark influxdb_client