Skip to content

Commit

Permalink
document whitelist limitations in code (#2088)
Browse files Browse the repository at this point in the history
## Changes
document whitelist limitations in code

### Linked issues
Progresses #1901 

### Functionality
None

### Tests
Not tested

Co-authored-by: Eric Vergnaud <[email protected]>
  • Loading branch information
ericvergnaud and ericvergnaud authored Jul 8, 2024
1 parent e22a2db commit 7d5b3ef
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/databricks/labs/ucx/source_code/known.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,28 @@

logger = logging.getLogger(__name__)

"""
Known libraries that are not in known.json
1) libraries with Python syntax that astroid cannot parse
tempo (error -> multiple exception types must be parenthesized)
chromadb (error -> 'Module' object has no attribute 'doc_node')
2) code that cannot be installed locally
dbruntime (error -> no pypi package)
horovod (error -> Failed to install temporary CMake. Please update your CMake to 3.13+ or set HOROVOD_CMAKE appropriately)
mediamix (requires a workspace, see https://d1r5llqwmkrl74.cloudfront.net/notebooks/CME/media-mix-modeling/index.html#media-mix-modeling_1.html)
mosaic (error -> print without parenthesis not supported by pip)
sat (requires a workspace, see https://github.com/databricks-industry-solutions/security-analysis-tool/blob/main/docs/setup.md)
3) code that cannot be located
utils
util
chedispy
4) code that's imported only once
"""


@dataclass
class Compatibility:
Expand Down

0 comments on commit 7d5b3ef

Please sign in to comment.