This repository was archived by the owner on Aug 29, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 72
use dash loosen-testing-reqs branch and fix linting #857
Merged
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
python -m venv venv || virtualenv venv | ||
. venv/bin/activate | ||
pip install -r dev-requirements.txt --quiet | ||
git clone --depth 1 [email protected]:plotly/dash.git dash-main | ||
git clone --depth 1 -b loosen-testing-reqs [email protected]:plotly/dash.git dash-main | ||
pip install -e ./dash-main[dev,testing] --quiet | ||
cd dash-main/dash-renderer && npm ci && npm run build && pip install -e . && cd ./../.. | ||
|
||
|
@@ -185,7 +185,7 @@ jobs: | |
command: | | ||
. venv/bin/activate | ||
pip install -r dev-requirements.txt --quiet | ||
pip install --progress-bar off -e git+https://github.com/plotly/dash.git@dev#egg=dash[dev,testing] | ||
pip install --progress-bar off -e git+https://github.com/plotly/dash.git@loosen-testing-reqs#egg=dash[dev,testing] | ||
|
||
- run: | ||
name: Run eslint | ||
|
This file contains hidden or 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 |
---|---|---|
|
@@ -6,9 +6,6 @@ | |
|
||
import dash as _dash | ||
|
||
from ._imports_ import * # noqa: F401, F403 | ||
from ._imports_ import __all__ | ||
|
||
if not hasattr(_dash, '__plotly_dash') and not hasattr(_dash, 'development'): | ||
print( | ||
"Dash was not successfully imported. " | ||
|
@@ -18,6 +15,9 @@ | |
) | ||
_sys.exit(1) | ||
|
||
from ._imports_ import * # noqa: E402, F401, F403 | ||
from ._imports_ import __all__ # noqa: E402 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The test above needs to happen before these imports or it's useless, because the components will try to use |
||
|
||
_basepath = _os.path.dirname(__file__) | ||
_filepath = _os.path.abspath(_os.path.join(_basepath, "package-info.json")) | ||
with open(_filepath) as f: | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can revert these branches and merge this PR even before plotly/dash#1506 merges, because the changes here are fine with
dash@dev