Skip to content

make.py should not use os.system("sphinx-build ...") #8208

@anntzer

Description

@anntzer

I know the plan is to switch to a doc makefile, but the issue would be the same.

Calling os.system("sphinx-build ...") (or directly sphinx-build in the Makefile) will pick up a sphinx install outside of the current environment, which may or may not have an unrelated (e.g., older) version of matplotlib installed. Instead, the command should be something like python -msphinx build ... if sphinx offers that option, or we should use a wrapper script otherwise that makes sure that sphinx is used from the current environment only.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy