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

pip install prints the wrong packages installed #12926

Open
1 task done
uri-rodberg opened this issue Aug 21, 2024 · 6 comments
Open
1 task done

pip install prints the wrong packages installed #12926

uri-rodberg opened this issue Aug 21, 2024 · 6 comments
Labels
state: needs reproducer Need to reproduce issue

Comments

@uri-rodberg
Copy link

uri-rodberg commented Aug 21, 2024

Description

I ran pip upgrade. I got many packagers uninstalled and installed.

At the end I get this line:
Successfully installed Faker-25.3.0 boto3-1.34.117 botocore-1.34.117 django-crispy-forms-2.1 django-debug-toolbar-4.4.2 django-translated-fields-0.12.0 factory-boy-3.3.0 pillow-10.3.0 s3transfer-0.10.1 sqlparse-0.5.0 typing_extensions-4.12.1 urllib3-2.2.1

Then I run pip freeze:

$ pip freeze
asgiref==3.8.1
boto3==1.35.2
botocore==1.35.2
crispy-bootstrap4==2024.1
Django==4.2.15
django-admin-inline-paginator-plus==0.1.1
django-crispy-forms==2.3
django-debug-toolbar==4.4.6
django-environ==0.11.2
django-friendship==1.9.6
django-translated-fields==0.13.0
factory_boy==3.3.1
Faker==27.0.0
haversine==2.8.1
jmespath==1.0.1
pillow==10.4.0
psycopg2==2.9.9
pymemcache==4.0.0
python-dateutil==2.9.0.post0
pytz==2024.1
rules==3.4
s3transfer==0.10.2
six==1.16.0
sorl-thumbnail==12.10.0
sqlparse==0.5.1
typing_extensions==4.12.2
tzdata==2024.1
urllib3==2.2.2

The packages printed are not the packages installed. Actually they were uninstalled.

Expected behavior

No response

pip version

pip 24.2

Python version

Python 3.11.9, Python 3.12.4

OS

Windows 11

How to Reproduce

  1. Clone https://github.com/speedy-net/speedy-net
  2. Run pip install --upgrade -r requirements.txt -r tests-requirements.txt -r debug-requirements.txt
  3. Run pip install --upgrade -r requirements-pip-upgrade.txt -r tests-requirements-pip-upgrade.txt -r debug-requirements-pip-upgrade.txt

Output

No response

Code of Conduct

@uri-rodberg uri-rodberg added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Aug 21, 2024
@notatallshaw
Copy link
Member

Are you taking into account of both of your commands?

This pip install --upgrade -r requirements.txt -r tests-requirements.txt -r debug-requirements.txt outputs:

Django-4.2.15 Faker-25.3.0 asgiref-3.8.1 boto3-1.34.117 botocore-1.34.117 crispy-bootstrap4-2024.1 django-admin-inline-paginator-plus-0.1.1 django-crispy-forms-2.1 django-debug-toolbar-4.4.2 django-environ-0.11.2 django-friendship-1.9.6 django-translated-fields-0.12.0 factory-boy-3.3.0 haversine-2.8.1 jmespath-1.0.1 pillow-10.3.0 psycopg2-2.9.9 pymemcache-4.0.0 python-dateutil-2.9.0.post0 pytz-2024.1 rules-3.4 s3transfer-0.10.1 six-1.16.0 sorl-thumbnail-12.10.0 sqlparse-0.5.0 typing_extensions-4.12.1 tzdata-2024.1 urllib3-2.2.1

When you follow it with pip install --upgrade -r requirements-pip-upgrade.txt -r tests-requirements-pip-upgrade.txt -r debug-requirements-pip-upgrade.txt you get:

  Attempting uninstall: urllib3
    Found existing installation: urllib3 2.2.1
    Uninstalling urllib3-2.2.1:
      Successfully uninstalled urllib3-2.2.1
  Attempting uninstall: typing_extensions
    Found existing installation: typing_extensions 4.12.1
    Uninstalling typing_extensions-4.12.1:
      Successfully uninstalled typing_extensions-4.12.1
  Attempting uninstall: sqlparse
    Found existing installation: sqlparse 0.5.0
    Uninstalling sqlparse-0.5.0:
      Successfully uninstalled sqlparse-0.5.0
  Attempting uninstall: pillow
    Found existing installation: pillow 10.3.0
    Uninstalling pillow-10.3.0:
      Successfully uninstalled pillow-10.3.0
  Attempting uninstall: Faker
    Found existing installation: Faker 25.3.0
    Uninstalling Faker-25.3.0:
      Successfully uninstalled Faker-25.3.0
  Attempting uninstall: botocore
    Found existing installation: botocore 1.34.117
    Uninstalling botocore-1.34.117:
      Successfully uninstalled botocore-1.34.117
  Attempting uninstall: s3transfer
    Found existing installation: s3transfer 0.10.1
    Uninstalling s3transfer-0.10.1:
      Successfully uninstalled s3transfer-0.10.1
  Attempting uninstall: factory-boy
    Found existing installation: factory-boy 3.3.0
    Uninstalling factory-boy-3.3.0:
      Successfully uninstalled factory-boy-3.3.0
  Attempting uninstall: django-translated-fields
    Found existing installation: django-translated-fields 0.12.0
    Uninstalling django-translated-fields-0.12.0:
      Successfully uninstalled django-translated-fields-0.12.0
  Attempting uninstall: django-debug-toolbar
    Found existing installation: django-debug-toolbar 4.4.2
    Uninstalling django-debug-toolbar-4.4.2:
      Successfully uninstalled django-debug-toolbar-4.4.2
  Attempting uninstall: django-crispy-forms
    Found existing installation: django-crispy-forms 2.1
    Uninstalling django-crispy-forms-2.1:
      Successfully uninstalled django-crispy-forms-2.1
  Attempting uninstall: boto3
    Found existing installation: boto3 1.34.117
    Uninstalling boto3-1.34.117:
      Successfully uninstalled boto3-1.34.117
Successfully installed Faker-27.4.0 boto3-1.35.3 botocore-1.35.3 django-crispy-forms-2.3 django-debug-toolbar-4.4.6 django-translated-fields-0.13.0 factory-boy-3.3.1 pillow-10.4.0 s3transfer-0.10.2 sqlparse-0.5.1 typing_extensions-4.12.2 urllib3-2.2.2

Then running pip freeze you get:

asgiref==3.8.1
boto3==1.35.3
botocore==1.35.3
crispy-bootstrap4==2024.1
Django==4.2.15
django-admin-inline-paginator-plus==0.1.1
django-crispy-forms==2.3
django-debug-toolbar==4.4.6
django-environ==0.11.2
django-friendship==1.9.6
django-translated-fields==0.13.0
factory_boy==3.3.1
Faker==27.4.0
haversine==2.8.1
jmespath==1.0.1
pillow==10.4.0
psycopg2==2.9.9
pymemcache==4.0.0
python-dateutil==2.9.0.post0
pytz==2024.1
rules==3.4
s3transfer==0.10.2
six==1.16.0
sorl-thumbnail==12.10.0
sqlparse==0.5.1
typing_extensions==4.12.2
tzdata==2024.1
urllib3==2.2.2

Which appears to be the sum of the two commands. Would you expect something else?

@notatallshaw notatallshaw added type: support User Support and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Aug 21, 2024
@uri-rodberg
Copy link
Author

pip install --upgrade -r requirements.txt -r tests-requirements.txt -r debug-requirements.txt outputs:

Requirement already satisfied: Django==4.2.15 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 2)) (4.2.15)
Requirement already satisfied: asgiref==3.8.1 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 3)) (3.8.1)
Collecting boto3==1.34.117 (from -r requirements.txt (line 4))
  Using cached boto3-1.34.117-py3-none-any.whl.metadata (6.6 kB)
Collecting botocore==1.34.117 (from -r requirements.txt (line 5))
  Using cached botocore-1.34.117-py3-none-any.whl.metadata (5.7 kB)
Requirement already satisfied: crispy-bootstrap4==2024.1 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 6)) (2024.1)
Requirement already satisfied: django-admin-inline-paginator-plus==0.1.1 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 7)) (0.1.1)
Collecting django-crispy-forms==2.1 (from -r requirements.txt (line 8))
  Using cached django_crispy_forms-2.1-py3-none-any.whl.metadata (5.0 kB)
Requirement already satisfied: django-environ==0.11.2 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 9)) (0.11.2)
Requirement already satisfied: django-friendship==1.9.6 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 10)) (1.9.6)
Collecting django-translated-fields==0.12.0 (from -r requirements.txt (line 11))
  Using cached django_translated_fields-0.12.0-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: haversine==2.8.1 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 12)) (2.8.1)
Requirement already satisfied: jmespath==1.0.1 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 13)) (1.0.1)
Collecting pillow==10.3.0 (from -r requirements.txt (line 14))
  Using cached pillow-10.3.0-cp311-cp311-win_amd64.whl.metadata (9.4 kB)
Requirement already satisfied: psycopg2==2.9.9 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 15)) (2.9.9)
Requirement already satisfied: pymemcache==4.0.0 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 16)) (4.0.0)
Requirement already satisfied: python-dateutil==2.9.0.post0 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 17)) (2.9.0.post0)
Requirement already satisfied: pytz==2024.1 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 18)) (2024.1)
Requirement already satisfied: rules==3.4 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 19)) (3.4)
Collecting s3transfer==0.10.1 (from -r requirements.txt (line 20))
  Using cached s3transfer-0.10.1-py3-none-any.whl.metadata (1.7 kB)
Requirement already satisfied: six==1.16.0 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 21)) (1.16.0)
Requirement already satisfied: sorl-thumbnail==12.10.0 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 22)) (12.10.0)
Collecting sqlparse==0.5.0 (from -r requirements.txt (line 23))
  Using cached sqlparse-0.5.0-py3-none-any.whl.metadata (3.9 kB)
Collecting typing_extensions==4.12.1 (from -r requirements.txt (line 24))
  Using cached typing_extensions-4.12.1-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: tzdata==2024.1 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements.txt (line 25)) (2024.1)
Collecting urllib3==2.2.1 (from -r requirements.txt (line 26))
  Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
Collecting factory-boy==3.3.0 (from -r tests-requirements.txt (line 2))
  Using cached factory_boy-3.3.0-py2.py3-none-any.whl.metadata (15 kB)
Collecting Faker==25.3.0 (from -r tests-requirements.txt (line 3))
  Using cached Faker-25.3.0-py3-none-any.whl.metadata (15 kB)
Collecting django-debug-toolbar==4.4.2 (from -r debug-requirements.txt (line 2))
  Using cached django_debug_toolbar-4.4.2-py3-none-any.whl.metadata (3.9 kB)
Using cached boto3-1.34.117-py3-none-any.whl (139 kB)
Using cached botocore-1.34.117-py3-none-any.whl (12.3 MB)
Using cached django_crispy_forms-2.1-py3-none-any.whl (31 kB)
Using cached django_translated_fields-0.12.0-py3-none-any.whl (9.1 kB)
Using cached pillow-10.3.0-cp311-cp311-win_amd64.whl (2.5 MB)
Using cached s3transfer-0.10.1-py3-none-any.whl (82 kB)
Using cached sqlparse-0.5.0-py3-none-any.whl (43 kB)
Using cached typing_extensions-4.12.1-py3-none-any.whl (37 kB)
Using cached urllib3-2.2.1-py3-none-any.whl (121 kB)
Using cached factory_boy-3.3.0-py2.py3-none-any.whl (36 kB)
Using cached Faker-25.3.0-py3-none-any.whl (1.8 MB)
Using cached django_debug_toolbar-4.4.2-py3-none-any.whl (226 kB)
Installing collected packages: urllib3, typing_extensions, sqlparse, pillow, Faker, botocore, s3transfer, factory-boy, django-translated-fields, django-debug-toolbar, django-crispy-forms, boto3
  Attempting uninstall: urllib3
    Found existing installation: urllib3 2.2.2
    Uninstalling urllib3-2.2.2:
      Successfully uninstalled urllib3-2.2.2
  Attempting uninstall: typing_extensions
    Found existing installation: typing_extensions 4.12.2
    Uninstalling typing_extensions-4.12.2:
      Successfully uninstalled typing_extensions-4.12.2
  Attempting uninstall: sqlparse
    Found existing installation: sqlparse 0.5.1
    Uninstalling sqlparse-0.5.1:
      Successfully uninstalled sqlparse-0.5.1
  Attempting uninstall: pillow
    Found existing installation: pillow 10.4.0
    Uninstalling pillow-10.4.0:
      Successfully uninstalled pillow-10.4.0
  Attempting uninstall: Faker
    Found existing installation: Faker 27.4.0
    Uninstalling Faker-27.4.0:
      Successfully uninstalled Faker-27.4.0
  Attempting uninstall: botocore
    Found existing installation: botocore 1.35.3
    Uninstalling botocore-1.35.3:
      Successfully uninstalled botocore-1.35.3
  Attempting uninstall: s3transfer
    Found existing installation: s3transfer 0.10.2
    Uninstalling s3transfer-0.10.2:
      Successfully uninstalled s3transfer-0.10.2
  Attempting uninstall: factory-boy
    Found existing installation: factory_boy 3.3.1
    Uninstalling factory_boy-3.3.1:
      Successfully uninstalled factory_boy-3.3.1
  Attempting uninstall: django-translated-fields
    Found existing installation: django-translated-fields 0.13.0
    Uninstalling django-translated-fields-0.13.0:
      Successfully uninstalled django-translated-fields-0.13.0
  Attempting uninstall: django-debug-toolbar
    Found existing installation: django-debug-toolbar 4.4.6
    Uninstalling django-debug-toolbar-4.4.6:
      Successfully uninstalled django-debug-toolbar-4.4.6
  Attempting uninstall: django-crispy-forms
    Found existing installation: django-crispy-forms 2.3
    Uninstalling django-crispy-forms-2.3:
      Successfully uninstalled django-crispy-forms-2.3
  Attempting uninstall: boto3
    Found existing installation: boto3 1.35.3
    Uninstalling boto3-1.35.3:
      Successfully uninstalled boto3-1.35.3
Successfully installed Faker-27.4.0 boto3-1.35.3 botocore-1.35.3 django-crispy-forms-2.3 django-debug-toolbar-4.4.6 django-translated-fields-0.13.0 factory-boy-3.3.1 pillow-10.4.0 s3transfer-0.10.2 sqlparse-0.5.1 typing_extensions-4.12.2 urllib3-2.2.2

pip freeze outputs:

asgiref==3.8.1
boto3==1.34.117
botocore==1.34.117
crispy-bootstrap4==2024.1
Django==4.2.15
django-admin-inline-paginator-plus==0.1.1
django-crispy-forms==2.1
django-debug-toolbar==4.4.2
django-environ==0.11.2
django-friendship==1.9.6
django-translated-fields==0.12.0
factory-boy==3.3.0
Faker==25.3.0
haversine==2.8.1
jmespath==1.0.1
pillow==10.3.0
psycopg2==2.9.9
pymemcache==4.0.0
python-dateutil==2.9.0.post0
pytz==2024.1
rules==3.4
s3transfer==0.10.1
six==1.16.0
sorl-thumbnail==12.10.0
sqlparse==0.5.0
typing_extensions==4.12.1
tzdata==2024.1
urllib3==2.2.1

pip install --upgrade -r requirements-pip-upgrade.txt -r tests-requirements-pip-upgrade.txt -r debug-requirements-pip-upgrade.txt outputs:

Requirement already satisfied: Django<4.3,>=4.2 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 1)) (4.2.15)
Requirement already satisfied: asgiref in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 2)) (3.8.1)
Requirement already satisfied: boto3 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 3)) (1.34.117)
Collecting boto3 (from -r requirements-pip-upgrade.txt (line 3))
  Using cached boto3-1.35.3-py3-none-any.whl.metadata (6.6 kB)
Requirement already satisfied: botocore in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 4)) (1.34.117)
Collecting botocore (from -r requirements-pip-upgrade.txt (line 4))
  Using cached botocore-1.35.3-py3-none-any.whl.metadata (5.7 kB)
Requirement already satisfied: crispy-bootstrap4 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 5)) (2024.1)
Requirement already satisfied: django-admin-inline-paginator-plus in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 6)) (0.1.1)
Requirement already satisfied: django-crispy-forms in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 7)) (2.1)
Collecting django-crispy-forms (from -r requirements-pip-upgrade.txt (line 7))
  Using cached django_crispy_forms-2.3-py3-none-any.whl.metadata (5.1 kB)
Requirement already satisfied: django-environ in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 8)) (0.11.2)
Requirement already satisfied: django-friendship in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 9)) (1.9.6)
Requirement already satisfied: django-translated-fields in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 10)) (0.12.0)
Collecting django-translated-fields (from -r requirements-pip-upgrade.txt (line 10))
  Using cached django_translated_fields-0.13.0-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: haversine in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 11)) (2.8.1)
Requirement already satisfied: jmespath in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 12)) (1.0.1)
Requirement already satisfied: pillow in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 13)) (10.3.0)
Collecting pillow (from -r requirements-pip-upgrade.txt (line 13))
  Using cached pillow-10.4.0-cp311-cp311-win_amd64.whl.metadata (9.3 kB)
Requirement already satisfied: psycopg2 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 14)) (2.9.9)
Requirement already satisfied: pymemcache in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 15)) (4.0.0)
Requirement already satisfied: python-dateutil in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 16)) (2.9.0.post0)
Requirement already satisfied: pytz in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 17)) (2024.1)
Requirement already satisfied: rules in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 18)) (3.4)
Requirement already satisfied: s3transfer in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 19)) (0.10.1)
Collecting s3transfer (from -r requirements-pip-upgrade.txt (line 19))
  Using cached s3transfer-0.10.2-py3-none-any.whl.metadata (1.7 kB)
Requirement already satisfied: six in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 20)) (1.16.0)
Requirement already satisfied: sorl-thumbnail in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 21)) (12.10.0)
Requirement already satisfied: sqlparse in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 22)) (0.5.0)
Collecting sqlparse (from -r requirements-pip-upgrade.txt (line 22))
  Using cached sqlparse-0.5.1-py3-none-any.whl.metadata (3.9 kB)
Requirement already satisfied: typing_extensions in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 23)) (4.12.1)
Collecting typing_extensions (from -r requirements-pip-upgrade.txt (line 23))
  Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: tzdata in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 24)) (2024.1)
Requirement already satisfied: urllib3 in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r requirements-pip-upgrade.txt (line 25)) (2.2.1)
Collecting urllib3 (from -r requirements-pip-upgrade.txt (line 25))
  Using cached urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB)
Requirement already satisfied: factory-boy in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r tests-requirements-pip-upgrade.txt (line 1)) (3.3.0)
Collecting factory-boy (from -r tests-requirements-pip-upgrade.txt (line 1))
  Using cached factory_boy-3.3.1-py2.py3-none-any.whl.metadata (15 kB)
Requirement already satisfied: Faker in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r tests-requirements-pip-upgrade.txt (line 2)) (25.3.0)
Collecting Faker (from -r tests-requirements-pip-upgrade.txt (line 2))
  Using cached Faker-27.4.0-py3-none-any.whl.metadata (15 kB)
Requirement already satisfied: django-debug-toolbar in m:\uri\speedy_net\git\speedy-net-public\.venv_3.11\lib\site-packages (from -r debug-requirements-pip-upgrade.txt (line 1)) (4.4.2)
Collecting django-debug-toolbar (from -r debug-requirements-pip-upgrade.txt (line 1))
  Using cached django_debug_toolbar-4.4.6-py3-none-any.whl.metadata (3.9 kB)
Using cached boto3-1.35.3-py3-none-any.whl (139 kB)
Using cached botocore-1.35.3-py3-none-any.whl (12.5 MB)
Using cached django_crispy_forms-2.3-py3-none-any.whl (31 kB)
Using cached django_translated_fields-0.13.0-py3-none-any.whl (9.0 kB)
Using cached pillow-10.4.0-cp311-cp311-win_amd64.whl (2.6 MB)
Using cached s3transfer-0.10.2-py3-none-any.whl (82 kB)
Using cached sqlparse-0.5.1-py3-none-any.whl (44 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached urllib3-2.2.2-py3-none-any.whl (121 kB)
Using cached factory_boy-3.3.1-py2.py3-none-any.whl (36 kB)
Using cached Faker-27.4.0-py3-none-any.whl (1.8 MB)
Using cached django_debug_toolbar-4.4.6-py3-none-any.whl (229 kB)
Installing collected packages: urllib3, typing_extensions, sqlparse, pillow, Faker, botocore, s3transfer, factory-boy, django-translated-fields, django-debug-toolbar, django-crispy-forms, boto3
  Attempting uninstall: urllib3
    Found existing installation: urllib3 2.2.1
    Uninstalling urllib3-2.2.1:
      Successfully uninstalled urllib3-2.2.1
  Attempting uninstall: typing_extensions
    Found existing installation: typing_extensions 4.12.1
    Uninstalling typing_extensions-4.12.1:
      Successfully uninstalled typing_extensions-4.12.1
  Attempting uninstall: sqlparse
    Found existing installation: sqlparse 0.5.0
    Uninstalling sqlparse-0.5.0:
      Successfully uninstalled sqlparse-0.5.0
  Attempting uninstall: pillow
    Found existing installation: pillow 10.3.0
    Uninstalling pillow-10.3.0:
      Successfully uninstalled pillow-10.3.0
  Attempting uninstall: Faker
    Found existing installation: Faker 25.3.0
    Uninstalling Faker-25.3.0:
      Successfully uninstalled Faker-25.3.0
  Attempting uninstall: botocore
    Found existing installation: botocore 1.34.117
    Uninstalling botocore-1.34.117:
      Successfully uninstalled botocore-1.34.117
  Attempting uninstall: s3transfer
    Found existing installation: s3transfer 0.10.1
    Uninstalling s3transfer-0.10.1:
      Successfully uninstalled s3transfer-0.10.1
  Attempting uninstall: factory-boy
    Found existing installation: factory-boy 3.3.0
    Uninstalling factory-boy-3.3.0:
      Successfully uninstalled factory-boy-3.3.0
  Attempting uninstall: django-translated-fields
    Found existing installation: django-translated-fields 0.12.0
    Uninstalling django-translated-fields-0.12.0:
      Successfully uninstalled django-translated-fields-0.12.0
  Attempting uninstall: django-debug-toolbar
    Found existing installation: django-debug-toolbar 4.4.2
    Uninstalling django-debug-toolbar-4.4.2:
      Successfully uninstalled django-debug-toolbar-4.4.2
  Attempting uninstall: django-crispy-forms
    Found existing installation: django-crispy-forms 2.1
    Uninstalling django-crispy-forms-2.1:
      Successfully uninstalled django-crispy-forms-2.1
  Attempting uninstall: boto3
    Found existing installation: boto3 1.34.117
    Uninstalling boto3-1.34.117:
      Successfully uninstalled boto3-1.34.117
Successfully installed Faker-25.3.0 boto3-1.34.117 botocore-1.34.117 django-crispy-forms-2.1 django-debug-toolbar-4.4.2 django-translated-fields-0.12.0 factory-boy-3.3.0 pillow-10.3.0 s3transfer-0.10.1 sqlparse-0.5.0 typing_extensions-4.12.1 urllib3-2.2.1

pip freeze outputs:

asgiref==3.8.1
boto3==1.35.3
botocore==1.35.3
crispy-bootstrap4==2024.1
Django==4.2.15
django-admin-inline-paginator-plus==0.1.1
django-crispy-forms==2.3
django-debug-toolbar==4.4.6
django-environ==0.11.2
django-friendship==1.9.6
django-translated-fields==0.13.0
factory_boy==3.3.1
Faker==27.4.0
haversine==2.8.1
jmespath==1.0.1
pillow==10.4.0
psycopg2==2.9.9
pymemcache==4.0.0
python-dateutil==2.9.0.post0
pytz==2024.1
rules==3.4
s3transfer==0.10.2
six==1.16.0
sorl-thumbnail==12.10.0
sqlparse==0.5.1
typing_extensions==4.12.2
tzdata==2024.1
urllib3==2.2.2

The version displayed when installing packages is the version uninstalled which is unexpected.

@notatallshaw
Copy link
Member

As you can see from my output that's not the case when I run the commands.

Also reading your output it looks correct if you swap the order.

Can you copy running the sequence of commands in order straight from your terminal without separating the to be sure it's an actual pip issue.

@uri-rodberg
Copy link
Author

As you can see from my output that's not the case when I run the commands.

Also reading your output it looks correct if you swap the order.

Can you copy running the sequence of commands in order straight from your terminal without separating the to be sure it's an actual pip issue.

Hi,

I ran the commands in the order I copied them here. On your computer it may be working properly but on my computer it's not. I can't copy more than I copied.

@notatallshaw notatallshaw added state: needs reproducer Need to reproduce issue and removed type: support User Support labels Aug 22, 2024
@notatallshaw
Copy link
Member

Unfortunately without a reproducible example there isn't anything anyone else can test against to confirm or fix.

@uri-rodberg
Copy link
Author

I can confirm that on my laptop, Windows 11, this bug persists with Python 3.11.9 and Python 3.12.4 also after uninstalling Python, reinstalling Python, deleting the .venv directory and recreating it again. On the other hand I have another computer (desktop with Windows 10), where this bug doesn't occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: needs reproducer Need to reproduce issue
Projects
None yet
Development

No branches or pull requests

2 participants