Skip to content

Commit

Permalink
pin astroid to <4 to avoid docs build failures (#2796)
Browse files Browse the repository at this point in the history
* add file that does nothing

* remove dummy file and pin astroid

* changelog

* Add astroid to ignore list for codespell

* Fix codespell ignore

---------

Co-authored-by: David Stansby <[email protected]>
  • Loading branch information
d-v-b and dstansby authored Feb 4, 2025
1 parent 87557e3 commit cd1f33d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes/2796.chore.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The docs environment is now built with ``astroid`` pinned to a version less than 4. This allows the docs to build in CI.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ docs = [
'numcodecs[msgpack]',
'rich',
's3fs',
'astroid<4'
]


Expand Down Expand Up @@ -427,3 +428,6 @@ directory = 'changes'
filename = "docs/release-notes.rst"
underlines = ["-", "~", "^"]
issue_format = ":issue:`{issue}`"

[tool.codespell]
ignore-words-list = "astroid"

0 comments on commit cd1f33d

Please sign in to comment.