-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Issue
Until yesterday we were able to build our docker containers successfully, today it breaks (due to the poetry and virtualenv versions not being pinned, so they pulled latests ones)
Environment
- OS: Host MacOS, docker container:
python:3.12-slim
Relevant bits of the dockerfile:
FROM python:3.12-slim
...
RUN pip install poetry
...
RUN poetry config virtualenvs.create false
...
RUN poetry install --no-root --no-ansi --no-interaction --no-cache ...
Output
53.27 TypeError
53.29
53.29 Builtin.__init__() takes 2 positional arguments but 3 were given
53.29
53.29 at /usr/local/lib/python3.12/site-packages/virtualenv/run/plugin/discovery.py:35 in get_discover
53.33 31│
53.33 32│
53.33 33│ def _get_default_discovery(discover_types):
53.34 34│ return list(discover_types.keys())
53.34 → 35│
53.35 36│
53.35 37│ __all__ = [
53.35 38│ "Discovery",
53.55 39│ "get_discover",
53.55
53.55 Cannot install psycopg2.After pinning virualenv versions to <20.35.1 docker containers were successfully build, up and tests passed
ArtemIlinArammeem, michael-brown-tmc and edgarrmondragon