Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 1.8 CI #6149

Merged
merged 2 commits into from Nov 17, 2023
Merged

Fix 1.8 CI #6149

merged 2 commits into from Nov 17, 2023

Conversation

Gallaecio
Copy link
Member

@Gallaecio Gallaecio commented Nov 17, 2023

Locally I got everything working but PyPy 2.7. I’m hoping it will work on the CI.

PyPy 2.7 would fail on my Arch Linux due to the use of a modern OpenSSL version, but I was able to get them to pass with Docker:

FROM ubuntu:18.04
RUN apt-get update && apt-get install -y curl git tox libxml2-dev libxslt-dev libssl-dev libjpeg-dev
RUN curl https://pyenv.run | bash
ENV PYENV_ROOT="/root/.pyenv"
ENV PATH="$PYENV_ROOT/bin:$PATH"
RUN eval "$(pyenv init -)" && pyenv install pypy2.7-7.3.9
RUN eval "$(pyenv init -)" && pyenv global pypy2.7-7.3.9
COPY . /app/
WORKDIR /app
CMD eval "$(pyenv init -)" && tox -e pypy2

@Gallaecio Gallaecio marked this pull request as ready for review November 17, 2023 09:12
@Gallaecio Gallaecio merged commit 2023a6b into scrapy:1.8 Nov 17, 2023
0 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant