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

Doesn't update #136

Open
Inlife-raphael opened this issue May 9, 2022 · 1 comment
Open

Doesn't update #136

Inlife-raphael opened this issue May 9, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Inlife-raphael
Copy link

What's the bug all about?

When I re-launch the command pipupgrade, I still have the updates to do.

It may be because it upgrades in local while it wants to upgrade global.

It may have a link with default to user installation because normal site-packages is not writeable.

What snippet/command led to this issue?

Default pipupgrade

pipupgrade

Logs

[inlife@inhost ~]$ pipupgrade --verbose 
bpyutils | 2022-05-09 09:08:35,502 | INFO | Environment: {'version': '0.5.2\n', 'python_version': '3.10.4', 'os': 'Linux-5.17.4-artix1-1-x86_64-with-glibc2.35', 'config': {'path': {'BASE': '/home/inlife/.local/lib/python3.10/site-packages/bpyutils', 'DATA': '/home/inlife/.local/lib/python3.10/site-packages/bpyutils/data', 'CACHE': '/home/inlife/.config/bpyutils', 'JOBS': '/home/inlife/.local/lib/python3.10/site-packages/bpyutils/jobs'}}, 'settings': {'settings': {'version': '0.5.2', 'cache_timeout': '86400', 'jobs': '16', 'max_chunk_download_bytes': '1024'}}} 
bpyutils | 2022-05-09 09:08:35,502 | INFO | Arguments Passed: {'args': (), 'kwargs': {'ARGUMENTS': <class 'inspect._empty'>, 'packages': [], 'resolve': False, 'ignore': None, 'pip_path': None, 'yes': 0, 'clean': 0, 'check': 0, 'upgrade_type': ['minor', 'patch'], 'latest': 0, 'format': 'table', 'all': 0, 'pip': 0, 'self': False, 'requirements': None, 'pipfile': None, 'interactive': 0, 'project': None, 'git_username': None, 'git_email': None, 'pull_request': False, 'github_access_token': None, 'github_reponame': None, 'github_username': None, 'target_branch': 'master', 'jobs': 16, 'user': 0, 'no_included_requirements': 0, 'no_cache': 0, 'output': None, 'ignore_error': 0, 'force': 0, 'doctor': False, 'no_color': 0, 'verbose': True}, 'a': <pipupgrade.commands.to_params.<locals>.O object at 0x7fc6b14c3c10>} 
Checking... 
bpyutils | 2022-05-09 09:08:35,504 | INFO | `pip` executables found: ['/usr/bin/pip', '/usr/bin/pip3'] 
bpyutils | 2022-05-09 09:08:35,504 | INFO | Using 16 jobs... 
bpyutils | 2022-05-09 09:08:35,508 | INFO | Fetching installed packages for /usr/bin/pip... 
bpyutils | 2022-05-09 09:08:35,509 | INFO | Fetching installed packages for /usr/bin/pip3... 
bpyutils | 2022-05-09 09:08:35,509 | INFO | Executing command: /usr/bin/pip list --outdated --format json 
bpyutils | 2022-05-09 09:08:35,509 | INFO | Executing command: /usr/bin/pip3 list --outdated --format json 
bpyutils | 2022-05-09 09:08:39,431 | INFO | 11 packages found for /usr/bin/pip. 
pipupgrade | 2022-05-09 09:08:39,438 | INFO | Initializing Package {'name': 'CacheControl', 'version': '0.12.6', 'latest_version': '0.12.11', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,438 | INFO | Fetching package CacheControl information from DB... 
pipupgrade | 2022-05-09 09:08:39,440 | INFO | Initializing Package {'name': 'cryptography', 'version': '36.0.2', 'latest_version': '37.0.2', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,440 | INFO | Initializing Package {'name': 'contextlib2', 'version': '0.6.0.post1', 'latest_version': '21.6.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,440 | INFO | Fetching package cryptography information from DB... 
pipupgrade | 2022-05-09 09:08:39,440 | INFO | Fetching package contextlib2 information from DB... 
pipupgrade | 2022-05-09 09:08:39,440 | INFO | Initializing Package {'name': 'importlib-metadata', 'version': '4.8.1', 'latest_version': '4.11.3', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,440 | INFO | Fetching package importlib-metadata information from DB... 
pipupgrade | 2022-05-09 09:08:39,441 | INFO | Using cached info for package <Package CacheControl (0.12.6)>. 
pipupgrade | 2022-05-09 09:08:39,442 | INFO | Initializing Package {'name': 'more-itertools', 'version': '8.12.0', 'latest_version': '8.13.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,442 | INFO | Fetching package more-itertools information from DB... 
pipupgrade | 2022-05-09 09:08:39,443 | INFO | Using cached info for package <Package more-itertools (8.12.0)>. 
pipupgrade | 2022-05-09 09:08:39,443 | INFO | Using cached info for package <Package importlib-metadata (4.8.1)>. 
pipupgrade | 2022-05-09 09:08:39,443 | INFO | Using cached info for package <Package cryptography (36.0.2)>. 
pipupgrade | 2022-05-09 09:08:39,443 | INFO | Using cached info for package <Package contextlib2 (0.6.0.post1)>. 
pipupgrade | 2022-05-09 09:08:39,445 | INFO | Initializing Package {'name': 'ordered-set', 'version': '4.0.2', 'latest_version': '4.1.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,445 | INFO | Fetching package ordered-set information from DB... 
pipupgrade | 2022-05-09 09:08:39,447 | INFO | Initializing Package {'name': 'pip', 'version': '21.0', 'latest_version': '22.0.4', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,447 | INFO | Fetching package pip information from DB... 
pipupgrade | 2022-05-09 09:08:39,447 | INFO | Initializing Package {'name': 'QDarkStyle', 'version': '3.0.2', 'latest_version': '3.0.3', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,447 | INFO | Fetching package QDarkStyle information from DB... 
pipupgrade | 2022-05-09 09:08:39,448 | INFO | Using cached info for package <Package pip (21.0)>. 
pipupgrade | 2022-05-09 09:08:39,448 | INFO | Using cached info for package <Package QDarkStyle (3.0.2)>. 
pipupgrade | 2022-05-09 09:08:39,448 | INFO | Using cached info for package <Package ordered-set (4.0.2)>. 
pipupgrade | 2022-05-09 09:08:39,450 | INFO | Initializing Package {'name': 'QtPy', 'version': '2.0.1', 'latest_version': '2.1.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,450 | INFO | Initializing Package {'name': 'resolvelib', 'version': '0.5.5', 'latest_version': '0.8.1', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,450 | INFO | Fetching package QtPy information from DB... 
pipupgrade | 2022-05-09 09:08:39,450 | INFO | Fetching package resolvelib information from DB... 
pipupgrade | 2022-05-09 09:08:39,450 | INFO | Using cached info for package <Package resolvelib (0.5.5)>. 
pipupgrade | 2022-05-09 09:08:39,450 | INFO | Using cached info for package <Package QtPy (2.0.1)>. 
pipupgrade | 2022-05-09 09:08:39,450 | INFO | Initializing Package {'name': 'setuptools', 'version': '59.6.0', 'latest_version': '62.1.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,451 | INFO | Fetching package setuptools information from DB... 
pipupgrade | 2022-05-09 09:08:39,453 | INFO | Using cached info for package <Package setuptools (59.6.0)>. 
bpyutils | 2022-05-09 09:08:39,458 | INFO | Packages within `pip` /usr/bin/pip found: [<Package CacheControl (0.12.6)>, <Package contextlib2 (0.6.0.post1)>, <Package cryptography (36.0.2)>, <Package importlib-metadata (4.8.1)>, <Package more-itertools (8.12.0)>, <Package ordered-set (4.0.2)>, <Package pip (21.0)>, <Package QDarkStyle (3.0.2)>, <Package QtPy (2.0.1)>, <Package resolvelib (0.5.5)>, <Package setuptools (59.6.0)>]... 
bpyutils | 2022-05-09 09:08:39,465 | INFO | 11 packages found for /usr/bin/pip3. 
pipupgrade | 2022-05-09 09:08:39,469 | INFO | Initializing Package {'name': 'CacheControl', 'version': '0.12.6', 'latest_version': '0.12.11', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,469 | INFO | Fetching package CacheControl information from DB... 
pipupgrade | 2022-05-09 09:08:39,470 | INFO | Initializing Package {'name': 'contextlib2', 'version': '0.6.0.post1', 'latest_version': '21.6.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,470 | INFO | Fetching package contextlib2 information from DB... 
pipupgrade | 2022-05-09 09:08:39,470 | INFO | Initializing Package {'name': 'cryptography', 'version': '36.0.2', 'latest_version': '37.0.2', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,470 | INFO | Fetching package cryptography information from DB... 
pipupgrade | 2022-05-09 09:08:39,472 | INFO | Using cached info for package <Package CacheControl (0.12.6)>. 
pipupgrade | 2022-05-09 09:08:39,472 | INFO | Initializing Package {'name': 'importlib-metadata', 'version': '4.8.1', 'latest_version': '4.11.3', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,473 | INFO | Fetching package importlib-metadata information from DB... 
pipupgrade | 2022-05-09 09:08:39,473 | INFO | Using cached info for package <Package cryptography (36.0.2)>. 
pipupgrade | 2022-05-09 09:08:39,473 | INFO | Using cached info for package <Package contextlib2 (0.6.0.post1)>. 
pipupgrade | 2022-05-09 09:08:39,474 | INFO | Initializing Package {'name': 'more-itertools', 'version': '8.12.0', 'latest_version': '8.13.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,474 | INFO | Fetching package more-itertools information from DB... 
pipupgrade | 2022-05-09 09:08:39,475 | INFO | Using cached info for package <Package more-itertools (8.12.0)>. 
pipupgrade | 2022-05-09 09:08:39,476 | INFO | Using cached info for package <Package importlib-metadata (4.8.1)>. 
pipupgrade | 2022-05-09 09:08:39,476 | INFO | Initializing Package {'name': 'ordered-set', 'version': '4.0.2', 'latest_version': '4.1.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,476 | INFO | Fetching package ordered-set information from DB... 
pipupgrade | 2022-05-09 09:08:39,477 | INFO | Initializing Package {'name': 'pip', 'version': '21.0', 'latest_version': '22.0.4', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,477 | INFO | Using cached info for package <Package ordered-set (4.0.2)>. 
pipupgrade | 2022-05-09 09:08:39,477 | INFO | Fetching package pip information from DB... 
pipupgrade | 2022-05-09 09:08:39,477 | INFO | Using cached info for package <Package pip (21.0)>. 
pipupgrade | 2022-05-09 09:08:39,477 | INFO | Initializing Package {'name': 'QDarkStyle', 'version': '3.0.2', 'latest_version': '3.0.3', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,477 | INFO | Fetching package QDarkStyle information from DB... 
pipupgrade | 2022-05-09 09:08:39,479 | INFO | Initializing Package {'name': 'QtPy', 'version': '2.0.1', 'latest_version': '2.1.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,479 | INFO | Initializing Package {'name': 'resolvelib', 'version': '0.5.5', 'latest_version': '0.8.1', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,479 | INFO | Fetching package QtPy information from DB... 
pipupgrade | 2022-05-09 09:08:39,479 | INFO | Fetching package resolvelib information from DB... 
pipupgrade | 2022-05-09 09:08:39,479 | INFO | Initializing Package {'name': 'setuptools', 'version': '59.6.0', 'latest_version': '62.1.0', 'latest_filetype': 'wheel'} of type <class 'dict'>... 
pipupgrade | 2022-05-09 09:08:39,480 | INFO | Using cached info for package <Package resolvelib (0.5.5)>. 
pipupgrade | 2022-05-09 09:08:39,480 | INFO | Using cached info for package <Package QtPy (2.0.1)>. 
pipupgrade | 2022-05-09 09:08:39,480 | INFO | Fetching package setuptools information from DB... 
pipupgrade | 2022-05-09 09:08:39,480 | INFO | Using cached info for package <Package QDarkStyle (3.0.2)>. 
pipupgrade | 2022-05-09 09:08:39,482 | INFO | Using cached info for package <Package setuptools (59.6.0)>. 
bpyutils | 2022-05-09 09:08:39,486 | INFO | Packages within `pip` /usr/bin/pip3 found: [<Package CacheControl (0.12.6)>, <Package contextlib2 (0.6.0.post1)>, <Package cryptography (36.0.2)>, <Package importlib-metadata (4.8.1)>, <Package more-itertools (8.12.0)>, <Package ordered-set (4.0.2)>, <Package pip (21.0)>, <Package QDarkStyle (3.0.2)>, <Package QtPy (2.0.1)>, <Package resolvelib (0.5.5)>, <Package setuptools (59.6.0)>]... 
bpyutils | 2022-05-09 09:08:39,488 | INFO | Updating registries: [<pipupgrade.model.registry.Registry object at 0x7fc6af5e2d70>, <pipupgrade.model.registry.Registry object at 0x7fc6af5e2e60>]... 
Source: Installed Distributions (/usr/bin/pip) 
Name               Current Version Latest Version Home Page 
------------------ --------------- -------------- ------------------------------------------------- 
CacheControl       0.12.6          0.12.11        https://github.com/ionrock/cachecontrol 
contextlib2        0.6.0.post1     21.6.0         http://contextlib2.readthedocs.org 
cryptography       36.0.2          37.0.2         https://github.com/pyca/cryptography 
importlib-metadata 4.8.1           4.11.3         https://github.com/python/importlib_metadata 
more-itertools     8.12.0          8.13.0 
ordered-set        4.0.2           4.1.0 
pip                21.0            22.0.4         https://pip.pypa.io/ 
QDarkStyle         3.0.2           3.0.3          https://github.com/ColinDuquesnoy/QDarkStyleSheet 
QtPy               2.0.1           2.1.0          https://github.com/spyder-ide/qtpy 
resolvelib         0.5.5           0.8.1          https://github.com/sarugaku/resolvelib 
setuptools         59.6.0          62.1.0         https://github.com/pypa/setuptools 
Do you wish to update 9 packages? [Y/n/q]: y 
Updating 1 of 9 packages: CacheControl 
bpyutils | 2022-05-09 09:08:41,249 | INFO | Executing command: /usr/bin/pip install CacheControl --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: CacheControl in /usr/lib/python3.10/site-packages (0.12.6) 
Collecting CacheControl 
  Downloading CacheControl-0.12.11-py2.py3-none-any.whl (21 kB) 
Requirement already satisfied: msgpack>=0.5.2 in /usr/lib/python3.10/site-packages (from CacheControl) (1.0.3) 
Requirement already satisfied: requests in /usr/lib/python3.10/site-packages (from CacheControl) (2.27.1) 
Requirement already satisfied: chardet>=3.0.2 in /usr/lib/python3.10/site-packages (from requests->CacheControl) (4.0.0) 
Requirement already satisfied: idna>=2.5 in /usr/lib/python3.10/site-packages (from requests->CacheControl) (3.3) 
Requirement already satisfied: urllib3>=1.21.1 in /usr/lib/python3.10/site-packages (from requests->CacheControl) (1.26.9) 
Installing collected packages: CacheControl 
Successfully installed CacheControl-0.12.11 
Updating 2 of 9 packages: contextlib2 
bpyutils | 2022-05-09 09:08:42,083 | INFO | Executing command: /usr/bin/pip install contextlib2 --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: contextlib2 in /usr/lib/python3.10/site-packages (0.6.0.post1) 
Collecting contextlib2 
  Downloading contextlib2-21.6.0-py2.py3-none-any.whl (13 kB) 
Installing collected packages: contextlib2 
Successfully installed contextlib2-21.6.0 
Updating 3 of 9 packages: importlib-metadata 
bpyutils | 2022-05-09 09:08:42,871 | INFO | Executing command: /usr/bin/pip install importlib-metadata --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: importlib-metadata in /usr/lib/python3.10/site-packages (4.8.1) 
Collecting importlib-metadata 
  Downloading importlib_metadata-4.11.3-py3-none-any.whl (18 kB) 
Requirement already satisfied: zipp>=0.5 in /usr/lib/python3.10/site-packages (from importlib-metadata) (3.8.0) 
Installing collected packages: importlib-metadata 
Successfully installed importlib-metadata-4.11.3 
Updating 4 of 9 packages: more-itertools 
bpyutils | 2022-05-09 09:08:43,860 | INFO | Executing command: /usr/bin/pip install more-itertools --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: more-itertools in /usr/lib/python3.10/site-packages (8.12.0) 
Collecting more-itertools 
  Downloading more_itertools-8.13.0-py3-none-any.whl (51 kB) 
     |████████████████████████████████| 51 kB 13.4 MB/s 
Installing collected packages: more-itertools 
Successfully installed more-itertools-8.13.0 
Updating 5 of 9 packages: ordered-set 
bpyutils | 2022-05-09 09:08:44,704 | INFO | Executing command: /usr/bin/pip install ordered-set --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: ordered-set in /usr/lib/python3.10/site-packages (4.0.2) 
Collecting ordered-set 
  Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB) 
Installing collected packages: ordered-set 
Successfully installed ordered-set-4.1.0 
Updating 6 of 9 packages: pip 
bpyutils | 2022-05-09 09:08:45,527 | INFO | Executing command: /usr/bin/pip install pip --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (21.0) 
Collecting pip 
  Downloading pip-22.0.4-py3-none-any.whl (2.1 MB) 
     |████████████████████████████████| 2.1 MB 21.5 MB/s 
Installing collected packages: pip 
Successfully installed pip-22.0.4 
Updating 7 of 9 packages: QDarkStyle 
bpyutils | 2022-05-09 09:08:47,448 | INFO | Executing command: /usr/bin/pip install QDarkStyle --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: QDarkStyle in /usr/lib/python3.10/site-packages (3.0.2) 
Collecting QDarkStyle 
  Downloading QDarkStyle-3.0.3-py2.py3-none-any.whl (450 kB) 
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 450.1/450.1 KB 45.3 MB/s eta 0:00:00 
Requirement already satisfied: qtpy>=1.9 in /usr/lib/python3.10/site-packages (from QDarkStyle) (2.0.1) 
Requirement already satisfied: packaging in /usr/lib/python3.10/site-packages (from qtpy>=1.9->QDarkStyle) (21.3) 
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/lib/python3.10/site-packages (from packaging->qtpy>=1.9->QDarkStyle) (3.0.8) 
Installing collected packages: QDarkStyle 
Successfully installed QDarkStyle-3.0.3 
Updating 8 of 9 packages: QtPy 
bpyutils | 2022-05-09 09:08:48,348 | INFO | Executing command: /usr/bin/pip install QtPy --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: QtPy in /usr/lib/python3.10/site-packages (2.0.1) 
Collecting QtPy 
  Downloading QtPy-2.1.0-py3-none-any.whl (68 kB) 
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.2/68.2 KB 43.9 MB/s eta 0:00:00 
Requirement already satisfied: packaging in /usr/lib/python3.10/site-packages (from QtPy) (21.3) 
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/lib/python3.10/site-packages (from packaging->QtPy) (3.0.8) 
Installing collected packages: QtPy 
Successfully installed QtPy-2.1.0 
Updating 9 of 9 packages: resolvelib 
bpyutils | 2022-05-09 09:08:49,278 | INFO | Executing command: /usr/bin/pip install resolvelib --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: resolvelib in /usr/lib/python3.10/site-packages (0.5.5) 
Collecting resolvelib 
  Downloading resolvelib-0.8.1-py2.py3-none-any.whl (16 kB) 
Installing collected packages: resolvelib 
Successfully installed resolvelib-0.8.1 
Source: Installed Distributions (/usr/bin/pip3) 
Name               Current Version Latest Version Home Page 
------------------ --------------- -------------- ------------------------------------------------- 
CacheControl       0.12.6          0.12.11        https://github.com/ionrock/cachecontrol 
contextlib2        0.6.0.post1     21.6.0         http://contextlib2.readthedocs.org 
cryptography       36.0.2          37.0.2         https://github.com/pyca/cryptography 
importlib-metadata 4.8.1           4.11.3         https://github.com/python/importlib_metadata 
more-itertools     8.12.0          8.13.0 
ordered-set        4.0.2           4.1.0 
pip                21.0            22.0.4         https://pip.pypa.io/ 
QDarkStyle         3.0.2           3.0.3          https://github.com/ColinDuquesnoy/QDarkStyleSheet 
QtPy               2.0.1           2.1.0          https://github.com/spyder-ide/qtpy 
resolvelib         0.5.5           0.8.1          https://github.com/sarugaku/resolvelib 
setuptools         59.6.0          62.1.0         https://github.com/pypa/setuptools 
Do you wish to update 9 packages? [Y/n/q]: y 
Updating 1 of 9 packages: CacheControl 
bpyutils | 2022-05-09 09:08:51,570 | INFO | Executing command: /usr/bin/pip3 install CacheControl --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: CacheControl in ./.local/lib/python3.10/site-packages (0.12.11) 
Requirement already satisfied: msgpack>=0.5.2 in /usr/lib/python3.10/site-packages (from CacheControl) (1.0.3) 
Requirement already satisfied: requests in /usr/lib/python3.10/site-packages (from CacheControl) (2.27.1) 
Requirement already satisfied: chardet>=3.0.2 in /usr/lib/python3.10/site-packages (from requests->CacheControl) (4.0.0) 
Requirement already satisfied: idna>=2.5 in /usr/lib/python3.10/site-packages (from requests->CacheControl) (3.3) 
Requirement already satisfied: urllib3>=1.21.1 in /usr/lib/python3.10/site-packages (from requests->CacheControl) (1.26.9) 
Updating 2 of 9 packages: contextlib2 
bpyutils | 2022-05-09 09:08:52,364 | INFO | Executing command: /usr/bin/pip3 install contextlib2 --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: contextlib2 in ./.local/lib/python3.10/site-packages (21.6.0) 
Updating 3 of 9 packages: importlib-metadata 
bpyutils | 2022-05-09 09:08:53,169 | INFO | Executing command: /usr/bin/pip3 install importlib-metadata --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: importlib-metadata in ./.local/lib/python3.10/site-packages (4.11.3) 
Requirement already satisfied: zipp>=0.5 in /usr/lib/python3.10/site-packages (from importlib-metadata) (3.8.0) 
Updating 4 of 9 packages: more-itertools 
bpyutils | 2022-05-09 09:08:54,016 | INFO | Executing command: /usr/bin/pip3 install more-itertools --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: more-itertools in ./.local/lib/python3.10/site-packages (8.13.0) 
Updating 5 of 9 packages: ordered-set 
bpyutils | 2022-05-09 09:08:54,820 | INFO | Executing command: /usr/bin/pip3 install ordered-set --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: ordered-set in ./.local/lib/python3.10/site-packages (4.1.0) 
Updating 6 of 9 packages: pip 
bpyutils | 2022-05-09 09:08:55,588 | INFO | Executing command: /usr/bin/pip3 install pip --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (21.0) 
Collecting pip 
  Downloading pip-22.0.4-py3-none-any.whl (2.1 MB) 
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 81.4 MB/s eta 0:00:00 
Installing collected packages: pip 
Successfully installed pip-22.0.4 
Updating 7 of 9 packages: QDarkStyle 
bpyutils | 2022-05-09 09:08:57,524 | INFO | Executing command: /usr/bin/pip3 install QDarkStyle --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: QDarkStyle in ./.local/lib/python3.10/site-packages (3.0.3) 
Requirement already satisfied: qtpy>=1.9 in ./.local/lib/python3.10/site-packages (from QDarkStyle) (2.1.0) 
Requirement already satisfied: packaging in /usr/lib/python3.10/site-packages (from qtpy>=1.9->QDarkStyle) (21.3) 
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/lib/python3.10/site-packages (from packaging->qtpy>=1.9->QDarkStyle) (3.0.8) 
Updating 8 of 9 packages: QtPy 
bpyutils | 2022-05-09 09:08:58,357 | INFO | Executing command: /usr/bin/pip3 install QtPy --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: QtPy in ./.local/lib/python3.10/site-packages (2.1.0) 
Requirement already satisfied: packaging in /usr/lib/python3.10/site-packages (from QtPy) (21.3) 
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/lib/python3.10/site-packages (from packaging->QtPy) (3.0.8) 
Updating 9 of 9 packages: resolvelib 
bpyutils | 2022-05-09 09:08:59,189 | INFO | Executing command: /usr/bin/pip3 install resolvelib --no-cache-dir --upgrade 
Defaulting to user installation because normal site-packages is not writeable 
Requirement already satisfied: resolvelib in ./.local/lib/python3.10/site-packages (0.8.1)

Setup

I use Artix (Arch linux fork), I have thereby the last version of Python and pip. I just switched from Arch Linux (reinstalled everything). It worked before. After the "update part", there were an "upgrade part" which actually changed the program version.

neofetch --off --color_blocks off
OS: Artix Linux x86_64 
Host: MS-7A38 1.0 
Kernel: 5.17.4-artix1-1 
Uptime: 55 mins 
Packages: 802 (pacman) 
Shell: zsh 5.8.1 
Resolution: 1920x1080 
WM: dwm 
Theme: Arc-Gruvbox [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: st 
Terminal Font: JoyPixels 
CPU: AMD Ryzen 7 1700 (16) @ 2.999GHz 
GPU: NVIDIA GeForce GTX 1060 3GB 
Memory: 851MiB / 7962MiB 

The most important is of coures my Python and pip version:

pip 21.0 from /usr/lib/python3.10/site-packages/pip (python 3.10) 
Python 3.10.4 (main, Mar 25 2022, 16:46:29) [GCC 11.2.0] on linux 
@Inlife-raphael Inlife-raphael added the bug Something isn't working label May 9, 2022
@Inlife-raphael
Copy link
Author

I changed the permissions of site-packages. The issue probably came from the fact that the required updates were detected in sites-packages but wasn't doable because of permissions.

After that I got an huge with huge logs. There was an issue with chmod also so I tried to run pipupgrade as root. But as I thought, it's not recommend for the file permissions.

The second time it asked for upgrade, there was the issue indeed. However, it seems that packages have upgraded since I get no packages to upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants