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

Possible compatibility issue with Sphinx 7.2.6?

Open sr-murthy opened this issue 2 years ago • 2 comments

Describe the bug

context I'm not sure whether this is a problem with sphinx_design, but I recently tried to Install sphinx_design with PDM and Sphinx 7.2.6 pre-installed. This triggers an error. expectation Successfully install sphinx_design.

bug I get the following error:

resolvelib.resolvers.InconsistentCandidate: Provided candidate <Candidate [email protected]> does not satisfy NamedRequirement(name='Sphinx', marker=None, extras=set(), specifier=<SpecifierSet('')>, editable=False, prerelease=False)

Reproduce the bug

Run the PDM add command to install sphinx_design as a dev. dependency (with Sphinx 7.2.6 already pre-installed in the venv):

pdm add -v --update-eager --no-editable --no-self --dev -G "docs" sphinx_design

Note: I'm using pyproject.toml in my project, and Sphinx is listed as a docs dev. dependency.

List your environment

Python 3.9.6 virtual environment. PDM version 2.9.2 Sphinx 7.2.6 MacBook Pro 2020 (core i7) MacOS Ventura 13.5.2

sr-murthy avatar Sep 25 '23 21:09 sr-murthy

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Sep 25 '23 21:09 welcome[bot]

Follow up: when I downgraded Sphinx to 7.2.5 and tried to reinstall sphinx_design, with the same PDM command above, it worked.

sr-murthy avatar Sep 25 '23 21:09 sr-murthy