File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
plugins/tutor-contrib-scout-apm Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def load_about():
3838 long_description = load_readme (),
3939 packages = find_packages (exclude = ["tests*" ]),
4040 include_package_data = True ,
41- python_requires = ">=3.8 " ,
41+ python_requires = ">=3.12 " ,
4242 install_requires = ["tutor" ],
4343 extras_require = {"dev" : ["tutor[dev]>=16.0.0,<19.0.0" ]},
4444 entry_points = {
@@ -52,9 +52,6 @@ def load_about():
5252 "License :: OSI Approved :: GNU Affero General Public License v3" ,
5353 "Operating System :: OS Independent" ,
5454 "Programming Language :: Python" ,
55- "Programming Language :: Python :: 3.9" ,
56- "Programming Language :: Python :: 3.10" ,
57- "Programming Language :: Python :: 3.11" ,
5855 "Programming Language :: Python :: 3.12" ,
5956 ],
6057)
Original file line number Diff line number Diff line change 11from __future__ import annotations
22from glob import glob
33import os
4- import pkg_resources
54import uuid
65
6+ from importlib .resources import files
77from tutor import hooks as tutor_hooks
88
99from .__about__ import __version__
3535
3636# For each file in tutor_media/patches,
3737# apply a patch based on the file's name and contents.
38+ patches_dir = files ("tutor_scout_apm" ) / "patches"
3839patch_files = glob (
3940 os .path .join (
40- pkg_resources . resource_filename ( "tutor_scout_apm" , "patches" ),
41+ str ( patches_dir ),
4142 "*" ,
4243 )
4344)
You can’t perform that action at this time.
0 commit comments