diff --git a/bin/add-old-drafts-from-archive.py b/bin/add-old-drafts-from-archive.py index f968cd11d79..e169ecdcfc8 100755 --- a/bin/add-old-drafts-from-archive.py +++ b/bin/add-old-drafts-from-archive.py @@ -4,7 +4,7 @@ import datetime import os import sys -from pathlib2 import Path +from pathlib import Path from contextlib import closing os.environ["DJANGO_SETTINGS_MODULE"] = "ietf.settings" diff --git a/debug.py b/debug.py index 34c4940bf28..bf34367cceb 100644 --- a/debug.py +++ b/debug.py @@ -3,9 +3,7 @@ import sys import time as timeutils import inspect -import six -if six.PY3: - from typing import Callable +from typing import Callable try: import syslog diff --git a/ietf/utils/management/commands/populate_yang_model_dirs.py b/ietf/utils/management/commands/populate_yang_model_dirs.py index 9151cedff92..1a6e1422cbc 100644 --- a/ietf/utils/management/commands/populate_yang_model_dirs.py +++ b/ietf/utils/management/commands/populate_yang_model_dirs.py @@ -7,7 +7,7 @@ import sys import time -from pathlib2 import Path +from pathlib import Path from textwrap import dedent from xym import xym diff --git a/requirements.txt b/requirements.txt index 0d226199a0f..31e0043da17 100644 --- a/requirements.txt +++ b/requirements.txt @@ -41,7 +41,6 @@ mock>=4.0.3 # Used only by tests, of course mypy>=0.782,<0.790 # Version requirements determined by django-stubs. mysqlclient>=2.1.0 oic>=1.3 # Used only by tests -pathlib2>=2.3.7.post1 Pillow>=9.1.0 pyang>=2.5.3 pyflakes>=2.4.0 @@ -57,7 +56,6 @@ requests-mock>=1.9.3 rfc2html>=2.0.3 scout-apm>=2.24.2 selenium>=3.141.0,<4.0 -six>=1.16.0 tblib>=1.7.0 # So that the django test runner provides tracebacks tlds>=2022042700 # Used to teach bleach about which TLDs currently exist tqdm>=4.64.0