Skip to content

Commit

Permalink
chore(deps): Remove IPToCC from base requirements
Browse files Browse the repository at this point in the history
The commit removes the `IPToCC` package from the base requirements file. This package was used to get the country code from an IP address, but it is no longer needed and caused 15m Docker image build times
  • Loading branch information
drikusroor committed Jun 27, 2024
1 parent 9adc166 commit b5d601c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
4 changes: 0 additions & 4 deletions backend/requirements.in/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ django-cors-headers
# Dotenv, for loading configuration from .env file
python-dotenv

# Get country code from IP address;
# It uses a local DB the get its data from the regional Internet registries
IPToCC

# PostgrSQL database client
psycopg[binary]

Expand Down
11 changes: 0 additions & 11 deletions backend/requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ html5lib==1.1
# via textile
idna==3.7
# via requests
iptocc==2.1.2
# via -r requirements.in/base.txt
isort==5.13.2
# via pylint
markdown==3.5.2
Expand All @@ -69,12 +67,8 @@ mccabe==0.7.0
# via
# flake8
# pylint
numpy==1.22.0
# via pandas
packaging==23.2
# via build
pandas==1.3.4
# via iptocc
pillow==10.3.0
# via genbadge
pip-tools==7.3.0
Expand Down Expand Up @@ -106,12 +100,8 @@ pyproject-hooks==1.0.0
# via build
python-creole==1.4.10
# via django-markup
python-dateutil==2.8.2
# via pandas
python-dotenv==0.19.1
# via -r requirements.in/base.txt
pytz==2021.3
# via pandas
regex==2023.12.25
# via textile
requests==2.32.0
Expand All @@ -126,7 +116,6 @@ six==1.16.0
# via
# bleach
# html5lib
# python-dateutil
smartypants==2.0.1
# via django-markup
sqlparse==0.5.0
Expand Down
11 changes: 0 additions & 11 deletions backend/requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,10 @@ html5lib==1.1
# via textile
idna==3.7
# via requests
iptocc==2.1.2
# via -r requirements.in/base.txt
markdown==3.5.2
# via django-markup
numpy==1.24.3
# via pandas
packaging==24.1
# via gunicorn
pandas==1.5.3
# via iptocc
pillow==10.3.0
# via genbadge
psycopg[binary]==3.1.18
Expand All @@ -66,12 +60,8 @@ pygments==2.17.2
# via django-markup
python-creole==1.4.10
# via django-markup
python-dateutil==2.8.2
# via pandas
python-dotenv==1.0.0
# via -r requirements.in/base.txt
pytz==2023.3
# via pandas
regex==2023.12.25
# via textile
requests==2.32.0
Expand All @@ -84,7 +74,6 @@ six==1.16.0
# via
# bleach
# html5lib
# python-dateutil
smartypants==2.0.1
# via django-markup
sqlparse==0.5.0
Expand Down

0 comments on commit b5d601c

Please sign in to comment.