Unverified Commit de8d4562 authored by Nicola Soranzo's avatar Nicola Soranzo
Browse files

Add missing Werkzeug test requirement

Used in `test/unit/util/test_get_url.py` since commit
69ebbb76 .

Pin Werkzeug in `lib/galaxy/dependencies/dev-requirements.txt`
to latest version compatible with pytest-httpserver 1.0.6 .

Fix unit test collection error on Python 3.11:
```
  File "/home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage/lib/python3.11/site-packages/pytest_httpserver/httpserver.py", line 26, in <module>
    from werkzeug.http import parse_authorization_header
ImportError: cannot import name 'parse_authorization_header' from 'werkzeug.http' (/home/runner/work/galaxy/galaxy/galaxy root/.tox/unit-coverage/lib/python3.11/site-packages/werkzeug/http.py)
```
parent 10ace7bd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -142,6 +142,7 @@ urllib3[socks]==1.26.14 ; python_version >= "3.7" and python_version < "3.12"
vine==5.0.0 ; python_version >= "3.7" and python_version < "3.12"
watchdog==2.2.1 ; python_version >= "3.7" and python_version < "3.12"
wcwidth==0.2.6 ; python_version >= "3.7" and python_version < "3.12"
werkzeug==2.2.3 ; python_version >= "3.7" and python_version < "3.12"
wrapt==1.14.1 ; python_version >= "3.7" and python_version < "3.12"
wsproto==1.2.0 ; python_version >= "3.7" and python_version < "3.12"
yarl==1.8.2 ; python_version >= "3.7" and python_version < "3.12"
+1 −0
Original line number Diff line number Diff line
pytest
pytest-httpserver
responses
Werkzeug
+1 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@ testfixtures = "*"
tuspy = "*"
twill = "*"
watchdog = "*"
Werkzeug = "*"

[tool.ruff]
select = ["E", "F", "B", "UP"]