Skip to content

Commit

Permalink
hack around Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Feb 23, 2024
1 parent 83d358f commit 22f3d7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bundlewrap/items/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
from collections import defaultdict
from contextlib import contextmanager, suppress
from datetime import datetime
from functools import cache
try:
from functools import cache
except ImportError: # Python 3.8
cache = lambda f: f
from hashlib import md5
from os import getenv, getpid, makedirs, mkdir, rmdir
from os.path import basename, dirname, exists, isfile, join, normpath
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.8", # remove hack in files.py import when EOL
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down

0 comments on commit 22f3d7f

Please sign in to comment.