Skip to content

Commit

Permalink
Fix sed command in RTD config
Browse files Browse the repository at this point in the history
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
~~~
  • Loading branch information
lucc committed Aug 14, 2024
1 parent 22940eb commit 5322073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5322073

Please sign in to comment.