sissaschool / elementpath

XPath 1.0/2.0/3.0/3.1 parsers and selectors for ElementTree and lxml
MIT License
72 stars 20 forks source link

2.2.2: sphinx warnings #38

Closed kloczek closed 3 years ago

kloczek commented 3 years ago
+ /usr/bin/python3 setup.py build_sphinx -b man
/usr/lib64/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'license_file'
  warnings.warn(msg)
running build_sphinx
Running Sphinx v4.0.2
making output directory... done
WARNING: html_static_path entry '_static' does not exist
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 4 added, 0 changed, 0 removed
reading sources... [100%] xpath_api
/home/tkloczko/rpmbuild/BUILD/elementpath-2.2.2/elementpath/regex/patterns.py:docstring of elementpath.regex.patterns.translate_pattern:9: WARNING: Inline emphasis start-string without end-string.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-elementpath.3 { introduction xpath_api pratt_api } done
build succeeded, 2 warnings.
brunato commented 3 years ago

Hi,

the warning:

elementpath/regex/patterns.py:docstring of elementpath.regex.patterns.translate_pattern:9: WARNING: Inline emphasis start-string without end-string.

will be fixed escaping * character in docstring.

The other warnings maybe depend by installed dependencies. After updating the environment with:

$ pip install --upgrade -r requirements-dev.txt

no warning appears.

brunato commented 3 years ago

Fixed by release v2.2.3.

kloczek commented 3 years ago

Thx :)