Open kloczek opened 2 years ago
First I've been thinking that I have already packahged that extencsion then I found that I found
https://www.sphinx-doc.org/en/master/extdev/deprecated.html which indicates that sphinx.ext.autodoc
is already deprecated.
Just tested new 1.0.0 and looks like it is one warning 😋
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-repoze-sphinx-autointerface-1.0.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-repoze-sphinx-autointerface-1.0.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/repoze.sphinx.autointerface-1.0.0
plugins: hypothesis-6.41.0
collected 2 items
repoze/sphinx/tests/test_autointerface.py .. [100%]
============================================================================= warnings summary =============================================================================
repoze/sphinx/tests/util.py:31
/home/tkloczko/rpmbuild/BUILD/repoze.sphinx.autointerface-1.0.0/repoze/sphinx/tests/util.py:31: PytestCollectionWarning: cannot collect test class 'TestApp' because it has a __init__ constructor (from: repoze/sphinx/tests/test_autointerface.py)
class TestApp(application.Sphinx):
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================= 2 passed, 1 warning in 0.51s =======================================================================
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesrun pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
Here is pytest output: