Closed juliausp closed 3 months ago
Were you able to fix this?
FYI, I fixed it. The problem in my case was related to a missing library (beautifulsoup4).
As the test script imports various modules within a try-except block, the export failed in my case without any warnings. This caused DashComposite to not be present in the namespace.
Hope this helps.
Hi - we are tidying up stale issues and PRs in Plotly's public repositories so that we can focus on things that are most important to our community. If this issue is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. (Please note that we will give priority to reports that include a short reproducible example.) If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson
Describe your context
Operating System: Windows 10 Ubuntu 20.04 (WSL)
Describe the bug
I would like to run a test in my gitlab-ci.yml. The test passes locally, but the gitlab-ci pipeline fails, giving the following error message: A minimum example is provided.
Project structure:
app.py
copy of https://dash.plotly.com/layout
gitlab.ci
So far, I get no difference if I add
conftest.py
def pytest_setup_options(): options = Options() options.add_argument('--headless') return options
requirements_for_testing.txt
Expected behavior
Please help me to write a gitlab-ci.yml file that makes it possible to run the test without this error. Thank you very much for considering this issue. I haven't been able to find anything on this error.