Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change libdeeplake error message #2682

Merged
merged 2 commits into from Nov 3, 2023
Merged

change libdeeplake error message #2682

merged 2 commits into from Nov 3, 2023

Conversation

levongh
Copy link
Contributor

@levongh levongh commented Nov 3, 2023

🚀 🚀 Pull Request

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Things to be aware of

Things to worry about

Additional Context

@levongh levongh changed the title change libeerpalek error message change libeepalek error message Nov 3, 2023
@levongh levongh changed the title change libeepalek error message change libdeeplake error message Nov 3, 2023
"This feature requires the libdeeplake package which can be installed using pip install deeplake[enterprise]. libdeeplake is available only on linux for python versions 3.6 through 3.10 and on macos for python versions 3.7 through 3.11"
)
if os.name == 'nt':
raise ImportError("High performance features are requiring the libdeeplake package which is not available in Windows OS")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"are requiring" -> "require"

raise ImportError("High performance features are requiring the libdeeplake package which is not available in Windows OS")
else:
raise ImportError(
"High performance features are requiring the libdeeplake package which can be installed using pip install libdeeplake."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High performance features require the libdeeplake package. This package in typically installed by default, and you may install it separately using pip install libdeeplake.

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (f21967e) 84.26% compared to head (ff79b33) 83.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2682      +/-   ##
==========================================
- Coverage   84.26%   83.70%   -0.56%     
==========================================
  Files         231      231              
  Lines       25840    25843       +3     
==========================================
- Hits        21773    21632     -141     
- Misses       4067     4211     +144     
Flag Coverage Δ
unittests 83.70% <25.00%> (-0.56%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
deeplake/enterprise/util.py 66.66% <25.00%> (-4.17%) ⬇️

... and 12 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Nov 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

33.3% 33.3% Coverage
0.0% 0.0% Duplication

@levongh levongh merged commit 95786a3 into main Nov 3, 2023
10 of 14 checks passed
@levongh levongh deleted the error_message_change branch November 3, 2023 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants