Skip to content

Commit

Permalink
Merge pull request #1395 from tobias-urdin/remove-dist-jaraco-text
Browse files Browse the repository at this point in the history
image: hack jaraco.text and werkzeug to fix CI
  • Loading branch information
tobias-urdin authored Aug 15, 2024
2 parents 57b9693 + 070074a commit dd2d63e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions images/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ RUN rm -rf /var/lib/apt/lists/*
# NOTE(tobias.urdin): hack since pyparsing in site-packages collides with our requirements
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*

# TODO(tobias.urdin): hack remove this when we drop python 3.9
RUN sed -i '1s/^/from __future__ import annotations\n/' /usr/lib/python3/dist-packages/werkzeug/sansio/utils.py

#NOTE(sileht): really no utf-8 in 2017 !?
ENV LANG en_US.UTF-8
RUN update-locale
Expand Down

0 comments on commit dd2d63e

Please sign in to comment.