From: "Fr. Br. George" <george@altlinux.org> To: devel@lists.altlinux.org Subject: [devel] Sphinx 4.0 и ошибка сборки "has no attribute" Date: Sun, 30 May 2021 18:20:04 +0300 Message-ID: <20210530152004.GB8804@imap.altlinux.org> (raw) Приветствую! Аттракцион «разломай Сизиф Сфинксом по уикендам» продолжается! На этот раз наш герой — старое sphinx-API, которое задепрекейтили пару-тройку лет назад, а из sphinx 4.0 поудаляли. Если сборка выдаёт что-то типа «AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'», это оно. Ссылка по теме: https://www.sphinx-doc.org/en/master/extdev/deprecated.html?deprecated-apis В частности, я встречался с add_stylesheet() → add_css_file() и add_javascript() → add_js_file() В обоих случаях это просто тупая замена, патч для починки тривиален. -- Fr. Br. George
next reply other threads:[~2021-05-30 15:20 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-30 15:20 Fr. Br. George [this message] 2021-05-30 17:34 ` Sergey Y. Afonin 2021-05-30 17:38 ` Dmitry V. Levin 2021-05-30 18:27 ` [devel] the fix for mysql-workbench-community Arseny Maslennikov 2021-05-30 21:38 ` Sergey Y. Afonin 2021-05-31 7:54 ` [devel] Sphinx 4.0 и ошибка сборки "has no attribute" Sergey V Turchin 2021-06-07 9:37 ` Sergey V Turchin 2021-06-07 10:36 ` Dmitry V. Levin 2021-06-07 11:07 ` Sergey V Turchin 2021-06-10 9:18 ` Sergey Afonin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210530152004.GB8804@imap.altlinux.org \ --to=george@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git