Skip to content

Commit

Permalink
Pin werkzeug<3.0.3
Browse files Browse the repository at this point in the history
This can be reverted when werkzeug is fixed.
  • Loading branch information
tobias-urdin committed Aug 14, 2024
1 parent 34f711e commit 04d18d1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions images/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ RUN rm -rf /usr/lib/python3/dist-packages/pyparsing*
# NOTE(tobias.urdin): hack since jaraco.text in site-packages collides with our requirements
RUN rm -rf /usr/lib/python3/dist-packages/jaraco/text*

# NOTE(tobias.urdin): hack since werkzeug in site-packages collides with our requirements
RUN rm -rf /usr/lib/python3/dist-packages/werkzeug*

#NOTE(sileht): really no utf-8 in 2017 !?
ENV LANG en_US.UTF-8
RUN update-locale
Expand Down
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ install_requires =
stevedore
ujson
voluptuous>=0.8.10
werkzeug
# TODO(tobias-urdin): Unpin when this is fixed
# https://github.com/pallets/werkzeug/issues/2934
werkzeug<3.0.3
tenacity>=5.0.0
WebOb>=1.4.1
Paste
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ setenv =
deps =
.[test,redis,prometheus,amqp1,{env:GNOCCHI_STORAGE_DEPS:},{env:GNOCCHI_INDEXER_DEPS:}]
{env:GNOCCHI_TEST_TARBALLS:}
# TODO(tobias-urdin): Unpin when this is fixed
# https://github.com/pallets/werkzeug/issues/2934
werkzeug<3.0.3
# TODO(tobias-urdin): Remove this pin and use pifpaf directly instead when this is
# merged and released
git+https://github.com/jd/pifpaf@d5103d4bcf80aa6f74e31e92e4a7eb92997d4c73
Expand Down

0 comments on commit 04d18d1

Please sign in to comment.