From 55548c4661bf9449f036ad9c724dad940f10e06d Mon Sep 17 00:00:00 2001 From: Benjamin Webb <40066515+webb-ben@users.noreply.github.com> Date: Tue, 23 Jul 2024 10:14:23 -0400 Subject: [PATCH] Unpin numpy --- .github/workflows/main.yml | 7 ++++++- Dockerfile | 2 ++ requirements.txt | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c0a0308..cb2a1e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,9 +20,14 @@ jobs: with: postgresql password: ${{ env.POSTGRESQL_PASSWORD }} postgresql db: 'test' + - name: show build + run: | + docker build . - name: Run pygeoapi run: | - docker run -d -it --rm -p 5000:80 $(docker build -q .) + docker run -d -it --name pygeoapi -p 5000:80 $(docker build -q .) + sleep 10 + docker logs pygeoapi - name: Install requirements 📦 run: | pip3 install https://github.com/geopython/pygeoapi/archive/refs/heads/master.zip diff --git a/Dockerfile b/Dockerfile index cc6c0b2..20e78d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,6 @@ ADD . /pygeoapi_plugins RUN pip3 install -e /pygeoapi_plugins +RUN pip3 list + ENTRYPOINT [ "/entrypoint.sh" ] diff --git a/requirements.txt b/requirements.txt index 765baa9..56af997 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ pygeoapi geoalchemy geopandas -numpy<2.0.0 +numpy psycopg2 pygeofilter[backend-sqlalchemy] requests