diff --git a/.dockerignore b/.dockerignore index 314aaa37b..b9304474d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -137,3 +137,6 @@ venv.bak/ # Pyre type checker .pyre/ + +# editable installs +src/ diff --git a/.gitignore b/.gitignore index 96231eaba..da35471d9 100644 --- a/.gitignore +++ b/.gitignore @@ -148,3 +148,6 @@ dmypy.json # Pyre type checker .pyre/ + +# editable installs +src/ diff --git a/docker/Dockerfile.all.p39 b/docker/Dockerfile.all.p39 index dffa0b187..ef07f66af 100644 --- a/docker/Dockerfile.all.p39 +++ b/docker/Dockerfile.all.p39 @@ -1,10 +1,10 @@ -FROM pytorch/pytorch:2.0.0-cuda11.7-cudnn8-runtime +FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime ENV DEBIAN_FRONTEND="noninteractive" RUN apt-get update \ && apt-get install -y git build-essential wget curl vim ffmpeg libsm6 libxext6 software-properties-common unixodbc-dev \ - && pip install posix-ipc \ + && pip install --no-cache-dir posix-ipc gevent \ && apt-get --purge autoremove -y build-essential \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ @@ -22,6 +22,6 @@ RUN apt-get update \ ENV PYTHONPATH /opt/zetta_utils WORKDIR /opt/zetta_utils ADD pyproject.toml /opt/zetta_utils/ -RUN pip install '.[modules]' +RUN pip install --no-cache-dir '.[modules]' COPY . /opt/zetta_utils/ RUN zetta --help diff --git a/pyproject.toml b/pyproject.toml index a497841cb..d87eece91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ classifiers = [ keywords = ["neuroscience connectomics EM"] license = { text = "MIT" } urls = { Homepage = "https://github.com/zettaai/zetta_utils" } -requires-python = ">3.8,<3.11" +requires-python = ">3.8,<3.12" dependencies = [ "attrs >= 21.3", "typeguard == 4.1.5",