File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "pyFF"
33version = " 2.1.5"
44readme = " README.rst"
55description = " Federation Feeder"
6- requires-python = " >=3.7 "
6+ requires-python = " >=3.9 "
77license = {file = " LICENSE" }
88
99authors = [
@@ -19,7 +19,7 @@ maintainers = [
1919[tool .ruff ]
2020# Allow lines to be as long as 120.
2121line-length = 120
22- target-version = " py37 "
22+ target-version = " py39 "
2323[tool .ruff .format ]
2424quote-style = " preserve"
2525
Original file line number Diff line number Diff line change @@ -126,10 +126,10 @@ def sys_exit(self, code):
126126
127127 @classmethod
128128 def setUpClass (cls ):
129- with importlib .resources .path (
130- __name__ , 'data'
131- ) as context : # We just want the path for now to be compatible downstream
132- cls . datadir = context . as_posix ()
129+ cls . datadir = importlib .resources .files (
130+ __name__ ,
131+ ). joinpath ( 'data' )
132+
133133 cls .private_keyspec = tempfile .NamedTemporaryFile ('w' ).name
134134 cls .public_keyspec = tempfile .NamedTemporaryFile ('w' ).name
135135
You can’t perform that action at this time.
0 commit comments