Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: remove version pin for Sphinx #5080

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

sumpfralle
Copy link
Contributor

@sumpfralle sumpfralle commented Jan 14, 2024

In cf69cad the Sphinx version was pinned to "<4.4.0".

The issue at that time (a spurious warning) is described in:
sphinx-doc/sphinx#10112

The problematic check was removed in Sphinx v4.5:
https://www.sphinx-doc.org/en/master/changes.html#id334

The issue of spurious warnings was fixed in v5.x:
sphinx-doc/sphinx#10137

Technically it would be suitable to add negative version pin of Sphinx for "4.4".
But that version is quite outdated and at least Debian never shipped Sphinx v4.4 in a stable release.

This change fixes the current CI build failure, which is caused by an incompatibility of sphinxcontrib-applehelp with the older version of Sphinx.

@Serene-Arc
Copy link
Contributor

I don't think we should completely unpin the sphinx version but it does fix our CI test, clearly. If you could pin the version to a minimum of what fixes the issue, such as a 5.x, I'll merge.

In cf69cad the Sphinx version was pinned to "<4.4.0".

The issue at that time (a spurious warning) is described in:
  sphinx-doc/sphinx#10112

The problematic check was removed in Sphinx v4.5:
  https://www.sphinx-doc.org/en/master/changes.html#id334

The issue of spurious warnings was finally fixed in v5.x:
  sphinx-doc/sphinx#10137

Technically it would be suitable to add a negative version pin of Sphinx
for "4.4".
But that version is quite outdated and at least Debian never shipped
Sphinx v4.4 in a stable release.

We force sphinx to be at least v5 in order to fix an unrelated recent
compatibility requirement of `sphinxcontrib.applehelp`.
@sumpfralle sumpfralle force-pushed the remove-sphinx-version-pin branch from 76e2785 to 3d308f9 Compare January 15, 2024 11:01
@sumpfralle
Copy link
Contributor Author

You are right: the sphinxcontrib-applehelper issue requires v5, thus we enforce this version now.

@Serene-Arc
Copy link
Contributor

Cool, seems like this solves some problems.

@Serene-Arc Serene-Arc merged commit 7df14b6 into beetbox:master Jan 15, 2024
13 checks passed
@sumpfralle sumpfralle deleted the remove-sphinx-version-pin branch January 15, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants