From 672cc26e1399d83dbb83cc6a71c65e86c4300c13 Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Wed, 14 Aug 2024 23:18:24 +0200 Subject: [PATCH] Fix sed command in RTD config The build process on readthedocs seems to use some strange parsing logic because the command `sed -i '/gpg/d;/notmuch2/d' pyproject.toml` resulted in an error: ~~~ sed: no input files /bin/sh: 1: /notmuch2/d: not found ~~~ --- readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs.yaml b/readthedocs.yaml index 4fabe290c..e93b850b0 100644 --- a/readthedocs.yaml +++ b/readthedocs.yaml @@ -12,7 +12,7 @@ build: jobs: # remove and mock problematic dependencies pre_install: - - sed -i '/gpg/d;/notmuch2/d' pyproject.toml + - sed -i -e /gpg/d -e /notmuch2/d pyproject.toml - touch gpg.py - echo NullPointerError = NotmuchError = None > notmuch2.py # make the git state clean again for setuptools_scm