pytest-sphinx icon indicating copy to clipboard operation
pytest-sphinx copied to clipboard

`consider_namespace_packages=False` breaks support for namespaces packages

Open skabbit opened this issue 1 year ago • 1 comments

https://github.com/twmr/pytest-sphinx/commit/485779c5dbc5804083bd32cfdf1f7ce533ddd72d#diff-d97c85ba56ae43cfe7670a8d91c9d457f1a9fc26b92ea5b18fb9ab9901a42c9cR561

Why is it set consider_namespace_packages=False here? This break support support for namespaces packages, as I experienced.

skabbit avatar Jun 20 '24 10:06 skabbit

I suppose, the best solution is respect the pytest option consider_namespace_packages and pass it to import_path()

aserechenko avatar Jun 20 '24 12:06 aserechenko