I decided to start from scratch using forms to redo a project I had since it was getting confusing changing a lot of code. When I ran freeze >requirements.txt, rather than pip compile, I got a very large number of dependencies and warnings such as:
WARNING: Package "urlparse" does not exist or network problems
As a person new to django/python, can some explain why they are different? Is one prefered?
freeze >requirements.txt output:
altgraph==0.17.4
appnope==0.1.4
asgiref==3.8.1
asttokens==2.4.1
attrs==24.2.0
backcall==0.2.0
beautifulsoup4==4.12.3
bleach==6.1.0
build==1.2.1
certifi==2024.7.4
charset-normalizer==3.3.2
click==8.1.7
decorator==5.1.1
defusedxml==0.7.1
Django==5.0.7
docopt==0.6.2
executing==2.0.1
fastjsonschema==2.20.0
gunicorn==23.0.0
idna==3.7
ipython==8.12.3
jedi==0.19.1
Jinja2==3.1.4
jsonschema==4.23.0
jsonschema-specifications==2023.12.1
jupyter_client==8.6.2
jupyter_core==5.7.2
jupyterlab_pygments==0.3.0
macholib==1.16.3
MarkupSafe==2.1.5
matplotlib-inline==0.1.7
mistune==3.0.2
nbclient==0.10.0
nbconvert==7.16.4
nbformat==5.10.4
packaging==24.1
pandocfilters==1.5.1
parso==0.8.4
pexpect==4.9.0
pickleshare==0.7.5
pip-tools==7.4.1
pipreqs==0.5.0
pipreqsnb==0.2.4
platformdirs==4.2.2
prompt_toolkit==3.0.47
ptyprocess==0.7.0
pure_eval==0.2.3
Pygments==2.18.0
pyinstaller==6.10.0
pyinstaller-hooks-contrib==2024.8
pyproject_hooks==1.1.0
python-dateutil==2.9.0.post0
pyzmq==26.1.0
referencing==0.35.1
requests==2.32.3
rpds-py==0.20.0
setuptools==72.2.0
six==1.16.0
soupsieve==2.6
sqlparse==0.5.1
stack-data==0.6.3
tinycss2==1.3.0
tornado==6.4.1
traitlets==5.14.3
urllib3==2.2.2
wcwidth==0.2.13
webencodings==0.5.1
wheel==0.44.0
yarg==0.1.9
the original program just had these:
This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.in
#
asgiref==3.8.1
# via django
django==5.0.7
# via -r requirements.in
gunicorn==23.0.0
# via -r requirements.in
packaging==24.1
# via gunicorn
sqlparse==0.5.1
# via django