diff --git a/.github/workflows/install.sh b/.github/workflows/install.sh index b05903280..6bcda1d4b 100755 --- a/.github/workflows/install.sh +++ b/.github/workflows/install.sh @@ -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 diff --git a/poetry.lock b/poetry.lock index bf3346293..ee8504cd6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -4005,13 +4005,13 @@ requests = ">=2.14.0" [[package]] name = "percy-selenium" -version = "2.0.0" +version = "1.1.0" description = "Python client for visual testing with Percy" optional = false python-versions = ">=3.6" files = [ - {file = "percy-selenium-2.0.0.tar.gz", hash = "sha256:369107b106f0404504e12cc713f0d17f04eea886034d4733b489d6d011b4db65"}, - {file = "percy_selenium-2.0.0-py3-none-any.whl", hash = "sha256:ea4be0ac9feafe250b553422db66c88b218da55f922928a13856ed699dafedf2"}, + {file = "percy-selenium-1.1.0.tar.gz", hash = "sha256:3995c719458d537df469fdd1ac8b1168f37fdb98b0fd8d566a945aaecc8c4cbf"}, + {file = "percy_selenium-1.1.0-py3-none-any.whl", hash = "sha256:7f6628d114266281f7115db65c93c575a9ffd639654afddcd59f748c44b472fa"}, ] [package.dependencies] @@ -6948,4 +6948,4 @@ streamlit = ["streamlit"] [metadata] lock-version = "2.0" python-versions = "^3.9,!=3.9.7,<3.12" -content-hash = "02a43a071e4bcc6e33a101c1a7e3fb9f9942240504d173c3e61f017d682eace5" +content-hash = "3b71f630daf5edca7d51c2bccfb6328e0243f8b83fae644ae7f754ac97c5aad2" diff --git a/pyproject.toml b/pyproject.toml index 2f9e02cff..3fa7e70df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"