ansys / pymapdl

Pythonic interface to MAPDL
https://mapdl.docs.pyansys.com
MIT License
419 stars 118 forks source link

`sphinx-build` configuration is not being catched #3034

Closed germa89 closed 2 months ago

germa89 commented 2 months ago

As the title.

This has been discovered when updating sphinx to 7.3. See https://github.com/ansys/pymapdl/pull/3030 The PR https://github.com/sphinx-doc/sphinx/pull/12203 introduced a warning that raises when the configuration is not pickable, aka cacheable.

Our sphinx_gallery_conf depends on module objects, hence it cannot be pickable.

This is not a big issue, as it can easily omitted: https://github.com/sphinx-doc/sphinx/issues/12300#issuecomment-2062238457

And that is the recommended approach, since removing module objects from our configuration can take some time, and shows not much benefit.