Skip to content

Commit

Permalink
Merge pull request #564 from ttqureshi/ttqureshi/depr_pkg_resources
Browse files Browse the repository at this point in the history
repo-tools | Replace pkg_resources to importlib_resources
  • Loading branch information
farhan authored Oct 3, 2024
2 parents e601512 + 58ced71 commit fd9a6dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edx_repo_tools/oep2/report/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""

import logging
import pkg_resources
import importlib.resources
import sys

import click
Expand Down Expand Up @@ -33,7 +33,7 @@ def cli(hub, trace, pytest_args):
"""
args = [
'--pyargs', 'edx_repo_tools.oep2.checks',
'-c', pkg_resources.resource_filename(__name__, 'oep2-report.ini'),
'-c', importlib.resources.files(__name__) / 'oep2-report.ini',
]

if trace:
Expand Down

0 comments on commit fd9a6dc

Please sign in to comment.