Skip to content

TypeError: Builtin.__init__() takes 2 positional arguments but 3 were given when running poetry install on python:3.12.12-trixie #1089

Description

@MarcinWronecki

Works with: python:3.12.11-trixie
Not working with: python:3.12.12-trixie

Hi, we’ve been experiencing a build failure since this morning when running:
poetry install

  - Installing pytest-cov (6.2.1)
  - Installing pytest-django (4.11.1)
  TypeError
  Builtin.__init__() takes 2 positional arguments but 3 were given
  at /usr/src/venv/lib/python3.12/site-packages/virtualenv/run/plugin/discovery.py:35 in get_discover
       31│ 
       32│ 
       33│ def _get_default_discovery(discover_types):
       34│     return list(discover_types.keys())
    →  35│ 
       36│ 
       37│ __all__ = [
       38│     "Discovery",
       39│     "get_discover",
Cannot install histpat-toolkit.
  - Installing pytest-mock (3.14.1)
  - Installing pytest-repeat (0.9.4)
  - Installing pytest-xdist (3.7.0)
  - Installing ruff (0.11.13)
  - Installing types-simplejson (3.20.0.20250326)
  - Installing django-types (0.22.0 2f16ec3)
  TypeError
  Builtin.__init__() takes 2 positional arguments but 3 were given
  at /usr/src/venv/lib/python3.12/site-packages/virtualenv/run/plugin/discovery.py:35 in get_discover
       31│ 
       32│ 
       33│ def _get_default_discovery(discover_types):
       34│     return list(discover_types.keys())
    →  35│ 
       36│ 
       37│ __all__ = [
       38│     "Discovery",
       39│     "get_discover",
Cannot install django-types.

FYI, histpat-toolkit is our own internal package.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions