From 85ae7570e034f89f401eee3fa2db5ff6b3f3dc75 Mon Sep 17 00:00:00 2001 From: Mat Kelly Date: Wed, 16 Oct 2024 15:31:36 -0400 Subject: [PATCH] Rm package_resources from replay due to lack of Py 3.12 support --- ipwb/replay.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ipwb/replay.py b/ipwb/replay.py index 6d83b0b2..cedbaaeb 100755 --- a/ipwb/replay.py +++ b/ipwb/replay.py @@ -15,7 +15,6 @@ import ipfshttpclient as ipfsapi import json import subprocess -import pkg_resources import surt import re import traceback @@ -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