Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pip install installs extra dependencies (Sphinx==2.4.3 in particular) #14

@jarrodmillman

Description

@jarrodmillman

Installing via pip install access requires Sphinx==2.4.3.

NetworkX is adding several geospatial examples to our gallery (networkx/networkx#4366, networkx/networkx#4383, networkx/networkx#4407). As a result, building our documentation now requires pysal>=2.3, which requires access>=1.1.1. Building our docs requires Sphinx==3.3.1. So we have to take special care to install our required packages on our CI system, which isn't a big deal but is annoying. I also suspect other packages could run into this issue.

In your setup.py

  • install_requires is read in from requirements.txt
  • extras_require is read in from requirements_tests.txt and requirements_docs.txt

So if I clone your repo and install via pip install ., then dependences in extra_requires are not installed. But if I install from pypi, then the dependences in extra_requires are installed.

Would it be possible to remove at least the dependencies in requirements_docs.txt from the PyPI wheel required dependencies?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions