forked from deephaven/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Make Java, Python wheel artifacts have same dependencies (deepha…
…ven#5850) Fixes deephaven#5848
- Loading branch information
Showing
7 changed files
with
113 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
pandas | ||
pyarrow | ||
grpcio | ||
setuptools | ||
protobuf | ||
wheel | ||
sphinx | ||
bitstring | ||
unittest-xml-reporting | ||
timeout-decorator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending | ||
# | ||
|
||
import unittest | ||
import importlib | ||
import pkgutil | ||
import sys | ||
|
||
|
||
class LoadAllModules(unittest.TestCase): | ||
def test_import_all_packages(self): | ||
# First start the server that is defined in this package | ||
from deephaven_server import Server | ||
Server().start() | ||
|
||
# Then iterate through all deephaven packages to make sure they all can be imported | ||
# using the wheel that we distribute | ||
pkg = importlib.import_module('deephaven') | ||
|
||
mods = pkgutil.walk_packages(pkg.__path__, prefix='deephaven.') | ||
for mod in mods: | ||
if mod.name not in sys.modules: | ||
try: | ||
importlib.import_module(mod.name) | ||
except: | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters