Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf457a29

Browse files
committed
[PBCKP-289] Fix sphinxcontrib.napoleon import error
Error was:"Could not import extension sphinxcontrib.napoleon (exception: cannot import name 'Callable' from 'collections' (/usr/lib/python3.10/collections/__init__.py))"
1 parent4024049 commitf457a29

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

‎docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#Building the documentation
22

3-
Make sure you have`Sphinx`and`sphinxcontrib-napoleon` packages installed:
3+
Make sure you have`Sphinx`package installed:
44

55
```
6-
pip install Sphinx sphinxcontrib-napoleon
6+
pip install Sphinx
77
```
88

99
Then just run
@@ -12,4 +12,4 @@ Then just run
1212
make html
1313
```
1414

15-
Documentation will be built in`build/html` directory. Other output formats are also available; run`make` without arguments to see the options.
15+
Documentation will be built in`build/html` directory. Other output formats are also available; run`make` without arguments to see the options.

‎docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# -- Project information -----------------------------------------------------
2020

2121
project=u'testgres'
22-
copyright=u'2016-2018, Postgres Professional'
22+
copyright=u'2016-2022, Postgres Professional'
2323
author=u'Postgres Professional'
2424

2525
# The short X.Y version
@@ -36,7 +36,7 @@
3636
# Add any Sphinx extension module names here, as strings. They can be
3737
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3838
# ones.
39-
extensions= ['sphinx.ext.autodoc','sphinxcontrib.napoleon']
39+
extensions= ['sphinx.ext.autodoc','sphinx.ext.napoleon']
4040

4141
# Add any paths that contain templates here, relative to this directory.
4242
templates_path= ['_templates']

‎run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# Copyright (c) 2017, Postgres Professional
3+
# Copyright (c) 2017-2022 Postgres Professional
44

55
set -eux
66

@@ -22,7 +22,7 @@ export VIRTUAL_ENV_DISABLE_PROMPT=1
2222
source$VENV_PATH/bin/activate
2323

2424
# install utilities
25-
$PIP install coverage flake8 psutil Sphinx sphinxcontrib-napoleon
25+
$PIP install coverage flake8 psutil Sphinx
2626

2727
# install testgres' dependencies
2828
export PYTHONPATH=$(pwd)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp