mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
Update requirements_bundles versions and comment (#4939)
This commit is contained in:
@@ -17,7 +17,7 @@ logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
# Make a directory for extensions and set it as an environment variable
|
# Make a directory for extensions and set it as an environment variable
|
||||||
# to be picked up by webpack.
|
# to be picked up by webpack.
|
||||||
extensions_relative_path = Path('client', 'app', 'extensions')
|
extensions_relative_path = Path("client", "app", "extensions")
|
||||||
extensions_directory = Path(__file__).parent.parent / extensions_relative_path
|
extensions_directory = Path(__file__).parent.parent / extensions_relative_path
|
||||||
|
|
||||||
if not extensions_directory.exists():
|
if not extensions_directory.exists():
|
||||||
@@ -94,9 +94,9 @@ def load_bundles():
|
|||||||
|
|
||||||
bundles = load_bundles().items()
|
bundles = load_bundles().items()
|
||||||
if bundles:
|
if bundles:
|
||||||
print('Number of extension bundles found: {}'.format(len(bundles)))
|
print("Number of extension bundles found: {}".format(len(bundles)))
|
||||||
else:
|
else:
|
||||||
print('No extension bundles found.')
|
print("No extension bundles found.")
|
||||||
|
|
||||||
for bundle_name, paths in bundles:
|
for bundle_name, paths in bundles:
|
||||||
# Shortcut in case not paths were found for the bundle
|
# Shortcut in case not paths were found for the bundle
|
||||||
|
|||||||
@@ -4,5 +4,5 @@
|
|||||||
# It's automatically installed when running npm run bundle
|
# It's automatically installed when running npm run bundle
|
||||||
|
|
||||||
# These can be removed when upgrading to Python 3.x
|
# These can be removed when upgrading to Python 3.x
|
||||||
importlib-metadata>=0.19 # remove when on 3.8
|
importlib-metadata>=1.6 # remove when on 3.8
|
||||||
importlib_resources==1.0.2 # remove when on 3.7
|
importlib_resources==1.5 # remove when on 3.9
|
||||||
|
|||||||
Reference in New Issue
Block a user