8000 --upgrade-strategy eager in environment setup leads to VersionConflict · Issue #8677 · readthedocs/readthedocs.org · GitHub
[go: up one dir, main page]

Skip to content
--upgrade-strategy eager in environment setup leads to VersionConflict #8677
@fwitte

Description

@fwitte

Details

Expected Result

The installation of dependencies in two steps (first sphinx and stuff, then the actual package, TESPy) should work smoothly.

Actual Result

Build fails due to ContextualVersionConflict.

Reason

  • pyparsing is first installed in version 2.4.7 (from packaging->sphinx>=1.3->-r docs/requirements.txt), requirement: pyparsing<3,>=2.0.2
  • pyparsing is then installed in version 3.0.5 (from matplotlib<4,>=3.2.1->TESPy==0.5.1.dev0), requirement pyparsing>=2.2.1

This leads to the error above and cancels the build. This might be somewhat related (#7345) but since I am not too familiar with the pip strategies applied on readthedocs, I wanted to ask, if this is a bug. Or should I just add a pyparsing<3 requirement to the setup.py dependencies of TESPy? Maybe there is a more ellegant solution?

I would also guess, that any other package with a similar matplotlib dependency would lead to the same issue.

Thank you very much for your help, have a nice weekend

Metadata

Metadata

Assignees

No one assigned

    Labels

    SupportSupport question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0