Skip to content

Commit

Permalink
Rm package_resources from replay due to lack of Py 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Oct 16, 2024
1 parent ccdb745 commit 85ae757
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ipwb/replay.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import ipfshttpclient as ipfsapi
import json
import subprocess
import pkg_resources
import surt
import re
import traceback
Expand Down Expand Up @@ -1019,8 +1018,6 @@ def get_index_file_full_path(cdxj_file_path=INDEX_FILE):
if os.path.isfile(cdxj_file_path):
return cdxj_file_path

# index_file_name = pkg_resources.resource_filename(
# __name__, index_file_path)
index_file_name = importlib.resources.files(
__name__).joinpath(index_file_path)
return index_file_name
Expand Down

0 comments on commit 85ae757

Please sign in to comment.