Skip to content

Commit

Permalink
Dependencies: AttributeError: module 'percy' has no attribute 'Runner'
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Sep 29, 2023
1 parent c7c0adf commit 37a2424
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ if [ "${flavor}" = "testing" ]; then
--extras=restapi \
--extras=sql

# FIXME: Remove this again.
# Fix dependency woes about percy: AttributeError: module 'percy' has no attribute 'Runner'.
# https://github.com/earthobservations/wetterdienst/pull/1017#issuecomment-1741240635
# pytest tests/ui/explorer/test_explorer.py -k test_app_layout
poetry run -- pip install 'percy>=2,<3' --force

elif [ "${flavor}" = "docs" ]; then
poetry install --verbose --no-interaction --with=docs --extras=interpolation

Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@ ipykernel = ">=6.19.4,<7"
jsonschema = { version = ">=4.17.3,<5", extras = ["format-nongpl"] }
jupyter = ">=1,<2"
lmfit = "^1.1.0" # required for example observations_station_gaussian_model.py
percy = ">=2,<3"
percy-selenium = ">=2,<3"
percy-selenium = "<2"
pybufrkit = ">=0.2,<0.3"
pytest = ">=7.2,<8"
pytest-cov = ">=4,<5"
Expand Down

0 comments on commit 37a2424

Please sign in to comment.