Skip to content

Commit

Permalink
upgrade to python 3.9 to resolve pip error
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Medrano authored and Xavier Medrano committed Feb 13, 2025
1 parent 8f4f341 commit 4bfb657
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.5
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.5'
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pip==24.0
pip install setuptools_scm
pip install -r requirements.txt
npm install -g jshint
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.5-slim
FROM python:3.9-slim
LABEL maintainer "DataMade <[email protected]>"

RUN apt-get update && \
Expand All @@ -8,6 +8,6 @@ RUN mkdir /app
WORKDIR /app

COPY ./requirements.txt /app/requirements.txt
RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
RUN pip install pip==24.0 && pip install --no-cache-dir -r requirements.txt

COPY . /app
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Django==2.2.9
Django==2.2.17
djangorestframework==3.11.0
psycopg2-binary>=2.7.4
numpy==1.14.1
numpy==1.19.5
csvkit==1.0.3
cchardet==2.1.1
cchardet==2.1.7
census==0.8.7
us==1.0.0
inflect==1.0.1
jinja2==2.10.1
lxml==4.2.1
lxml==4.6.5
django-debug-toolbar==1.9.1
django-storages==1.6.5
boto3==1.16.63
Expand All @@ -24,7 +24,7 @@ pysolr==3.7.0
python-dateutil==2.8.1
sentry-sdk==0.5.1
kombu==4.3.0
feedparser==5.2.1
feedparser==6.0.11
django-extra-settings==0.1.1
django-pgviews==0.5.7
bleach
Expand Down

0 comments on commit 4bfb657

Please sign in to comment.