Skip to content

Commit

Permalink
migration: uv with python 3.10 NOK (problème de virtualenv avec uv ré…
Browse files Browse the repository at this point in the history
…pertoire /venv)
  • Loading branch information
herve.le-bars committed Nov 1, 2024
1 parent 3384fbb commit 9c2f95f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
24 changes: 12 additions & 12 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,35 @@ dev = [
authors = [
{name = "Your Name", email = "[email protected]"},
]
requires-python = "~=3.11"
requires-python = "~=3.10"
dependencies = [
"alembic~=1.13",
"autopep8~=2.0",
"dependency-injector~=4.41",
"autopep8~=2.3",
"dependency-injector~=4.42",
"dependency-injection~=1.2",
"GeoAlchemy2~=0.14",
"GeoAlchemy2~=0.15",
"geopandas~=0.14",
"geopy~=2.4",
"gql~=3.5",
"matplotlib~=3.8",
"matplotlib~=3.9",
"openpyxl~=3.1",
"pandas~=2.2",
"poetry~=1.8",
"psycopg2-binary~=2.9",
"pydantic~=2.6",
"pydantic-settings~=2.2",
"pydantic~=2.9",
"pydantic-settings~=2.6",
"python-dotenv~=1.0",
"PyYAML~=6.0",
"requests~=2.31",
"requests~=2.32",
"requests-toolbelt~=1.0",
"shapely~=2.0",
"scipy==1.12.0",
"slack-sdk~=3.27",
"slack-sdk~=3.33",
"SQLAlchemy~=2.0",
"pycountry==23.12.11",
"fastapi[standard]>=0.111.0,<1.0.0",
"uvicorn<1.0.0,>=0.30.1",
"redis<6.0.0,>=5.0.4",
"fastapi[standard]>=0.115.0,<1.0.0",
"uvicorn~=0.32",
"redis~=5.0",
]
name = "bloom"
version = "0.1.0"
Expand Down
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ RUN apt-get update &&\
apt-get -y install curl &&\
apt-get install -y rsyslog &&\
apt-get install -y libgdal-dev &&\
apt-get install -y g++
apt-get install -y g++ &&\
apt-get install -y clang


# Define working directory
Expand Down Expand Up @@ -33,7 +34,7 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh

RUN . ~/.cargo/env &&\
cd backend &&\
uv venv &&\
uv venv /venv &&\
echo ". /venv/bin/activate" >> /root/.bashrc &&\
uv sync

Expand Down

0 comments on commit 9c2f95f

Please sign in to comment.