Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python dependency #1065

Closed
wants to merge 14 commits into from
5 changes: 3 additions & 2 deletions .github/workflows/mage-ai-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@ on:
- global-api/importer-mage/**
- charts/mage-ai/**
- .github/workflows/mage-ai-develop.yml
- global-api/requirements.txt
branches: ["develop"]
pull_request:
paths:
- global-api/importer-mage/**
- global-api/requirements.txt

jobs:

pushToGHCR:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./global-api/importer-mage

steps:
- uses: actions/checkout@v4

Expand Down
4 changes: 2 additions & 2 deletions global-api/importer-mage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ COPY ${PROJECT_NAME} ${PROJECT_NAME}

ENV USER_CODE_PATH=${USER_CODE_PATH}

RUN pip3 install -r ${USER_CODE_PATH}/requirements.txt
RUN pip install -r ${USER_CODE_PATH}/requirements.txt

ENV PYTHONPATH="${PYTHONPATH}:${MAGE_CODE_PATH}"

CMD ["/bin/sh", "-c", "/app/run_app.sh"]
CMD ["/bin/sh", "-c", "/app/run_app.sh"]
42 changes: 33 additions & 9 deletions global-api/importer-mage/cc-mage/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,34 @@
#osmnx==1.9.3
#cython
numpy
pandas==2.2.2
#shapely==2.0.4
#fiona
#pyproj==3.6.*
#geopandas==0.14.4
#xarray==2024.*
#netcdf4
cython
numpy
pandas==2.2.2
#annotated-types==0.7.0
#anyio==4.7.0
#certifi==2024.8.30
#charset-normalizer==3.4.0
#colorama==0.4.6
#distro==1.9.0
#h11==0.14.0
#httpcore==1.0.7
#httpx==0.28.1
#idna==3.10
#jiter==0.8.2
#langsmith==0.2.1
#openai==1.57.1
#orjson==3.10.12
#pydantic==2.10.3
#pydantic-core==2.27.1
#python-dotenv==1.0.1
#PyYAML==6.0.2
#requests==2.32.3
#requests-toolbelt==1.0.0
#sniffio==1.3.1
#tqdm==4.67.1
#typing_extensions==4.12.2
#urllib3==2.2.3
#shapely==2.0.4
#fiona
#pyproj==3.6.*
#geopandas==0.14.4
#xarray==2024.*
#netcdf4
6 changes: 4 additions & 2 deletions global-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ flake8==7.1.1
fsspec==2024.*
geopandas>=0.12,<1.1
mypy==1.14.1
osmnx==2.0.1
osmnx==1.9.3
pandas==2.2.3
psycopg2-binary==2.9.10
pydantic==2.10.3
pydantic-core==2.27.1
pydantic-settings==2.*
pytest==8.3.4
rioxarray==0.18.*
Expand All @@ -27,4 +29,4 @@ openpyxl==3.1.*
pytest==8.3.4
pytest-cov==6.0.0
httpx==0.28.1
pyproj==3.7.*
pyproj==3.7.*
Loading