Commit 4c07e2dc authored by Carlos Natalino's avatar Carlos Natalino
Browse files

Upgrading numpy dependency across several components

parent 7107bc16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ Jinja2==3.0.3
libyang==2.8.4
macaddress
ncclient==0.6.15
numpy<2.0.0
numpy==2.3.*
p4runtime==1.3.0
pandas==2.3.*
paramiko==2.11.*
+4 −2
Original line number Diff line number Diff line
@@ -28,13 +28,15 @@ RUN GRPC_HEALTH_PROBE_VERSION=v0.4.38 && \
    chmod +x /bin/grpc_health_probe

# Get generic Python packages
RUN python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel pip-tools
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade setuptools wheel
RUN python3 -m pip install --upgrade pip-tools

# Get common Python packages
# Note: this step enables sharing the previous Docker build steps among all the Python components
WORKDIR /var/teraflow
COPY common_requirements.in common_requirements.in
RUN pip-compile --no-build-isolation --output-file=common_requirements.txt common_requirements.in
RUN pip-compile --quiet --output-file=common_requirements.txt common_requirements.in
RUN python3 -m pip install -r common_requirements.txt

# Add common files into working directory
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

numpy
numpy==2.3.*
pandas==2.3.*
#prophet==1.1.*
scikit-learn==1.7.*
+2 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM python:3.9-slim
FROM python:3.13-slim

# Install dependencies
RUN apt-get --yes --quiet --quiet update && \
@@ -23,7 +23,7 @@ RUN apt-get --yes --quiet --quiet update && \
ENV PYTHONUNBUFFERED=0

# Download the gRPC health probe
RUN GRPC_HEALTH_PROBE_VERSION=v0.2.0 && \
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.38 && \
    wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
    chmod +x /bin/grpc_health_probe

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ APScheduler>=3.10.4
#google-api-core
#opencensus[stackdriver]
#google-cloud-profiler
numpy<2.0.0
numpy==2.3.*
#Jinja2==3.0.3
#ncclient==0.6.13
#p4runtime==1.3.0
Loading