Skip to content

Commit 58fcf9f

Browse files
committed
Allow pre-releases vesions (dev, alpha, etc.) of documentation
requirements in the docs build, so long as the meet the minimum requirements. This will be needed especially for development/testing of our own packages, such as sphinx-astropy. Fixes astropy#11838 [skip ci]
1 parent 01dac1a commit 58fcf9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
except importlib_metadata.PackageNotFoundError:
5252
missing_requirements[req_package] = req_specifier
5353

54-
if version not in SpecifierSet(req_specifier):
54+
if version not in SpecifierSet(req_specifier, prereleases=True):
5555
missing_requirements[req_package] = req_specifier
5656

5757
if missing_requirements:

0 commit comments

Comments
 (0)