-
-
Notifications
You must be signed in to change notification settings - Fork 167
1.1.0: pytest warnings #324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Nice catch, thanks - from the traceback, those DeprecationWarnings originate from the alabaster theme, which is the default in the |
Exactly the same version :/ $ pip show alabaster
Name: alabaster
Version: 0.7.12
Summary: A configurable sidebar-enabled Sphinx theme
Home-page: https://alabaster.readthedocs.io
Author: Jeff Forcier
Author-email: [email protected]
License: UNKNOWN
Location: /usr/lib/python3.8/site-packages
Requires:
Required-by: Sphinx |
Upon closer inspection, the warning actually originates from jinja (see e.g. pallets/jinja#1276). The warning indicates that the deprecation expires in v2.1, which is already very old. |
OK will try to upgrade jinja and back with results. Thx 😋 |
Just back to that issie. + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-numpydoc-1.1.0-6.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-numpydoc-1.1.0-6.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/numpydoc-1.1.0, configfile: setup.cfg
plugins: requests-mock-1.9.3, easy-server-0.8.0, yagot-0.5.0, cov-3.0.0
collected 181 items
numpydoc/numpydoc.py . [ 0%]
numpydoc/validate.py . [ 1%]
numpydoc/tests/test_docscrape.py ............................................. [ 25%]
numpydoc/tests/test_full.py ..... [ 28%]
numpydoc/tests/test_main.py ....... [ 32%]
numpydoc/tests/test_numpydoc.py .. [ 33%]
numpydoc/tests/test_validate.py .........................................................................x..x............ [ 82%]
numpydoc/tests/test_xref.py ............................... [100%]
============================================================================= warnings summary =============================================================================
numpydoc/tests/test_full.py::test_MyClass
numpydoc/tests/test_full.py::test_MyClass
/home/tkloczko/rpmbuild/BUILD/numpydoc-1.1.0/numpydoc/tests/test_full.py:30: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(sphinx.__version__) >= LooseVersion('1.8'):
-- Docs: https://docs.pytest.org/en/stable/warnings.html
-------------------------------------------- generated xml file: /home/tkloczko/rpmbuild/BUILD/numpydoc-1.1.0/junit-results.xml --------------------------------------------
========================================================================= short test summary info ==========================================================================
XFAIL numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadParameters-blank_lines-msgs30]
XFAIL numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-no_type-msgs33]
================================================================ 179 passed, 2 xfailed, 2 warnings in 3.74s ================================================================ |
Cannot test that because that commit does not apply cleanly on top of last release. Thank you. |
The text was updated successfully, but these errors were encountered: