File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1- name : continuous-integration
1+ - name : continuous-integration
22
33on :
44 push :
3939 sphinx : " ~=8.0"
4040 myst-parser : " ~=4.0"
4141 pillow : " ==11.0.0"
42+ # Oldest known-compatible dependencies
43+ - os : ubuntu-latest
44+ python-version : " 3.10"
45+ sphinx : " ==5.0.0"
46+ myst-parser : " ==1.0.0"
47+ pillow : " ==11.0.0"
4248 # Mid-range dependencies
4349 - os : ubuntu-latest
4450 python-version : " 3.11"
Original file line number Diff line number Diff line change @@ -194,14 +194,10 @@ def _get_file_hash(path: Path):
194194
195195@contextlib .contextmanager
196196def _import_resources_path (package : ModuleType , resource : str ) -> Iterator [Path ]:
197- if sys .version_info < (3 , 9 ):
198- with import_resources .path (package , resource ) as path :
199- yield path
200- else :
201- with import_resources .as_file (
202- import_resources .files (package ).joinpath (resource )
203- ) as path :
204- yield path
197+ with import_resources .as_file (
198+ import_resources .files (package ).joinpath (resource )
199+ ) as path :
200+ yield path
205201
206202
207203def add_css (app : Sphinx ):
You can’t perform that action at this time.
0 commit comments