Build: x86_64/community-testing
Name: python-humanfriendly-10.0-3
author: qontinuum
email: qontinuum at artixlinux.org
[1]https://orion.artixlinux.org/job/packagesPython/job/python-humanfrie
ndly/job/master/1/
References
1. https://orion.artixlinux.org/job/packagesPython/job/python-humanfriendly/job/master/1/
-------------- next part --------------
Branch indexing
Looking up repository packagesPython/python-humanfriendly
Querying the current revision of branch master...
Current revision of branch master is d2dfd0a82cf8bdbd32355565fe0d7f33339faee8
Obtained Jenkinsfile from d2dfd0a82cf8bdbd32355565fe0d7f33339faee8
Loading library artix-ci at master
Attempting to resolve master from remote references...
> git --version # timeout=10
> git --version # 'git version 2.32.0'
> git ls-remote -- https://gitea.artixlinux.org/artix/pipeline-libs.git # timeout=10
Found match: refs/heads/master revision d9ed61b32f86824fd57e33b28d07d6ad7820bf63
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
Warning: CredentialId "jenkins-gotea-token" could not be found.
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://gitea.artixlinux.org/artix/pipeline-libs.git
> git init /var/lib/jenkins/workspace/thon_python-humanfriendly_master at libs/artix-ci # timeout=10
Fetching upstream changes from https://gitea.artixlinux.org/artix/pipeline-libs.git
> git --version # timeout=10
> git --version # 'git version 2.32.0'
> git fetch --no-tags --force --progress -- https://gitea.artixlinux.org/artix/pipeline-libs.git +refs/heads/master:refs/remotes/origin/master # timeout=10
> git config remote.origin.url https://gitea.artixlinux.org/artix/pipeline-libs.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
Avoid second fetch
Checking out Revision d9ed61b32f86824fd57e33b28d07d6ad7820bf63 (master)
> git config core.sparsecheckout # timeout=10
> git checkout -f d9ed61b32f86824fd57e33b28d07d6ad7820bf63 # timeout=10
Commit message: "include version in build email subject"
> git --version # timeout=10
> git --version # 'git version 2.32.0'
[Gitea] Notifying branch build status: PENDING Build started...
[Gitea] Notified
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/thon_python-humanfriendly_master
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Prepare)
[Pipeline] catchError
[Pipeline] {
[Pipeline] checkout
[2022-02-14T11:00:40.824Z] The recommended git tool is: NONE
[2022-02-14T11:00:40.824Z] Warning: CredentialId "jenkins-gotea-token" could not be found.
[2022-02-14T11:00:40.824Z] Cloning the remote Git repository
[2022-02-14T11:00:40.824Z] Cloning with configured refspecs honoured and without tags
[2022-02-14T11:00:40.824Z] Cloning repository https://[email protected]/packagesPython/python-humanfriendly.git
[2022-02-14T11:00:40.824Z] > git init /var/lib/jenkins/workspace/thon_python-humanfriendly_master # timeout=10
[2022-02-14T11:00:40.829Z] Fetching upstream changes from https://[email protected]/packagesPython/python-humanfriendly.git
[2022-02-14T11:00:40.829Z] > git --version # timeout=10
[2022-02-14T11:00:40.833Z] > git --version # 'git version 2.32.0'
[2022-02-14T11:00:40.833Z] > git fetch --no-tags --force --progress -- https://[email protected]/packagesPython/python-humanfriendly.git +refs/heads/master:refs/remotes/origin/master # timeout=10
[2022-02-14T11:00:41.050Z] > git config remote.origin.url https://[email protected]/packagesPython/python-humanfriendly.git # timeout=10
[2022-02-14T11:00:41.054Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
[2022-02-14T11:00:41.058Z] Avoid second fetch
[2022-02-14T11:00:41.059Z] Checking out Revision d2dfd0a82cf8bdbd32355565fe0d7f33339faee8 (master)
[2022-02-14T11:00:41.059Z] > git config core.sparsecheckout # timeout=10
[2022-02-14T11:00:41.062Z] > git checkout -f d2dfd0a82cf8bdbd32355565fe0d7f33339faee8 # timeout=10
[2022-02-14T11:00:41.071Z] Commit message: "[trunk] -> [community-testing] 'python-humanfriendly-10.0-3' add"
[2022-02-14T11:00:41.072Z] First time build. Skipping changelog.
[2022-02-14T11:00:41.072Z] Cleaning workspace
[2022-02-14T11:00:41.072Z] > git rev-parse --verify HEAD # timeout=10
[2022-02-14T11:00:41.076Z] Resetting working tree
[2022-02-14T11:00:41.076Z] > git reset --hard # timeout=10
[2022-02-14T11:00:41.079Z] > git clean -fdx # timeout=10
[2022-02-14T11:00:41.084Z] > git --version # timeout=10
[2022-02-14T11:00:41.086Z] > git --version # 'git version 2.32.0'
[2022-02-14T11:00:41.091Z] fatal: bad object d9ed61b32f86824fd57e33b28d07d6ad7820bf63
[2022-02-14T11:00:41.093Z] [Gitea] Notifying branch build status: PENDING Build started...
[2022-02-14T11:00:41.272Z] [Gitea] Notified
[Pipeline] libraryResource
[Pipeline] readYaml
[Pipeline] sh
[2022-02-14T11:00:41.542Z] + git show -s --format=%an d2dfd0a82cf8bdbd32355565fe0d7f33339faee8
[Pipeline] sh
[2022-02-14T11:00:41.800Z] + git show -s --format=%ae d2dfd0a82cf8bdbd32355565fe0d7f33339faee8
[Pipeline] sh
[2022-02-14T11:00:42.057Z] + git show --pretty=format: --name-status d2dfd0a82cf8bdbd32355565fe0d7f33339faee8
[Pipeline] fileExists
[Pipeline] sh
[2022-02-14T11:00:42.330Z] + pkg2yaml -d x86_64/community-testing
[Pipeline] readYaml
[Pipeline] }
[Pipeline] // catchError
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] withCredentials
[2022-02-14T11:00:42.411Z] Masking supported pattern matches of $BUILDBOT_GPGP
[Pipeline] {
[Pipeline] dir
[2022-02-14T11:00:42.442Z] Running in /var/lib/jenkins/workspace/thon_python-humanfriendly_master/x86_64/community-testing
[Pipeline] {
[Pipeline] catchError
[Pipeline] {
[Pipeline] sh
[2022-02-14T11:00:42.713Z] + buildpkg -C -d galaxy-gremlins
[2022-02-14T11:00:45.196Z] :: Synchronizing package databases...
[2022-02-14T11:00:45.196Z] gremlins downloading...
[2022-02-14T11:00:45.196Z] system downloading...
[2022-02-14T11:00:45.196Z] world downloading...
[2022-02-14T11:00:45.196Z] galaxy-gremlins downloading...
[2022-02-14T11:00:45.196Z] galaxy downloading...
[2022-02-14T11:00:45.196Z] :: Starting full system upgrade...
[2022-02-14T11:00:45.196Z] there is nothing to do
[2022-02-14T11:00:47.058Z] ==> Building in chroot for [gremlins] (x86_64)...
[2022-02-14T11:00:47.058Z] ==> Synchronizing chroot copy [/build/buildpkg/gremlins-x86_64/root] -> [jenkins]...done
[2022-02-14T11:00:47.608Z] ==> Making package: python-humanfriendly 10.0-3 (Mon Feb 14 12:00:47 2022)
[2022-02-14T11:00:47.608Z] ==> Retrieving sources...
[2022-02-14T11:00:47.608Z] -> Downloading humanfriendly-10.0.tar.gz...
[2022-02-14T11:00:47.608Z] % Total % Received % Xferd Average Speed Time Time Time Current
[2022-02-14T11:00:47.608Z] Dload Upload Total Spent Left Speed
[2022-02-14T11:00:47.859Z]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
[2022-02-14T11:00:47.859Z]
100 352k 100 352k 0 0 2000k 0 --:--:-- --:--:-- --:--:-- 2000k
[2022-02-14T11:00:47.859Z] ==> Validating source files with sha512sums...
[2022-02-14T11:00:47.859Z] humanfriendly-10.0.tar.gz ... Passed
[2022-02-14T11:00:47.859Z] ==> Validating source files with b2sums...
[2022-02-14T11:00:47.859Z] humanfriendly-10.0.tar.gz ... Passed
[2022-02-14T11:00:51.981Z] ==> Making package: python-humanfriendly 10.0-3 (Mon 14 Feb 2022 11:00:51 AM UTC)
[2022-02-14T11:00:51.981Z] ==> Checking runtime dependencies...
[2022-02-14T11:00:51.981Z] ==> Installing missing dependencies...
[2022-02-14T11:00:51.981Z] resolving dependencies...
[2022-02-14T11:00:51.981Z] looking for conflicting packages...
[2022-02-14T11:00:51.981Z]
[2022-02-14T11:00:51.981Z] Package (2) New Version Net Change
[2022-02-14T11:00:51.981Z]
[2022-02-14T11:00:51.981Z] system/libnsl 2.0.0-2 0.07 MiB
[2022-02-14T11:00:51.981Z] system/python 3.10.2-1 53.85 MiB
[2022-02-14T11:00:51.981Z]
[2022-02-14T11:00:51.981Z] Total Installed Size: 53.92 MiB
[2022-02-14T11:00:51.981Z]
[2022-02-14T11:00:51.981Z] :: Proceed with installation? [Y/n]
[2022-02-14T11:00:51.981Z] checking keyring...
[2022-02-14T11:00:51.981Z] checking package integrity...
[2022-02-14T11:00:51.981Z] loading package files...
[2022-02-14T11:00:51.981Z] checking for file conflicts...
[2022-02-14T11:00:51.981Z] :: Processing package changes...
[2022-02-14T11:00:51.981Z] installing libnsl...
[2022-02-14T11:00:51.981Z] installing python...
[2022-02-14T11:00:51.981Z] Optional dependencies for python
[2022-02-14T11:00:51.981Z] python-setuptools
[2022-02-14T11:00:51.981Z] python-pip
[2022-02-14T11:00:51.981Z] sqlite [installed]
[2022-02-14T11:00:51.981Z] mpdecimal: for decimal
[2022-02-14T11:00:51.981Z] xz: for lzma [installed]
[2022-02-14T11:00:51.981Z] tk: for tkinter
[2022-02-14T11:00:51.981Z] ==> Checking buildtime dependencies...
[2022-02-14T11:00:51.981Z] ==> Installing missing dependencies...
[2022-02-14T11:00:52.231Z] resolving dependencies...
[2022-02-14T11:00:52.231Z] looking for conflicting packages...
[2022-02-14T11:00:52.231Z]
[2022-02-14T11:00:52.231Z] Package (19) New Version Net Change
[2022-02-14T11:00:52.231Z]
[2022-02-14T11:00:52.231Z] galaxy/python-apipkg 2.1.0-1 0.03 MiB
[2022-02-14T11:00:52.231Z] world/python-appdirs 1.4.4-6 0.07 MiB
[2022-02-14T11:00:52.231Z] world/python-attrs 21.4.0-1 0.45 MiB
[2022-02-14T11:00:52.232Z] galaxy/python-importlib-metadata 4.8.1-3 0.15 MiB
[2022-02-14T11:00:52.232Z] galaxy/python-iniconfig 1.1.1-5.1 0.02 MiB
[2022-02-14T11:00:52.232Z] galaxy/python-more-itertools 8.10.0-4 0.32 MiB
[2022-02-14T11:00:52.232Z] world/python-ordered-set 4.0.2-6 0.06 MiB
[2022-02-14T11:00:52.232Z] gremlins/python-packaging 21.0-1 0.26 MiB
[2022-02-14T11:00:52.232Z] galaxy/python-pbr 5.8.0-2.1 0.66 MiB
[2022-02-14T11:00:52.232Z] galaxy/python-pluggy 0.13.1-8.1 0.12 MiB
[2022-02-14T11:00:52.232Z] galaxy/python-py 1.11.0-1.1 0.71 MiB
[2022-02-14T11:00:52.232Z] world/python-pyparsing 2.4.7-6 0.72 MiB
[2022-02-14T11:00:52.232Z] world/python-six 1.16.0-5 0.09 MiB
[2022-02-14T11:00:52.232Z] world/python-tomli 2.0.0-1 0.06 MiB
[2022-02-14T11:00:52.232Z] galaxy/python-zipp 3.7.0-1 0.03 MiB
[2022-02-14T11:00:52.232Z] galaxy/python-docutils 1:0.16-2 4.30 MiB
[2022-02-14T11:00:52.232Z] galaxy/python-mock 3.0.5-9 0.21 MiB
[2022-02-14T11:00:52.232Z] galaxy-gremlins/python-pytest 7.0.0-1 2.63 MiB
[2022-02-14T11:00:52.232Z] world/python-setuptools 1:59.2.0-1 2.96 MiB
[2022-02-14T11:00:52.232Z]
[2022-02-14T11:00:52.232Z] Total Installed Size: 13.85 MiB
[2022-02-14T11:00:52.232Z]
[2022-02-14T11:00:52.232Z] :: Proceed with installation? [Y/n]
[2022-02-14T11:00:52.232Z] checking keyring...
[2022-02-14T11:00:52.232Z] checking package integrity...
[2022-02-14T11:00:52.482Z] loading package files...
[2022-02-14T11:00:52.482Z] checking for file conflicts...
[2022-02-14T11:00:52.482Z] :: Processing package changes...
[2022-02-14T11:00:52.482Z] installing python-appdirs...
[2022-02-14T11:00:52.482Z] installing python-more-itertools...
[2022-02-14T11:00:52.482Z] installing python-ordered-set...
[2022-02-14T11:00:52.482Z] installing python-pyparsing...
[2022-02-14T11:00:52.482Z] installing python-packaging...
[2022-02-14T11:00:52.482Z] installing python-setuptools...
[2022-02-14T11:00:52.482Z] installing python-docutils...
[2022-02-14T11:00:52.732Z] installing python-six...
[2022-02-14T11:00:52.733Z] installing python-pbr...
[2022-02-14T11:00:52.733Z] installing python-mock...
[2022-02-14T11:00:52.733Z] installing python-attrs...
[2022-02-14T11:00:52.733Z] installing python-iniconfig...
[2022-02-14T11:00:52.733Z] installing python-zipp...
[2022-02-14T11:00:52.733Z] installing python-importlib-metadata...
[2022-02-14T11:00:52.733Z] installing python-pluggy...
[2022-02-14T11:00:52.733Z] installing python-apipkg...
[2022-02-14T11:00:52.733Z] installing python-py...
[2022-02-14T11:00:52.733Z] installing python-tomli...
[2022-02-14T11:00:52.733Z] installing python-pytest...
[2022-02-14T11:00:52.733Z] ==> Retrieving sources...
[2022-02-14T11:00:52.733Z] -> Found humanfriendly-10.0.tar.gz
[2022-02-14T11:00:52.733Z] ==> WARNING: Skipping all source file integrity checks.
[2022-02-14T11:00:52.733Z] ==> Extracting sources...
[2022-02-14T11:00:52.733Z] -> Extracting humanfriendly-10.0.tar.gz with bsdtar
[2022-02-14T11:00:52.733Z] ==> Starting build()...
[2022-02-14T11:00:52.983Z] running build
[2022-02-14T11:00:52.983Z] running build_py
[2022-02-14T11:00:52.983Z] creating build
[2022-02-14T11:00:52.983Z] creating build/lib
[2022-02-14T11:00:52.983Z] creating build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/__init__.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/usage.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/text.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/prompts.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/compat.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/case.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/decorators.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/cli.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/tests.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/sphinx.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/deprecation.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/testing.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] copying humanfriendly/tables.py -> build/lib/humanfriendly
[2022-02-14T11:00:52.983Z] creating build/lib/humanfriendly/terminal
[2022-02-14T11:00:52.983Z] copying humanfriendly/terminal/__init__.py -> build/lib/humanfriendly/terminal
[2022-02-14T11:00:52.983Z] copying humanfriendly/terminal/spinners.py -> build/lib/humanfriendly/terminal
[2022-02-14T11:00:52.983Z] copying humanfriendly/terminal/html.py -> build/lib/humanfriendly/terminal
[2022-02-14T11:00:52.983Z] ==> Starting check()...
[2022-02-14T11:00:53.234Z] ============================= test session starts ==============================
[2022-02-14T11:00:53.234Z] platform linux -- Python 3.10.2, pytest-7.0.0, pluggy-0.13.1 -- /usr/bin/python
[2022-02-14T11:00:53.234Z] cachedir: .pytest_cache
[2022-02-14T11:00:53.234Z] rootdir: /build/python-humanfriendly/src/humanfriendly-10.0
[2022-02-14T11:00:53.784Z] collecting ... collected 69 items / 3 deselected / 66 selected
[2022-02-14T11:00:53.784Z]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_alias_proxy_deprecation_warning ERROR [ 1%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_alias_proxy_sphinx_compensation ERROR [ 3%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_alias_proxy_sphinx_integration ERROR [ 4%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_ansi_style ERROR [ 6%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_ansi_width ERROR [ 7%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_ansi_wrap ERROR [ 9%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_automatic_spinner ERROR [ 10%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_boolean_coercion ERROR [ 12%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_caching_decorator ERROR [ 13%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_capture_output ERROR [ 15%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_case_insensitive_dict ERROR [ 16%]
[2022-02-14T11:00:53.784Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_case_insensitive_key ERROR [ 18%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_clean_output ERROR [ 19%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_cli ERROR [ 21%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_compact ERROR [ 22%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_compact_empty_lines ERROR [ 24%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_concatenate ERROR [ 25%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_dedent ERROR [ 27%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_deprecated_args ERROR [ 28%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_find_meta_variables ERROR [ 30%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_find_terminal_size ERROR [ 31%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_format_length ERROR [ 33%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_format_number ERROR [ 34%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_format_path ERROR [ 36%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_format_size ERROR [ 37%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_format_timespan ERROR [ 39%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_format_usage ERROR [ 40%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_generate_message ERROR [ 42%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_generate_output ERROR [ 43%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_generate_slug ERROR [ 45%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_get_pager_command ERROR [ 46%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_html_to_ansi ERROR [ 48%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_mocked_program ERROR [ 50%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_date ERROR [ 51%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_length ERROR [ 53%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_path ERROR [ 54%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_size ERROR [ 56%]
[2022-02-14T11:00:53.785Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_timespan ERROR [ 57%]
[2022-02-14T11:00:54.035Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_usage_commas ERROR [ 59%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_usage_simple ERROR [ 60%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_usage_tricky ERROR [ 62%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_patch_attribute ERROR [ 63%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_patch_item ERROR [ 65%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_pattern_coercion ERROR [ 66%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_pluralization ERROR [ 68%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_pretty_tables ERROR [ 69%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_prompt_for_choice ERROR [ 71%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_prompt_for_input ERROR [ 72%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_render_usage ERROR [ 74%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_retry_raise ERROR [ 75%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_retry_return ERROR [ 77%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_robust_tables ERROR [ 78%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_round_number ERROR [ 80%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_rst_tables ERROR [ 81%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_run_cli_intercepts_error ERROR [ 83%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_run_cli_intercepts_exit ERROR [ 84%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_run_cli_intercepts_output ERROR [ 86%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_show_pager ERROR [ 87%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_skip_on_raise ERROR [ 89%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_smart_tables ERROR [ 90%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_sphinx_customizations ERROR [ 92%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_spinner ERROR [ 93%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_split ERROR [ 95%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_temporary_directory ERROR [ 96%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_timer ERROR [ 98%]
[2022-02-14T11:00:54.036Z] humanfriendly/tests.py::HumanFriendlyTestCase::test_touch ERROR [100%]
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] ==================================== ERRORS ====================================
[2022-02-14T11:00:54.036Z] _ ERROR at setup of HumanFriendlyTestCase.test_alias_proxy_deprecation_warning _
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] def setup(app):
[2022-02-14T11:00:54.036Z] """
[2022-02-14T11:00:54.036Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.036Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.036Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.036Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] .. code-block:: python
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] # Sphinx extension module names.
[2022-02-14T11:00:54.036Z] extensions = [
[2022-02-14T11:00:54.036Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.036Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.036Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.036Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.036Z] ]
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.036Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.036Z] the following:
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.036Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.036Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.036Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.036Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.036Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.036Z] your own ``setup()`` function.
[2022-02-14T11:00:54.036Z] """
[2022-02-14T11:00:54.036Z] from humanfriendly import __version__
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.036Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.036Z]
[2022-02-14T11:00:54.036Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.036Z] """
[2022-02-14T11:00:54.037Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.037Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.037Z] """
[2022-02-14T11:00:54.037Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.037Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.037Z] _ ERROR at setup of HumanFriendlyTestCase.test_alias_proxy_sphinx_compensation _
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] def setup(app):
[2022-02-14T11:00:54.037Z] """
[2022-02-14T11:00:54.037Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.037Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.037Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.037Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] .. code-block:: python
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] # Sphinx extension module names.
[2022-02-14T11:00:54.037Z] extensions = [
[2022-02-14T11:00:54.037Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.037Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.037Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.037Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.037Z] ]
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.037Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.037Z] the following:
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.037Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.037Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.037Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.037Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.037Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.037Z] your own ``setup()`` function.
[2022-02-14T11:00:54.037Z] """
[2022-02-14T11:00:54.037Z] from humanfriendly import __version__
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.037Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.037Z] """
[2022-02-14T11:00:54.037Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.037Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.037Z] """
[2022-02-14T11:00:54.037Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.037Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.037Z] _ ERROR at setup of HumanFriendlyTestCase.test_alias_proxy_sphinx_integration __
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] def setup(app):
[2022-02-14T11:00:54.037Z] """
[2022-02-14T11:00:54.037Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.037Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.037Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.037Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] .. code-block:: python
[2022-02-14T11:00:54.037Z]
[2022-02-14T11:00:54.037Z] # Sphinx extension module names.
[2022-02-14T11:00:54.037Z] extensions = [
[2022-02-14T11:00:54.037Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.038Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.038Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.038Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.038Z] ]
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.038Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.038Z] the following:
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.038Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.038Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.038Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.038Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.038Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.038Z] your own ``setup()`` function.
[2022-02-14T11:00:54.038Z] """
[2022-02-14T11:00:54.038Z] from humanfriendly import __version__
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.038Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.038Z] """
[2022-02-14T11:00:54.038Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.038Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.038Z] """
[2022-02-14T11:00:54.038Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.038Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.038Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_ansi_style ____________
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] def setup(app):
[2022-02-14T11:00:54.038Z] """
[2022-02-14T11:00:54.038Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.038Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.038Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.038Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] .. code-block:: python
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] # Sphinx extension module names.
[2022-02-14T11:00:54.038Z] extensions = [
[2022-02-14T11:00:54.038Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.038Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.038Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.038Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.038Z] ]
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.038Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.038Z] the following:
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.038Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.038Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.038Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.038Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.038Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.038Z] your own ``setup()`` function.
[2022-02-14T11:00:54.038Z] """
[2022-02-14T11:00:54.038Z] from humanfriendly import __version__
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.038Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.038Z] """
[2022-02-14T11:00:54.038Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.038Z]
[2022-02-14T11:00:54.038Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.038Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.039Z] """
[2022-02-14T11:00:54.039Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.039Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.039Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_ansi_width ____________
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] def setup(app):
[2022-02-14T11:00:54.039Z] """
[2022-02-14T11:00:54.039Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.039Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.039Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.039Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] .. code-block:: python
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] # Sphinx extension module names.
[2022-02-14T11:00:54.039Z] extensions = [
[2022-02-14T11:00:54.039Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.039Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.039Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.039Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.039Z] ]
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.039Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.039Z] the following:
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.039Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.039Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.039Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.039Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.039Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.039Z] your own ``setup()`` function.
[2022-02-14T11:00:54.039Z] """
[2022-02-14T11:00:54.039Z] from humanfriendly import __version__
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.039Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.039Z] """
[2022-02-14T11:00:54.039Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.039Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.039Z] """
[2022-02-14T11:00:54.039Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.039Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.039Z] ____________ ERROR at setup of HumanFriendlyTestCase.test_ansi_wrap ____________
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] def setup(app):
[2022-02-14T11:00:54.039Z] """
[2022-02-14T11:00:54.039Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.039Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.039Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.039Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] .. code-block:: python
[2022-02-14T11:00:54.039Z]
[2022-02-14T11:00:54.039Z] # Sphinx extension module names.
[2022-02-14T11:00:54.039Z] extensions = [
[2022-02-14T11:00:54.039Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.040Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.040Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.040Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.040Z] ]
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.040Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.040Z] the following:
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.040Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.040Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.040Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.040Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.040Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.040Z] your own ``setup()`` function.
[2022-02-14T11:00:54.040Z] """
[2022-02-14T11:00:54.040Z] from humanfriendly import __version__
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.040Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.040Z] """
[2022-02-14T11:00:54.040Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.040Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.040Z] """
[2022-02-14T11:00:54.040Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.040Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.040Z] ________ ERROR at setup of HumanFriendlyTestCase.test_automatic_spinner ________
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] def setup(app):
[2022-02-14T11:00:54.040Z] """
[2022-02-14T11:00:54.040Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.040Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.040Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.040Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] .. code-block:: python
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] # Sphinx extension module names.
[2022-02-14T11:00:54.040Z] extensions = [
[2022-02-14T11:00:54.040Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.040Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.040Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.040Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.040Z] ]
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.040Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.040Z] the following:
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.040Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.040Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.040Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.040Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.040Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.040Z] your own ``setup()`` function.
[2022-02-14T11:00:54.040Z] """
[2022-02-14T11:00:54.040Z] from humanfriendly import __version__
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.040Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.040Z] """
[2022-02-14T11:00:54.040Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.040Z]
[2022-02-14T11:00:54.040Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.041Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.041Z] """
[2022-02-14T11:00:54.041Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.041Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.041Z] ________ ERROR at setup of HumanFriendlyTestCase.test_boolean_coercion _________
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] def setup(app):
[2022-02-14T11:00:54.041Z] """
[2022-02-14T11:00:54.041Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.041Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.041Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.041Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] .. code-block:: python
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] # Sphinx extension module names.
[2022-02-14T11:00:54.041Z] extensions = [
[2022-02-14T11:00:54.041Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.041Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.041Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.041Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.041Z] ]
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.041Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.041Z] the following:
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.041Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.041Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.041Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.041Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.041Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.041Z] your own ``setup()`` function.
[2022-02-14T11:00:54.041Z] """
[2022-02-14T11:00:54.041Z] from humanfriendly import __version__
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.041Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.041Z] """
[2022-02-14T11:00:54.041Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.041Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.041Z] """
[2022-02-14T11:00:54.041Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.041Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.041Z] ________ ERROR at setup of HumanFriendlyTestCase.test_caching_decorator ________
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] def setup(app):
[2022-02-14T11:00:54.041Z] """
[2022-02-14T11:00:54.041Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.041Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.041Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.041Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] .. code-block:: python
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] # Sphinx extension module names.
[2022-02-14T11:00:54.041Z] extensions = [
[2022-02-14T11:00:54.041Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.041Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.041Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.041Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.041Z] ]
[2022-02-14T11:00:54.041Z]
[2022-02-14T11:00:54.041Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.042Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.042Z] the following:
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.042Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.042Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.042Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.042Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.042Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.042Z] your own ``setup()`` function.
[2022-02-14T11:00:54.042Z] """
[2022-02-14T11:00:54.042Z] from humanfriendly import __version__
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.042Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.042Z] """
[2022-02-14T11:00:54.042Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.042Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.042Z] """
[2022-02-14T11:00:54.042Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.042Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.042Z] _________ ERROR at setup of HumanFriendlyTestCase.test_capture_output __________
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] def setup(app):
[2022-02-14T11:00:54.042Z] """
[2022-02-14T11:00:54.042Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.042Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.042Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.042Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] .. code-block:: python
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] # Sphinx extension module names.
[2022-02-14T11:00:54.042Z] extensions = [
[2022-02-14T11:00:54.042Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.042Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.042Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.042Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.042Z] ]
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.042Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.042Z] the following:
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.042Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.042Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.042Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.042Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.042Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.042Z] your own ``setup()`` function.
[2022-02-14T11:00:54.042Z] """
[2022-02-14T11:00:54.042Z] from humanfriendly import __version__
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.042Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.042Z] """
[2022-02-14T11:00:54.042Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.042Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.042Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.042Z] """
[2022-02-14T11:00:54.042Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.042Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.042Z]
[2022-02-14T11:00:54.043Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.043Z] ______ ERROR at setup of HumanFriendlyTestCase.test_case_insensitive_dict ______
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] def setup(app):
[2022-02-14T11:00:54.043Z] """
[2022-02-14T11:00:54.043Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.043Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.043Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.043Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] .. code-block:: python
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] # Sphinx extension module names.
[2022-02-14T11:00:54.043Z] extensions = [
[2022-02-14T11:00:54.043Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.043Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.043Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.043Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.043Z] ]
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.043Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.043Z] the following:
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.043Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.043Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.043Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.043Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.043Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.043Z] your own ``setup()`` function.
[2022-02-14T11:00:54.043Z] """
[2022-02-14T11:00:54.043Z] from humanfriendly import __version__
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.043Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.043Z] """
[2022-02-14T11:00:54.043Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.043Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.043Z] """
[2022-02-14T11:00:54.043Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.043Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.043Z] ______ ERROR at setup of HumanFriendlyTestCase.test_case_insensitive_key _______
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] def setup(app):
[2022-02-14T11:00:54.043Z] """
[2022-02-14T11:00:54.043Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.043Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.043Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.043Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] .. code-block:: python
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] # Sphinx extension module names.
[2022-02-14T11:00:54.043Z] extensions = [
[2022-02-14T11:00:54.043Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.043Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.043Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.043Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.043Z] ]
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.043Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.043Z] the following:
[2022-02-14T11:00:54.043Z]
[2022-02-14T11:00:54.043Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.043Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.043Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.043Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.044Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.044Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.044Z] your own ``setup()`` function.
[2022-02-14T11:00:54.044Z] """
[2022-02-14T11:00:54.044Z] from humanfriendly import __version__
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.044Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.044Z] """
[2022-02-14T11:00:54.044Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.044Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.044Z] """
[2022-02-14T11:00:54.044Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.044Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.044Z] __________ ERROR at setup of HumanFriendlyTestCase.test_clean_output ___________
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] def setup(app):
[2022-02-14T11:00:54.044Z] """
[2022-02-14T11:00:54.044Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.044Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.044Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.044Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] .. code-block:: python
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] # Sphinx extension module names.
[2022-02-14T11:00:54.044Z] extensions = [
[2022-02-14T11:00:54.044Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.044Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.044Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.044Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.044Z] ]
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.044Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.044Z] the following:
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.044Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.044Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.044Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.044Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.044Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.044Z] your own ``setup()`` function.
[2022-02-14T11:00:54.044Z] """
[2022-02-14T11:00:54.044Z] from humanfriendly import __version__
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.044Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.044Z] """
[2022-02-14T11:00:54.044Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.044Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.044Z] """
[2022-02-14T11:00:54.044Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.044Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.044Z] _______________ ERROR at setup of HumanFriendlyTestCase.test_cli _______________
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.044Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.044Z]
[2022-02-14T11:00:54.045Z] def setup(app):
[2022-02-14T11:00:54.045Z] """
[2022-02-14T11:00:54.045Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.045Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.045Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.045Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] .. code-block:: python
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] # Sphinx extension module names.
[2022-02-14T11:00:54.045Z] extensions = [
[2022-02-14T11:00:54.045Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.045Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.045Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.045Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.045Z] ]
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.045Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.045Z] the following:
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.045Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.045Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.045Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.045Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.045Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.045Z] your own ``setup()`` function.
[2022-02-14T11:00:54.045Z] """
[2022-02-14T11:00:54.045Z] from humanfriendly import __version__
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.045Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.045Z] """
[2022-02-14T11:00:54.045Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.045Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.045Z] """
[2022-02-14T11:00:54.045Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.045Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.045Z] _____________ ERROR at setup of HumanFriendlyTestCase.test_compact _____________
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] def setup(app):
[2022-02-14T11:00:54.045Z] """
[2022-02-14T11:00:54.045Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.045Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.045Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.045Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] .. code-block:: python
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] # Sphinx extension module names.
[2022-02-14T11:00:54.045Z] extensions = [
[2022-02-14T11:00:54.045Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.045Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.045Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.045Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.045Z] ]
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.045Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.045Z] the following:
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.045Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.045Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.045Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.045Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.045Z]
[2022-02-14T11:00:54.045Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.045Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.045Z] your own ``setup()`` function.
[2022-02-14T11:00:54.045Z] """
[2022-02-14T11:00:54.046Z] from humanfriendly import __version__
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.046Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.046Z] """
[2022-02-14T11:00:54.046Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.046Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.046Z] """
[2022-02-14T11:00:54.046Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.046Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.046Z] _______ ERROR at setup of HumanFriendlyTestCase.test_compact_empty_lines _______
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] def setup(app):
[2022-02-14T11:00:54.046Z] """
[2022-02-14T11:00:54.046Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.046Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.046Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.046Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] .. code-block:: python
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] # Sphinx extension module names.
[2022-02-14T11:00:54.046Z] extensions = [
[2022-02-14T11:00:54.046Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.046Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.046Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.046Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.046Z] ]
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.046Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.046Z] the following:
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.046Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.046Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.046Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.046Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.046Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.046Z] your own ``setup()`` function.
[2022-02-14T11:00:54.046Z] """
[2022-02-14T11:00:54.046Z] from humanfriendly import __version__
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.046Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.046Z] """
[2022-02-14T11:00:54.046Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.046Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.046Z]
[2022-02-14T11:00:54.046Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.046Z] """
[2022-02-14T11:00:54.046Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.047Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.047Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_concatenate ___________
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] def setup(app):
[2022-02-14T11:00:54.047Z] """
[2022-02-14T11:00:54.047Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.047Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.047Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.047Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] .. code-block:: python
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] # Sphinx extension module names.
[2022-02-14T11:00:54.047Z] extensions = [
[2022-02-14T11:00:54.047Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.047Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.047Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.047Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.047Z] ]
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.047Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.047Z] the following:
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.047Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.047Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.047Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.047Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.047Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.047Z] your own ``setup()`` function.
[2022-02-14T11:00:54.047Z] """
[2022-02-14T11:00:54.047Z] from humanfriendly import __version__
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.047Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.047Z] """
[2022-02-14T11:00:54.047Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.047Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.047Z] """
[2022-02-14T11:00:54.047Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.047Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.047Z] _____________ ERROR at setup of HumanFriendlyTestCase.test_dedent ______________
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] def setup(app):
[2022-02-14T11:00:54.047Z] """
[2022-02-14T11:00:54.047Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.047Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.047Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.047Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] .. code-block:: python
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] # Sphinx extension module names.
[2022-02-14T11:00:54.047Z] extensions = [
[2022-02-14T11:00:54.047Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.047Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.047Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.047Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.047Z] ]
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.047Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.047Z] the following:
[2022-02-14T11:00:54.047Z]
[2022-02-14T11:00:54.047Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.047Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.048Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.048Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.048Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.048Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.048Z] your own ``setup()`` function.
[2022-02-14T11:00:54.048Z] """
[2022-02-14T11:00:54.048Z] from humanfriendly import __version__
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.048Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.048Z] """
[2022-02-14T11:00:54.048Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.048Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.048Z] """
[2022-02-14T11:00:54.048Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.048Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.048Z] _________ ERROR at setup of HumanFriendlyTestCase.test_deprecated_args _________
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] def setup(app):
[2022-02-14T11:00:54.048Z] """
[2022-02-14T11:00:54.048Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.048Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.048Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.048Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] .. code-block:: python
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] # Sphinx extension module names.
[2022-02-14T11:00:54.048Z] extensions = [
[2022-02-14T11:00:54.048Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.048Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.048Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.048Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.048Z] ]
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.048Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.048Z] the following:
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.048Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.048Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.048Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.048Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.048Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.048Z] your own ``setup()`` function.
[2022-02-14T11:00:54.048Z] """
[2022-02-14T11:00:54.048Z] from humanfriendly import __version__
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.048Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.048Z] """
[2022-02-14T11:00:54.048Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.048Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.048Z] """
[2022-02-14T11:00:54.048Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.048Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.048Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.048Z] _______ ERROR at setup of HumanFriendlyTestCase.test_find_meta_variables _______
[2022-02-14T11:00:54.048Z]
[2022-02-14T11:00:54.049Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] def setup(app):
[2022-02-14T11:00:54.049Z] """
[2022-02-14T11:00:54.049Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.049Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.049Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.049Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] .. code-block:: python
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] # Sphinx extension module names.
[2022-02-14T11:00:54.049Z] extensions = [
[2022-02-14T11:00:54.049Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.049Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.049Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.049Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.049Z] ]
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.049Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.049Z] the following:
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.049Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.049Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.049Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.049Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.049Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.049Z] your own ``setup()`` function.
[2022-02-14T11:00:54.049Z] """
[2022-02-14T11:00:54.049Z] from humanfriendly import __version__
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.049Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.049Z] """
[2022-02-14T11:00:54.049Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.049Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.049Z] """
[2022-02-14T11:00:54.049Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.049Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.049Z] _______ ERROR at setup of HumanFriendlyTestCase.test_find_terminal_size ________
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] def setup(app):
[2022-02-14T11:00:54.049Z] """
[2022-02-14T11:00:54.049Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.049Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.049Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.049Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] .. code-block:: python
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] # Sphinx extension module names.
[2022-02-14T11:00:54.049Z] extensions = [
[2022-02-14T11:00:54.049Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.049Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.049Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.049Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.049Z] ]
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.049Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.049Z] the following:
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.049Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.049Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.049Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.049Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.049Z]
[2022-02-14T11:00:54.049Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.050Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.050Z] your own ``setup()`` function.
[2022-02-14T11:00:54.050Z] """
[2022-02-14T11:00:54.050Z] from humanfriendly import __version__
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.050Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.050Z] """
[2022-02-14T11:00:54.050Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.050Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.050Z] """
[2022-02-14T11:00:54.050Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.050Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.050Z] __________ ERROR at setup of HumanFriendlyTestCase.test_format_length __________
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] def setup(app):
[2022-02-14T11:00:54.050Z] """
[2022-02-14T11:00:54.050Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.050Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.050Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.050Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] .. code-block:: python
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] # Sphinx extension module names.
[2022-02-14T11:00:54.050Z] extensions = [
[2022-02-14T11:00:54.050Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.050Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.050Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.050Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.050Z] ]
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.050Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.050Z] the following:
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.050Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.050Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.050Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.050Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.050Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.050Z] your own ``setup()`` function.
[2022-02-14T11:00:54.050Z] """
[2022-02-14T11:00:54.050Z] from humanfriendly import __version__
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.050Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.050Z] """
[2022-02-14T11:00:54.050Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.050Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.050Z] """
[2022-02-14T11:00:54.050Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.050Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.050Z] __________ ERROR at setup of HumanFriendlyTestCase.test_format_number __________
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.050Z]
[2022-02-14T11:00:54.050Z] def setup(app):
[2022-02-14T11:00:54.050Z] """
[2022-02-14T11:00:54.051Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.051Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.051Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.051Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] .. code-block:: python
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] # Sphinx extension module names.
[2022-02-14T11:00:54.051Z] extensions = [
[2022-02-14T11:00:54.051Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.051Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.051Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.051Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.051Z] ]
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.051Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.051Z] the following:
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.051Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.051Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.051Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.051Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.051Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.051Z] your own ``setup()`` function.
[2022-02-14T11:00:54.051Z] """
[2022-02-14T11:00:54.051Z] from humanfriendly import __version__
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.051Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.051Z] """
[2022-02-14T11:00:54.051Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.051Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.051Z] """
[2022-02-14T11:00:54.051Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.051Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.051Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_format_path ___________
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] def setup(app):
[2022-02-14T11:00:54.051Z] """
[2022-02-14T11:00:54.051Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.051Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.051Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.051Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] .. code-block:: python
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] # Sphinx extension module names.
[2022-02-14T11:00:54.051Z] extensions = [
[2022-02-14T11:00:54.051Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.051Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.051Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.051Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.051Z] ]
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.051Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.051Z] the following:
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.051Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.051Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.051Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.051Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.051Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.051Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.051Z] your own ``setup()`` function.
[2022-02-14T11:00:54.051Z] """
[2022-02-14T11:00:54.051Z] from humanfriendly import __version__
[2022-02-14T11:00:54.051Z]
[2022-02-14T11:00:54.052Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.052Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.052Z] """
[2022-02-14T11:00:54.052Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.052Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.052Z] """
[2022-02-14T11:00:54.052Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.052Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.052Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_format_size ___________
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] def setup(app):
[2022-02-14T11:00:54.052Z] """
[2022-02-14T11:00:54.052Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.052Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.052Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.052Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] .. code-block:: python
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] # Sphinx extension module names.
[2022-02-14T11:00:54.052Z] extensions = [
[2022-02-14T11:00:54.052Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.052Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.052Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.052Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.052Z] ]
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.052Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.052Z] the following:
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.052Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.052Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.052Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.052Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.052Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.052Z] your own ``setup()`` function.
[2022-02-14T11:00:54.052Z] """
[2022-02-14T11:00:54.052Z] from humanfriendly import __version__
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.052Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.052Z] """
[2022-02-14T11:00:54.052Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.052Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.052Z] """
[2022-02-14T11:00:54.052Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.052Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.052Z] _________ ERROR at setup of HumanFriendlyTestCase.test_format_timespan _________
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] def setup(app):
[2022-02-14T11:00:54.052Z] """
[2022-02-14T11:00:54.052Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.052Z]
[2022-02-14T11:00:54.052Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.053Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.053Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.053Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] .. code-block:: python
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] # Sphinx extension module names.
[2022-02-14T11:00:54.053Z] extensions = [
[2022-02-14T11:00:54.053Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.053Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.053Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.053Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.053Z] ]
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.053Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.053Z] the following:
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.053Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.053Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.053Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.053Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.053Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.053Z] your own ``setup()`` function.
[2022-02-14T11:00:54.053Z] """
[2022-02-14T11:00:54.053Z] from humanfriendly import __version__
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.053Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.053Z] """
[2022-02-14T11:00:54.053Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.053Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.053Z] """
[2022-02-14T11:00:54.053Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.053Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.053Z] __________ ERROR at setup of HumanFriendlyTestCase.test_format_usage ___________
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] def setup(app):
[2022-02-14T11:00:54.053Z] """
[2022-02-14T11:00:54.053Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.053Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.053Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.053Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] .. code-block:: python
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] # Sphinx extension module names.
[2022-02-14T11:00:54.053Z] extensions = [
[2022-02-14T11:00:54.053Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.053Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.053Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.053Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.053Z] ]
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.053Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.053Z] the following:
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.053Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.053Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.053Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.053Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.053Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.053Z] your own ``setup()`` function.
[2022-02-14T11:00:54.053Z] """
[2022-02-14T11:00:54.053Z] from humanfriendly import __version__
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.053Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.053Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.053Z]
[2022-02-14T11:00:54.054Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.054Z] """
[2022-02-14T11:00:54.054Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.054Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.054Z] """
[2022-02-14T11:00:54.054Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.054Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.054Z] ________ ERROR at setup of HumanFriendlyTestCase.test_generate_message _________
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] def setup(app):
[2022-02-14T11:00:54.054Z] """
[2022-02-14T11:00:54.054Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.054Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.054Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.054Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] .. code-block:: python
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] # Sphinx extension module names.
[2022-02-14T11:00:54.054Z] extensions = [
[2022-02-14T11:00:54.054Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.054Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.054Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.054Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.054Z] ]
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.054Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.054Z] the following:
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.054Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.054Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.054Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.054Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.054Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.054Z] your own ``setup()`` function.
[2022-02-14T11:00:54.054Z] """
[2022-02-14T11:00:54.054Z] from humanfriendly import __version__
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.054Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.054Z] """
[2022-02-14T11:00:54.054Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.054Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.054Z] """
[2022-02-14T11:00:54.054Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.054Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.054Z] _________ ERROR at setup of HumanFriendlyTestCase.test_generate_output _________
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] def setup(app):
[2022-02-14T11:00:54.054Z] """
[2022-02-14T11:00:54.054Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.054Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.054Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.054Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.054Z] .. code-block:: python
[2022-02-14T11:00:54.054Z]
[2022-02-14T11:00:54.055Z] # Sphinx extension module names.
[2022-02-14T11:00:54.055Z] extensions = [
[2022-02-14T11:00:54.055Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.055Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.055Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.055Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.055Z] ]
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.055Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.055Z] the following:
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.055Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.055Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.055Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.055Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.055Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.055Z] your own ``setup()`` function.
[2022-02-14T11:00:54.055Z] """
[2022-02-14T11:00:54.055Z] from humanfriendly import __version__
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.055Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.055Z] """
[2022-02-14T11:00:54.055Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.055Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.055Z] """
[2022-02-14T11:00:54.055Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.055Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.055Z] __________ ERROR at setup of HumanFriendlyTestCase.test_generate_slug __________
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] def setup(app):
[2022-02-14T11:00:54.055Z] """
[2022-02-14T11:00:54.055Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.055Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.055Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.055Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] .. code-block:: python
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] # Sphinx extension module names.
[2022-02-14T11:00:54.055Z] extensions = [
[2022-02-14T11:00:54.055Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.055Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.055Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.055Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.055Z] ]
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.055Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.055Z] the following:
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.055Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.055Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.055Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.055Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.055Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.055Z] your own ``setup()`` function.
[2022-02-14T11:00:54.055Z] """
[2022-02-14T11:00:54.055Z] from humanfriendly import __version__
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.055Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.055Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.055Z] """
[2022-02-14T11:00:54.055Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.055Z]
[2022-02-14T11:00:54.056Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.056Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.056Z] """
[2022-02-14T11:00:54.056Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.056Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.056Z] ________ ERROR at setup of HumanFriendlyTestCase.test_get_pager_command ________
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] def setup(app):
[2022-02-14T11:00:54.056Z] """
[2022-02-14T11:00:54.056Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.056Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.056Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.056Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] .. code-block:: python
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] # Sphinx extension module names.
[2022-02-14T11:00:54.056Z] extensions = [
[2022-02-14T11:00:54.056Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.056Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.056Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.056Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.056Z] ]
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.056Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.056Z] the following:
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.056Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.056Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.056Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.056Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.056Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.056Z] your own ``setup()`` function.
[2022-02-14T11:00:54.056Z] """
[2022-02-14T11:00:54.056Z] from humanfriendly import __version__
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.056Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.056Z] """
[2022-02-14T11:00:54.056Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.056Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.056Z] """
[2022-02-14T11:00:54.056Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.056Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.056Z] __________ ERROR at setup of HumanFriendlyTestCase.test_html_to_ansi ___________
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] def setup(app):
[2022-02-14T11:00:54.056Z] """
[2022-02-14T11:00:54.056Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.056Z]
[2022-02-14T11:00:54.056Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.057Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.057Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.057Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] .. code-block:: python
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] # Sphinx extension module names.
[2022-02-14T11:00:54.057Z] extensions = [
[2022-02-14T11:00:54.057Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.057Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.057Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.057Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.057Z] ]
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.057Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.057Z] the following:
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.057Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.057Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.057Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.057Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.057Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.057Z] your own ``setup()`` function.
[2022-02-14T11:00:54.057Z] """
[2022-02-14T11:00:54.057Z] from humanfriendly import __version__
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.057Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.057Z] """
[2022-02-14T11:00:54.057Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.057Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.057Z] """
[2022-02-14T11:00:54.057Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.057Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.057Z] _________ ERROR at setup of HumanFriendlyTestCase.test_mocked_program __________
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] def setup(app):
[2022-02-14T11:00:54.057Z] """
[2022-02-14T11:00:54.057Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.057Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.057Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.057Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] .. code-block:: python
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] # Sphinx extension module names.
[2022-02-14T11:00:54.057Z] extensions = [
[2022-02-14T11:00:54.057Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.057Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.057Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.057Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.057Z] ]
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.057Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.057Z] the following:
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.057Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.057Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.057Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.057Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.057Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.057Z] your own ``setup()`` function.
[2022-02-14T11:00:54.057Z] """
[2022-02-14T11:00:54.057Z] from humanfriendly import __version__
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.057Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.057Z]
[2022-02-14T11:00:54.057Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.058Z] """
[2022-02-14T11:00:54.058Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.058Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.058Z] """
[2022-02-14T11:00:54.058Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.058Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.058Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_parse_date ____________
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] def setup(app):
[2022-02-14T11:00:54.058Z] """
[2022-02-14T11:00:54.058Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.058Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.058Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.058Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] .. code-block:: python
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] # Sphinx extension module names.
[2022-02-14T11:00:54.058Z] extensions = [
[2022-02-14T11:00:54.058Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.058Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.058Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.058Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.058Z] ]
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.058Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.058Z] the following:
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.058Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.058Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.058Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.058Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.058Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.058Z] your own ``setup()`` function.
[2022-02-14T11:00:54.058Z] """
[2022-02-14T11:00:54.058Z] from humanfriendly import __version__
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.058Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.058Z] """
[2022-02-14T11:00:54.058Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.058Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.058Z] """
[2022-02-14T11:00:54.058Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.058Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.058Z] __________ ERROR at setup of HumanFriendlyTestCase.test_parse_length ___________
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] def setup(app):
[2022-02-14T11:00:54.058Z] """
[2022-02-14T11:00:54.058Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.058Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.058Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.058Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.058Z] .. code-block:: python
[2022-02-14T11:00:54.058Z]
[2022-02-14T11:00:54.059Z] # Sphinx extension module names.
[2022-02-14T11:00:54.059Z] extensions = [
[2022-02-14T11:00:54.059Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.059Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.059Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.059Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.059Z] ]
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.059Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.059Z] the following:
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.059Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.059Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.059Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.059Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.059Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.059Z] your own ``setup()`` function.
[2022-02-14T11:00:54.059Z] """
[2022-02-14T11:00:54.059Z] from humanfriendly import __version__
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.059Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.059Z] """
[2022-02-14T11:00:54.059Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.059Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.059Z] """
[2022-02-14T11:00:54.059Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.059Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.059Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_parse_path ____________
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] def setup(app):
[2022-02-14T11:00:54.059Z] """
[2022-02-14T11:00:54.059Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.059Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.059Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.059Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] .. code-block:: python
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] # Sphinx extension module names.
[2022-02-14T11:00:54.059Z] extensions = [
[2022-02-14T11:00:54.059Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.059Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.059Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.059Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.059Z] ]
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.059Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.059Z] the following:
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.059Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.059Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.059Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.059Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.059Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.059Z] your own ``setup()`` function.
[2022-02-14T11:00:54.059Z] """
[2022-02-14T11:00:54.059Z] from humanfriendly import __version__
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.059Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.059Z] """
[2022-02-14T11:00:54.059Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.059Z]
[2022-02-14T11:00:54.059Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.060Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.060Z] """
[2022-02-14T11:00:54.060Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.060Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.060Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_parse_size ____________
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] def setup(app):
[2022-02-14T11:00:54.060Z] """
[2022-02-14T11:00:54.060Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.060Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.060Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.060Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] .. code-block:: python
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] # Sphinx extension module names.
[2022-02-14T11:00:54.060Z] extensions = [
[2022-02-14T11:00:54.060Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.060Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.060Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.060Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.060Z] ]
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.060Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.060Z] the following:
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.060Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.060Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.060Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.060Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.060Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.060Z] your own ``setup()`` function.
[2022-02-14T11:00:54.060Z] """
[2022-02-14T11:00:54.060Z] from humanfriendly import __version__
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.060Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.060Z] """
[2022-02-14T11:00:54.060Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.060Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.060Z] """
[2022-02-14T11:00:54.060Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.060Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.060Z] _________ ERROR at setup of HumanFriendlyTestCase.test_parse_timespan __________
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] def setup(app):
[2022-02-14T11:00:54.060Z] """
[2022-02-14T11:00:54.060Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.060Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.060Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.060Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] .. code-block:: python
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.060Z] # Sphinx extension module names.
[2022-02-14T11:00:54.060Z] extensions = [
[2022-02-14T11:00:54.060Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.060Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.060Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.060Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.060Z] ]
[2022-02-14T11:00:54.060Z]
[2022-02-14T11:00:54.061Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.061Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.061Z] the following:
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.061Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.061Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.061Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.061Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.061Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.061Z] your own ``setup()`` function.
[2022-02-14T11:00:54.061Z] """
[2022-02-14T11:00:54.061Z] from humanfriendly import __version__
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.061Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.061Z] """
[2022-02-14T11:00:54.061Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.061Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.061Z] """
[2022-02-14T11:00:54.061Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.061Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.061Z] _______ ERROR at setup of HumanFriendlyTestCase.test_parse_usage_commas ________
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] def setup(app):
[2022-02-14T11:00:54.061Z] """
[2022-02-14T11:00:54.061Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.061Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.061Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.061Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] .. code-block:: python
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] # Sphinx extension module names.
[2022-02-14T11:00:54.061Z] extensions = [
[2022-02-14T11:00:54.061Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.061Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.061Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.061Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.061Z] ]
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.061Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.061Z] the following:
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.061Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.061Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.061Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.061Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.061Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.061Z] your own ``setup()`` function.
[2022-02-14T11:00:54.061Z] """
[2022-02-14T11:00:54.061Z] from humanfriendly import __version__
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.061Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.061Z] """
[2022-02-14T11:00:54.061Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.061Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.061Z]
[2022-02-14T11:00:54.061Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.062Z] """
[2022-02-14T11:00:54.062Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.062Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.062Z] _______ ERROR at setup of HumanFriendlyTestCase.test_parse_usage_simple ________
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] def setup(app):
[2022-02-14T11:00:54.062Z] """
[2022-02-14T11:00:54.062Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.062Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.062Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.062Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] .. code-block:: python
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] # Sphinx extension module names.
[2022-02-14T11:00:54.062Z] extensions = [
[2022-02-14T11:00:54.062Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.062Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.062Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.062Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.062Z] ]
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.062Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.062Z] the following:
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.062Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.062Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.062Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.062Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.062Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.062Z] your own ``setup()`` function.
[2022-02-14T11:00:54.062Z] """
[2022-02-14T11:00:54.062Z] from humanfriendly import __version__
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.062Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.062Z] """
[2022-02-14T11:00:54.062Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.062Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.062Z] """
[2022-02-14T11:00:54.062Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.062Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.062Z] _______ ERROR at setup of HumanFriendlyTestCase.test_parse_usage_tricky ________
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] def setup(app):
[2022-02-14T11:00:54.062Z] """
[2022-02-14T11:00:54.062Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.062Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.062Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.062Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] .. code-block:: python
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] # Sphinx extension module names.
[2022-02-14T11:00:54.062Z] extensions = [
[2022-02-14T11:00:54.062Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.062Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.062Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.062Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.062Z] ]
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.062Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.062Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.062Z] the following:
[2022-02-14T11:00:54.062Z]
[2022-02-14T11:00:54.063Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.063Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.063Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.063Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.063Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.063Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.063Z] your own ``setup()`` function.
[2022-02-14T11:00:54.063Z] """
[2022-02-14T11:00:54.063Z] from humanfriendly import __version__
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.063Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.063Z] """
[2022-02-14T11:00:54.063Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.063Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.063Z] """
[2022-02-14T11:00:54.063Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.063Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.063Z] _________ ERROR at setup of HumanFriendlyTestCase.test_patch_attribute _________
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] def setup(app):
[2022-02-14T11:00:54.063Z] """
[2022-02-14T11:00:54.063Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.063Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.063Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.063Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] .. code-block:: python
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] # Sphinx extension module names.
[2022-02-14T11:00:54.063Z] extensions = [
[2022-02-14T11:00:54.063Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.063Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.063Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.063Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.063Z] ]
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.063Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.063Z] the following:
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.063Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.063Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.063Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.063Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.063Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.063Z] your own ``setup()`` function.
[2022-02-14T11:00:54.063Z] """
[2022-02-14T11:00:54.063Z] from humanfriendly import __version__
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.063Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.063Z] """
[2022-02-14T11:00:54.063Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.063Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.063Z] """
[2022-02-14T11:00:54.063Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.063Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.063Z]
[2022-02-14T11:00:54.063Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.064Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_patch_item ____________
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] def setup(app):
[2022-02-14T11:00:54.064Z] """
[2022-02-14T11:00:54.064Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.064Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.064Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.064Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] .. code-block:: python
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] # Sphinx extension module names.
[2022-02-14T11:00:54.064Z] extensions = [
[2022-02-14T11:00:54.064Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.064Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.064Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.064Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.064Z] ]
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.064Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.064Z] the following:
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.064Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.064Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.064Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.064Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.064Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.064Z] your own ``setup()`` function.
[2022-02-14T11:00:54.064Z] """
[2022-02-14T11:00:54.064Z] from humanfriendly import __version__
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.064Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.064Z] """
[2022-02-14T11:00:54.064Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.064Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.064Z] """
[2022-02-14T11:00:54.064Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.064Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.064Z] ________ ERROR at setup of HumanFriendlyTestCase.test_pattern_coercion _________
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] def setup(app):
[2022-02-14T11:00:54.064Z] """
[2022-02-14T11:00:54.064Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.064Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.064Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.064Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] .. code-block:: python
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] # Sphinx extension module names.
[2022-02-14T11:00:54.064Z] extensions = [
[2022-02-14T11:00:54.064Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.064Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.064Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.064Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.064Z] ]
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.064Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.064Z] the following:
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.064Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.064Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.064Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.064Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.064Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.064Z]
[2022-02-14T11:00:54.065Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.065Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.065Z] your own ``setup()`` function.
[2022-02-14T11:00:54.065Z] """
[2022-02-14T11:00:54.065Z] from humanfriendly import __version__
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.065Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.065Z] """
[2022-02-14T11:00:54.065Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.065Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.065Z] """
[2022-02-14T11:00:54.065Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.065Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.065Z] __________ ERROR at setup of HumanFriendlyTestCase.test_pluralization __________
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] def setup(app):
[2022-02-14T11:00:54.065Z] """
[2022-02-14T11:00:54.065Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.065Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.065Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.065Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] .. code-block:: python
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] # Sphinx extension module names.
[2022-02-14T11:00:54.065Z] extensions = [
[2022-02-14T11:00:54.065Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.065Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.065Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.065Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.065Z] ]
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.065Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.065Z] the following:
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.065Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.065Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.065Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.065Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.065Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.065Z] your own ``setup()`` function.
[2022-02-14T11:00:54.065Z] """
[2022-02-14T11:00:54.065Z] from humanfriendly import __version__
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.065Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.065Z] """
[2022-02-14T11:00:54.065Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.065Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.065Z] """
[2022-02-14T11:00:54.065Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.065Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.065Z] __________ ERROR at setup of HumanFriendlyTestCase.test_pretty_tables __________
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.065Z]
[2022-02-14T11:00:54.065Z] def setup(app):
[2022-02-14T11:00:54.066Z] """
[2022-02-14T11:00:54.066Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.066Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.066Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.066Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] .. code-block:: python
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] # Sphinx extension module names.
[2022-02-14T11:00:54.066Z] extensions = [
[2022-02-14T11:00:54.066Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.066Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.066Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.066Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.066Z] ]
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.066Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.066Z] the following:
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.066Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.066Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.066Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.066Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.066Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.066Z] your own ``setup()`` function.
[2022-02-14T11:00:54.066Z] """
[2022-02-14T11:00:54.066Z] from humanfriendly import __version__
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.066Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.066Z] """
[2022-02-14T11:00:54.066Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.066Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.066Z] """
[2022-02-14T11:00:54.066Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.066Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.066Z] ________ ERROR at setup of HumanFriendlyTestCase.test_prompt_for_choice ________
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] def setup(app):
[2022-02-14T11:00:54.066Z] """
[2022-02-14T11:00:54.066Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.066Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.066Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.066Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] .. code-block:: python
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] # Sphinx extension module names.
[2022-02-14T11:00:54.066Z] extensions = [
[2022-02-14T11:00:54.066Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.066Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.066Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.066Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.066Z] ]
[2022-02-14T11:00:54.066Z]
[2022-02-14T11:00:54.066Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.067Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.067Z] the following:
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.067Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.067Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.067Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.067Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.067Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.067Z] your own ``setup()`` function.
[2022-02-14T11:00:54.067Z] """
[2022-02-14T11:00:54.067Z] from humanfriendly import __version__
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.067Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.067Z] """
[2022-02-14T11:00:54.067Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.067Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.067Z] """
[2022-02-14T11:00:54.067Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.067Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.067Z] ________ ERROR at setup of HumanFriendlyTestCase.test_prompt_for_input _________
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] def setup(app):
[2022-02-14T11:00:54.067Z] """
[2022-02-14T11:00:54.067Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.067Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.067Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.067Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] .. code-block:: python
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] # Sphinx extension module names.
[2022-02-14T11:00:54.067Z] extensions = [
[2022-02-14T11:00:54.067Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.067Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.067Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.067Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.067Z] ]
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.067Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.067Z] the following:
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.067Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.067Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.067Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.067Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.067Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.067Z] your own ``setup()`` function.
[2022-02-14T11:00:54.067Z] """
[2022-02-14T11:00:54.067Z] from humanfriendly import __version__
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.067Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.067Z] """
[2022-02-14T11:00:54.067Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.067Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.067Z]
[2022-02-14T11:00:54.067Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.067Z] """
[2022-02-14T11:00:54.067Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.068Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.068Z] __________ ERROR at setup of HumanFriendlyTestCase.test_render_usage ___________
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] def setup(app):
[2022-02-14T11:00:54.068Z] """
[2022-02-14T11:00:54.068Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.068Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.068Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.068Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] .. code-block:: python
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] # Sphinx extension module names.
[2022-02-14T11:00:54.068Z] extensions = [
[2022-02-14T11:00:54.068Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.068Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.068Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.068Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.068Z] ]
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.068Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.068Z] the following:
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.068Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.068Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.068Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.068Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.068Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.068Z] your own ``setup()`` function.
[2022-02-14T11:00:54.068Z] """
[2022-02-14T11:00:54.068Z] from humanfriendly import __version__
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.068Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.068Z] """
[2022-02-14T11:00:54.068Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.068Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.068Z] """
[2022-02-14T11:00:54.068Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.068Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.068Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_retry_raise ___________
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] def setup(app):
[2022-02-14T11:00:54.068Z] """
[2022-02-14T11:00:54.068Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.068Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.068Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.068Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] .. code-block:: python
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] # Sphinx extension module names.
[2022-02-14T11:00:54.068Z] extensions = [
[2022-02-14T11:00:54.068Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.068Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.068Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.068Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.068Z] ]
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.068Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.068Z] the following:
[2022-02-14T11:00:54.068Z]
[2022-02-14T11:00:54.068Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.068Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.068Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.069Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.069Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.069Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.069Z] your own ``setup()`` function.
[2022-02-14T11:00:54.069Z] """
[2022-02-14T11:00:54.069Z] from humanfriendly import __version__
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.069Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.069Z] """
[2022-02-14T11:00:54.069Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.069Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.069Z] """
[2022-02-14T11:00:54.069Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.069Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.069Z] __________ ERROR at setup of HumanFriendlyTestCase.test_retry_return ___________
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] def setup(app):
[2022-02-14T11:00:54.069Z] """
[2022-02-14T11:00:54.069Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.069Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.069Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.069Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] .. code-block:: python
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] # Sphinx extension module names.
[2022-02-14T11:00:54.069Z] extensions = [
[2022-02-14T11:00:54.069Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.069Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.069Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.069Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.069Z] ]
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.069Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.069Z] the following:
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.069Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.069Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.069Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.069Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.069Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.069Z] your own ``setup()`` function.
[2022-02-14T11:00:54.069Z] """
[2022-02-14T11:00:54.069Z] from humanfriendly import __version__
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.069Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.069Z] """
[2022-02-14T11:00:54.069Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.069Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.069Z] """
[2022-02-14T11:00:54.069Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.069Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.069Z]
[2022-02-14T11:00:54.069Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.070Z] __________ ERROR at setup of HumanFriendlyTestCase.test_robust_tables __________
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] def setup(app):
[2022-02-14T11:00:54.070Z] """
[2022-02-14T11:00:54.070Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.070Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.070Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.070Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] .. code-block:: python
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] # Sphinx extension module names.
[2022-02-14T11:00:54.070Z] extensions = [
[2022-02-14T11:00:54.070Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.070Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.070Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.070Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.070Z] ]
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.070Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.070Z] the following:
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.070Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.070Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.070Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.070Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.070Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.070Z] your own ``setup()`` function.
[2022-02-14T11:00:54.070Z] """
[2022-02-14T11:00:54.070Z] from humanfriendly import __version__
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.070Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.070Z] """
[2022-02-14T11:00:54.070Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.070Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.070Z] """
[2022-02-14T11:00:54.070Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.070Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.070Z] __________ ERROR at setup of HumanFriendlyTestCase.test_round_number ___________
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] def setup(app):
[2022-02-14T11:00:54.070Z] """
[2022-02-14T11:00:54.070Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.070Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.070Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.070Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] .. code-block:: python
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] # Sphinx extension module names.
[2022-02-14T11:00:54.070Z] extensions = [
[2022-02-14T11:00:54.070Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.070Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.070Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.070Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.070Z] ]
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.070Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.070Z] the following:
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.070Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.070Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.070Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.070Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.070Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.070Z]
[2022-02-14T11:00:54.071Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.071Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.071Z] your own ``setup()`` function.
[2022-02-14T11:00:54.071Z] """
[2022-02-14T11:00:54.071Z] from humanfriendly import __version__
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.071Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.071Z] """
[2022-02-14T11:00:54.071Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.071Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.071Z] """
[2022-02-14T11:00:54.071Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.071Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.071Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_rst_tables ____________
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] def setup(app):
[2022-02-14T11:00:54.071Z] """
[2022-02-14T11:00:54.071Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.071Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.071Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.071Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] .. code-block:: python
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] # Sphinx extension module names.
[2022-02-14T11:00:54.071Z] extensions = [
[2022-02-14T11:00:54.071Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.071Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.071Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.071Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.071Z] ]
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.071Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.071Z] the following:
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.071Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.071Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.071Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.071Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.071Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.071Z] your own ``setup()`` function.
[2022-02-14T11:00:54.071Z] """
[2022-02-14T11:00:54.071Z] from humanfriendly import __version__
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.071Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.071Z] """
[2022-02-14T11:00:54.071Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.071Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.071Z] """
[2022-02-14T11:00:54.071Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.071Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.071Z] ____ ERROR at setup of HumanFriendlyTestCase.test_run_cli_intercepts_error _____
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.071Z]
[2022-02-14T11:00:54.071Z] def setup(app):
[2022-02-14T11:00:54.071Z] """
[2022-02-14T11:00:54.072Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.072Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.072Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.072Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] .. code-block:: python
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] # Sphinx extension module names.
[2022-02-14T11:00:54.072Z] extensions = [
[2022-02-14T11:00:54.072Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.072Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.072Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.072Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.072Z] ]
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.072Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.072Z] the following:
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.072Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.072Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.072Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.072Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.072Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.072Z] your own ``setup()`` function.
[2022-02-14T11:00:54.072Z] """
[2022-02-14T11:00:54.072Z] from humanfriendly import __version__
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.072Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.072Z] """
[2022-02-14T11:00:54.072Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.072Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.072Z] """
[2022-02-14T11:00:54.072Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.072Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.072Z] _____ ERROR at setup of HumanFriendlyTestCase.test_run_cli_intercepts_exit _____
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] def setup(app):
[2022-02-14T11:00:54.072Z] """
[2022-02-14T11:00:54.072Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.072Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.072Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.072Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] .. code-block:: python
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] # Sphinx extension module names.
[2022-02-14T11:00:54.072Z] extensions = [
[2022-02-14T11:00:54.072Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.072Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.072Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.072Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.072Z] ]
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.072Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.072Z] the following:
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.072Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.072Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.072Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.072Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.072Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.072Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.072Z] your own ``setup()`` function.
[2022-02-14T11:00:54.072Z] """
[2022-02-14T11:00:54.072Z] from humanfriendly import __version__
[2022-02-14T11:00:54.072Z]
[2022-02-14T11:00:54.073Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.073Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.073Z] """
[2022-02-14T11:00:54.073Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.073Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.073Z] """
[2022-02-14T11:00:54.073Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.073Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.073Z] ____ ERROR at setup of HumanFriendlyTestCase.test_run_cli_intercepts_output ____
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] def setup(app):
[2022-02-14T11:00:54.073Z] """
[2022-02-14T11:00:54.073Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.073Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.073Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.073Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] .. code-block:: python
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] # Sphinx extension module names.
[2022-02-14T11:00:54.073Z] extensions = [
[2022-02-14T11:00:54.073Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.073Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.073Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.073Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.073Z] ]
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.073Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.073Z] the following:
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.073Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.073Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.073Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.073Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.073Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.073Z] your own ``setup()`` function.
[2022-02-14T11:00:54.073Z] """
[2022-02-14T11:00:54.073Z] from humanfriendly import __version__
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.073Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.073Z] """
[2022-02-14T11:00:54.073Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.073Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.073Z] """
[2022-02-14T11:00:54.073Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.073Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.073Z] ___________ ERROR at setup of HumanFriendlyTestCase.test_show_pager ____________
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] def setup(app):
[2022-02-14T11:00:54.073Z] """
[2022-02-14T11:00:54.073Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.073Z]
[2022-02-14T11:00:54.073Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.074Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.074Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.074Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] .. code-block:: python
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] # Sphinx extension module names.
[2022-02-14T11:00:54.074Z] extensions = [
[2022-02-14T11:00:54.074Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.074Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.074Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.074Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.074Z] ]
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.074Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.074Z] the following:
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.074Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.074Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.074Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.074Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.074Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.074Z] your own ``setup()`` function.
[2022-02-14T11:00:54.074Z] """
[2022-02-14T11:00:54.074Z] from humanfriendly import __version__
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.074Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.074Z] """
[2022-02-14T11:00:54.074Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.074Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.074Z] """
[2022-02-14T11:00:54.074Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.074Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.074Z] __________ ERROR at setup of HumanFriendlyTestCase.test_skip_on_raise __________
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] def setup(app):
[2022-02-14T11:00:54.074Z] """
[2022-02-14T11:00:54.074Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.074Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.074Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.074Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] .. code-block:: python
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] # Sphinx extension module names.
[2022-02-14T11:00:54.074Z] extensions = [
[2022-02-14T11:00:54.074Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.074Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.074Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.074Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.074Z] ]
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.074Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.074Z] the following:
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.074Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.074Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.074Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.074Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.074Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.074Z] your own ``setup()`` function.
[2022-02-14T11:00:54.074Z] """
[2022-02-14T11:00:54.074Z] from humanfriendly import __version__
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.074Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.074Z]
[2022-02-14T11:00:54.074Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.075Z] """
[2022-02-14T11:00:54.075Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.075Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.075Z] """
[2022-02-14T11:00:54.075Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.075Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.075Z] __________ ERROR at setup of HumanFriendlyTestCase.test_smart_tables ___________
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] def setup(app):
[2022-02-14T11:00:54.075Z] """
[2022-02-14T11:00:54.075Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.075Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.075Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.075Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] .. code-block:: python
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] # Sphinx extension module names.
[2022-02-14T11:00:54.075Z] extensions = [
[2022-02-14T11:00:54.075Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.075Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.075Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.075Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.075Z] ]
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.075Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.075Z] the following:
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.075Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.075Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.075Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.075Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.075Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.075Z] your own ``setup()`` function.
[2022-02-14T11:00:54.075Z] """
[2022-02-14T11:00:54.075Z] from humanfriendly import __version__
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.075Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.075Z] """
[2022-02-14T11:00:54.075Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.075Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.075Z] """
[2022-02-14T11:00:54.075Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.075Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.075Z] ______ ERROR at setup of HumanFriendlyTestCase.test_sphinx_customizations ______
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] def setup(app):
[2022-02-14T11:00:54.075Z] """
[2022-02-14T11:00:54.075Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.075Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.075Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.075Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] .. code-block:: python
[2022-02-14T11:00:54.075Z]
[2022-02-14T11:00:54.075Z] # Sphinx extension module names.
[2022-02-14T11:00:54.076Z] extensions = [
[2022-02-14T11:00:54.076Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.076Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.076Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.076Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.076Z] ]
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.076Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.076Z] the following:
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.076Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.076Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.076Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.076Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.076Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.076Z] your own ``setup()`` function.
[2022-02-14T11:00:54.076Z] """
[2022-02-14T11:00:54.076Z] from humanfriendly import __version__
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.076Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.076Z] """
[2022-02-14T11:00:54.076Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.076Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.076Z] """
[2022-02-14T11:00:54.076Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.076Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.076Z] _____________ ERROR at setup of HumanFriendlyTestCase.test_spinner _____________
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] def setup(app):
[2022-02-14T11:00:54.076Z] """
[2022-02-14T11:00:54.076Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.076Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.076Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.076Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] .. code-block:: python
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] # Sphinx extension module names.
[2022-02-14T11:00:54.076Z] extensions = [
[2022-02-14T11:00:54.076Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.076Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.076Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.076Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.076Z] ]
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.076Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.076Z] the following:
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.076Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.076Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.076Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.076Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.076Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.076Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.076Z] your own ``setup()`` function.
[2022-02-14T11:00:54.076Z] """
[2022-02-14T11:00:54.076Z] from humanfriendly import __version__
[2022-02-14T11:00:54.076Z]
[2022-02-14T11:00:54.077Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.077Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.077Z] """
[2022-02-14T11:00:54.077Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.077Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.077Z] """
[2022-02-14T11:00:54.077Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.077Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.077Z] ______________ ERROR at setup of HumanFriendlyTestCase.test_split ______________
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] def setup(app):
[2022-02-14T11:00:54.077Z] """
[2022-02-14T11:00:54.077Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.077Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.077Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.077Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] .. code-block:: python
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] # Sphinx extension module names.
[2022-02-14T11:00:54.077Z] extensions = [
[2022-02-14T11:00:54.077Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.077Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.077Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.077Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.077Z] ]
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.077Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.077Z] the following:
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.077Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.077Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.077Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.077Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.077Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.077Z] your own ``setup()`` function.
[2022-02-14T11:00:54.077Z] """
[2022-02-14T11:00:54.077Z] from humanfriendly import __version__
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.077Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.077Z] """
[2022-02-14T11:00:54.077Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.077Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.077Z] """
[2022-02-14T11:00:54.077Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.077Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.077Z] _______ ERROR at setup of HumanFriendlyTestCase.test_temporary_directory _______
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] def setup(app):
[2022-02-14T11:00:54.077Z] """
[2022-02-14T11:00:54.077Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.077Z]
[2022-02-14T11:00:54.077Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.078Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.078Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.078Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] .. code-block:: python
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] # Sphinx extension module names.
[2022-02-14T11:00:54.078Z] extensions = [
[2022-02-14T11:00:54.078Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.078Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.078Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.078Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.078Z] ]
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.078Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.078Z] the following:
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.078Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.078Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.078Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.078Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.078Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.078Z] your own ``setup()`` function.
[2022-02-14T11:00:54.078Z] """
[2022-02-14T11:00:54.078Z] from humanfriendly import __version__
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.078Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.078Z] """
[2022-02-14T11:00:54.078Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.078Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.078Z] """
[2022-02-14T11:00:54.078Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.078Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.078Z] ______________ ERROR at setup of HumanFriendlyTestCase.test_timer ______________
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] def setup(app):
[2022-02-14T11:00:54.078Z] """
[2022-02-14T11:00:54.078Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.078Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.078Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.078Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] .. code-block:: python
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] # Sphinx extension module names.
[2022-02-14T11:00:54.078Z] extensions = [
[2022-02-14T11:00:54.078Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.078Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.078Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.078Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.078Z] ]
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.078Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.078Z] the following:
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.078Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.078Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.078Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.078Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.078Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.078Z] your own ``setup()`` function.
[2022-02-14T11:00:54.078Z] """
[2022-02-14T11:00:54.078Z] from humanfriendly import __version__
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.078Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.078Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.078Z]
[2022-02-14T11:00:54.079Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.079Z] """
[2022-02-14T11:00:54.079Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.079Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.079Z] """
[2022-02-14T11:00:54.079Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.079Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.079Z] ______________ ERROR at setup of HumanFriendlyTestCase.test_touch ______________
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] def setup(app):
[2022-02-14T11:00:54.079Z] """
[2022-02-14T11:00:54.079Z] Enable all of the provided Sphinx_ customizations.
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] The :func:`setup()` function makes it easy to enable all of the Sphinx
[2022-02-14T11:00:54.079Z] customizations provided by the :mod:`humanfriendly.sphinx` module with the
[2022-02-14T11:00:54.079Z] least amount of code. All you need to do is to add the module name to the
[2022-02-14T11:00:54.079Z] ``extensions`` variable in your ``conf.py`` file:
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] .. code-block:: python
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] # Sphinx extension module names.
[2022-02-14T11:00:54.079Z] extensions = [
[2022-02-14T11:00:54.079Z] 'sphinx.ext.autodoc',
[2022-02-14T11:00:54.079Z] 'sphinx.ext.doctest',
[2022-02-14T11:00:54.079Z] 'sphinx.ext.intersphinx',
[2022-02-14T11:00:54.079Z] 'humanfriendly.sphinx',
[2022-02-14T11:00:54.079Z] ]
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] When Sphinx sees the :mod:`humanfriendly.sphinx` name it will import the
[2022-02-14T11:00:54.079Z] module and call its :func:`setup()` function. This function will then call
[2022-02-14T11:00:54.079Z] the following:
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] - :func:`enable_deprecation_notes()`
[2022-02-14T11:00:54.079Z] - :func:`enable_man_role()`
[2022-02-14T11:00:54.079Z] - :func:`enable_pypi_role()`
[2022-02-14T11:00:54.079Z] - :func:`enable_special_methods()`
[2022-02-14T11:00:54.079Z] - :func:`enable_usage_formatting()`
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] Of course more functionality may be added at a later stage. If you don't
[2022-02-14T11:00:54.079Z] like that idea you may be better of calling the individual functions from
[2022-02-14T11:00:54.079Z] your own ``setup()`` function.
[2022-02-14T11:00:54.079Z] """
[2022-02-14T11:00:54.079Z] from humanfriendly import __version__
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] > enable_deprecation_notes(app)
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] humanfriendly/sphinx.py:250:
[2022-02-14T11:00:54.079Z] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] app = <module 'humanfriendly.tests' from '/build/python-humanfriendly/src/humanfriendly-10.0/humanfriendly/tests.py'>
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] def enable_deprecation_notes(app):
[2022-02-14T11:00:54.079Z] """
[2022-02-14T11:00:54.079Z] Enable documenting backwards compatibility aliases using the autodoc_ extension.
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] :param app: The Sphinx application object.
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] This function connects the :func:`deprecation_note_callback()` function to
[2022-02-14T11:00:54.079Z] ``autodoc-process-docstring`` events.
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] .. _autodoc: http://www.sphinx-doc.org/en/stable/ext/autodoc.html
[2022-02-14T11:00:54.079Z] """
[2022-02-14T11:00:54.079Z] > app.connect("autodoc-process-docstring", deprecation_note_callback)
[2022-02-14T11:00:54.079Z] E AttributeError: module 'humanfriendly.tests' has no attribute 'connect'
[2022-02-14T11:00:54.079Z]
[2022-02-14T11:00:54.079Z] humanfriendly/sphinx.py:112: AttributeError
[2022-02-14T11:00:54.079Z] =========================== short test summary info ============================
[2022-02-14T11:00:54.079Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_alias_proxy_deprecation_warning
[2022-02-14T11:00:54.079Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_alias_proxy_sphinx_compensation
[2022-02-14T11:00:54.079Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_alias_proxy_sphinx_integration
[2022-02-14T11:00:54.079Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_ansi_style - Attrib...
[2022-02-14T11:00:54.079Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_ansi_width - Attrib...
[2022-02-14T11:00:54.079Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_ansi_wrap - Attribu...
[2022-02-14T11:00:54.079Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_automatic_spinner
[2022-02-14T11:00:54.079Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_boolean_coercion - ...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_caching_decorator
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_capture_output - At...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_case_insensitive_dict
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_case_insensitive_key
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_clean_output - Attr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_cli - AttributeErro...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_compact - Attribute...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_compact_empty_lines
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_concatenate - Attri...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_dedent - AttributeE...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_deprecated_args - A...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_find_meta_variables
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_find_terminal_size
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_format_length - Att...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_format_number - Att...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_format_path - Attri...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_format_size - Attri...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_format_timespan - A...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_format_usage - Attr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_generate_message - ...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_generate_output - A...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_generate_slug - Att...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_get_pager_command
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_html_to_ansi - Attr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_mocked_program - At...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_date - Attrib...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_length - Attr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_path - Attrib...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_size - Attrib...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_timespan - At...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_usage_commas
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_usage_simple
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_parse_usage_tricky
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_patch_attribute - A...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_patch_item - Attrib...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_pattern_coercion - ...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_pluralization - Att...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_pretty_tables - Att...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_prompt_for_choice
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_prompt_for_input - ...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_render_usage - Attr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_retry_raise - Attri...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_retry_return - Attr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_robust_tables - Att...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_round_number - Attr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_rst_tables - Attrib...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_run_cli_intercepts_error
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_run_cli_intercepts_exit
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_run_cli_intercepts_output
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_show_pager - Attrib...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_skip_on_raise - Att...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_smart_tables - Attr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_sphinx_customizations
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_spinner - Attribute...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_split - AttributeEr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_temporary_directory
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_timer - AttributeEr...
[2022-02-14T11:00:54.080Z] ERROR humanfriendly/tests.py::HumanFriendlyTestCase::test_touch - AttributeEr...
[2022-02-14T11:00:54.081Z] ======================= 3 deselected, 66 errors in 0.83s =======================
[2022-02-14T11:00:54.331Z] ==> ERROR: A failure occurred in check().
[2022-02-14T11:00:54.331Z] Aborting...
[2022-02-14T11:00:56.192Z] ==> ERROR: Build failed, check /build/buildpkg/gremlins-x86_64/jenkins/build
[Pipeline] }
[2022-02-14T11:00:56.197Z] ERROR: Failed to build source
[2022-02-14T11:00:56.198Z] ERROR: script returned exit code 255
[Pipeline] // catchError
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] emailext
[2022-02-14T11:00:56.269Z] Sending email to: artix-build-failures at artixlinux.org
More information about the artix-build-failures
mailing list