Closed guoard closed 1 year ago
How to reproduce the problem:
if install dj-database-url package after Django==3.2.16, it uninstall existing installation of Django 3.2 and install Django 4.1
dj-database-url
Django==3.2.16
pip installs Django==3.2 pip install dj-database-url==1.0.0
Collecting dj-database-url Downloading dj_database_url-1.0.0-py3-none-any.whl (6.6 kB) Collecting Django>3.2 Using cached Django-4.1.3-py3-none-any.whl (8.1 MB) Requirement already satisfied: asgiref<4,>=3.5.2 in ./venv/lib/python3.10/site-packages (from Django>3.2->dj-database-url) (3.5.2) Requirement already satisfied: sqlparse>=0.2.2 in ./venv/lib/python3.10/site-packages (from Django>3.2->dj-database-url) (0.4.3) Installing collected packages: Django, dj-database-url Attempting uninstall: Django Found existing installation: Django 3.2 Uninstalling Django-3.2: Successfully uninstalled Django-3.2 Successfully installed Django-4.1.3 dj-database-url-1.0.0
It seems we don't have such problem in Django==3.2.12
Django==3.2.12
This has been fixed in the 1.1.0 release. Which will be accessible on Pypi in the next few minutes. Sorry for the inconvenience.
How to reproduce the problem:
if install
dj-database-url
package afterDjango==3.2.16
, it uninstall existing installation of Django 3.2 and install Django 4.1It seems we don't have such problem in
Django==3.2.12