Skip to content

Conversation

trallard
Copy link
Collaborator

@trallard trallard commented Sep 2, 2024

Partially closes #1938

Inspecting the GitHub actions, I realized we had already been running our tests against the latest version of Sphinx (8.2), but since we are doing this implicitly, it is easy to miss.

I have updated the tox.ini so that the Sphinx version is always explicitly set. This makes it easier to track which version we are building docs and running tests against.

@trallard trallard added tag: dependencies Pull requests that update a dependencies or that is related to PST dependencies kind: maintenance Improving maintainability and reducing technical debt tag: CI Pull requests that update GitHub Actions code labels Sep 2, 2024
- os: ubuntu-latest
python-version: "3.9"
sphinx-version: "6.1"
# newest Python version with the newest Sphinx version
sphinx-version: "6.2"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have been installing 6.1, but I think we should bump it to 6.2

Comment on lines -226 to -228

# to run the tests only without pre-compiling the assets and without coverage (for example if you recently compiled the assets)
$ tox run -e tests-no-cov
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the compilation is required, let's remove this

Comment on lines +65 to +72
sphinx61: Sphinx>=6.1,<6.2
sphinx62: Sphinx>=6.2,<6.3
sphinx70: Sphinx>=7.0,<7.1
sphinx71: Sphinx>=7.1,<7.2
sphinx72: Sphinx>=7.2,<7.3
sphinx80: Sphinx>=8.0,<8.1
sphinxlatest: Sphinx
sphinxdev: sphinx[test] @ git+https://github.com/sphinx-doc/sphinx.git@master
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I erred on adding all versions here but since we are not running tests against all of them I can remove some of them.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO the latest point-release of 6.x, 7.x, 8.x, plus current main is enough

@trallard trallard closed this Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: maintenance Improving maintainability and reducing technical debt tag: CI Pull requests that update GitHub Actions code tag: dependencies Pull requests that update a dependencies or that is related to PST dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

adapt to sphinx 8 release
2 participants