Skip to content

ReadTheDocs builds have been unstable for the past weeks #3856

@amolenaar

Description

@amolenaar

Not sure why, but RtD builds are erroring out quite frequently. This is a new phenomenon.

Build fail on the command:

VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs --no-interaction

with the error:

 IsolatedBuildInstallError
  Failed to install meson-python>=0.12.1, pycairo>=1.16.
  
  Output:
  Updating dependencies
  Resolving dependencies...
  
  Package operations: 5 installs, 0 updates, 0 removals
  
    - Installing packaging (25.0)
    - Installing pyproject-metadata (0.9.1)
    - Installing meson (1.7.2)
    - Installing meson-python (0.17.1)
    - Installing pycairo (1.28.0)
  
    FileNotFoundError
  
    [Errno 2] No such file or directory: '/home/docs/checkouts/readthedocs.org/user_builds/gaphor-uk/envs/3855/lib/python3.13/site-packages/virtualenv/create/via_global_ref/_virtualenv.py'
  
    at ~/.asdf/installs/python/3.13.0/lib/python3.13/pathlib/_local.py:537 in open
        533│         the built-in open() function does.
        534│         """
        535│         if "b" not in mode:
        536│             encoding = io.text_encoding(encoding)
      → 537│         return io.open(self, mode, buffering, encoding, errors, newline)
        538│ 
        539│     def read_text(self, encoding=None, errors=None, newline=None):
        540│         """
        541│         Open the file in text mode, read it, and close the file.
  
  Cannot install pycairo.
  
  
  
  Error:
  
  at ~/checkouts/readthedocs.org/user_builds/gaphor-uk/envs/3855/lib/python3.13/site-packages/poetry/utils/isolated_build.py:153 in install
      149│         )
      150│         installer.update(True)
      151│ 
      152│         if installer.run() != 0:
    → 153│             raise IsolatedBuildInstallError(
      154│                 requirements, io.fetch_output(), io.fetch_error()
      155│             )
      156│ 
      157│ 
Cannot install build-system.requires for pygobject.

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