Skip to content

Commit e11390d

Browse files
committed
adding transforms
1 parent 3bf9aed commit e11390d

File tree

15 files changed

+833
-204
lines changed

15 files changed

+833
-204
lines changed

.github/workflows/python-test.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
python -m pip install pytest pytest-cov pytest-benchmark pytest-mock
23-
python -m pip install networkx
24-
if [ -f requirements.txt ];
25-
then
26-
pip install -r requirements.txt;
27-
fi
22+
python -m pip install . pytest pytest-cov pytest-benchmark
2823
- name: Test with pytest and check test coverage
2924
run: |
3025
pytest --cov=ngraph --cov-fail-under=85

Dockerfile

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
# Stage 1: Base image with system dependencies
2-
FROM python:3.13 AS base
2+
FROM python:3.13-slim AS base
33

44
# Prevent interactive config during installation
55
ENV DEBIAN_FRONTEND=noninteractive
66

77
# Install system dependencies and cleanup
88
RUN apt-get update && \
9+
apt-get upgrade -y && \
910
apt-get install -y \
10-
build-essential \
11-
cmake \
12-
curl \
13-
wget \
14-
unzip \
15-
git \
16-
libgeos-dev \
17-
libproj-dev \
18-
libgdal-dev \
11+
build-essential \
12+
cmake \
13+
curl \
14+
wget \
15+
unzip \
16+
git \
17+
libgeos-dev \
18+
libproj-dev \
19+
libgdal-dev \
1920
&& apt-get clean && \
2021
rm -rf /var/lib/apt/lists/*
2122

@@ -25,10 +26,6 @@ FROM base AS jupyterlab
2526
# Upgrade pip and setuptools
2627
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
2728

28-
# Copy requirements first to leverage cache
29-
COPY requirements.txt .
30-
RUN pip install --no-cache-dir -r requirements.txt
31-
3229
# Install Python packages
3330
RUN pip install --no-cache-dir \
3431
numpy \
@@ -71,4 +68,4 @@ VOLUME /root/env
7168
ENTRYPOINT ["/tini", "-g", "--"]
7269

7370
# Default command to run when the container starts
74-
CMD ["/bin/bash"]
71+
CMD ["/bin/bash"]

ngraph/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import ngraph.transform

0 commit comments

Comments
 (0)