File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed
Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1+ Removed cruft from Python 3.8.
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ requires-python = ">=3.9"
2424license = " Apache-2.0"
2525dependencies = [
2626 " zipp>=3.20" ,
27- ' typing-extensions>=3.6.4; python_version < "3.8"' ,
2827]
2928dynamic = [" version" ]
3029
@@ -37,7 +36,6 @@ test = [
3736 " pytest >= 6, != 8.1.*" ,
3837
3938 # local
40- ' importlib_resources>=1.3; python_version < "3.9"' ,
4139 " packaging" ,
4240 " pyfakefs" ,
4341 " flufl.flake8" ,
Original file line number Diff line number Diff line change 66import shutil
77import sys
88import textwrap
9+ from importlib import resources
910
1011from . import _path
1112from ._path import FilesSpec
1213from .compat .py39 import os_helper
1314from .compat .py312 import import_helper
1415
15- if sys .version_info >= (3 , 9 ):
16- from importlib import resources
17- else :
18- import importlib_resources as resources
19-
2016
2117@contextlib .contextmanager
2218def tmp_path ():
You can’t perform that action at this time.
0 commit comments