Package Details: python38 3.8.20-1

Git Clone URL: https://aur.archlinux.org/python38.git (read-only, click to copy)
Package Base: python38
Description: Major release 3.8 of the Python high-level programming language
Upstream URL: https://www.python.org/
Keywords: python python3
Licenses: PSF-2.0
Submitter: rixx
Maintainer: rixx
Last Packager: rixx
Votes: 32
Popularity: 0.44
First Submitted: 2019-03-27 20:21 (UTC)
Last Updated: 2024-11-06 08:34 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

mirh commented on 2023-04-26 21:55 (UTC)

I can also report removing --without-ensurepip didn't have any conflict and installed perfectly.

FabioLolix commented on 2022-12-30 23:23 (UTC)

@VeryGeneric you need to edit your makepkg.conf

VeryGeneric commented on 2022-09-29 03:11 (UTC)

Any particular reason that it's not building multi-processor?

archertech commented on 2022-07-17 15:49 (UTC)

If you have error:

gpg: keyserver receive failed: Server indicated a failure

Check your /etc/resolve.conf

In my case it was empty. I added:

nameserver 1.1.1.1

Then this worked:

gpg --keyserver keyserver.ubuntu.com --recv-keys E3FF2839C048B25C084DEBE9B26995E310250568

see https://unix.stackexchange.com/a/510464/259472

javier.ruere commented on 2022-05-14 08:18 (UTC)

I'm unable to get the key. :(

❯ gpg --keyserver keyserver.ubuntu.com --recv-keys E3FF2839C048B25C084DEBE9B26995E310250568
gpg: keyserver receive failed: Server indicated a failure

rixx commented on 2022-03-16 23:44 (UTC)

Hm, I only added pip because of a request. I haven't heard of similar problems in the other Python packages, strangely enough. I'll revert the change here, update will be here in a minute.

jrohwer commented on 2022-03-16 19:59 (UTC) (edited on 2022-03-16 20:10 (UTC) by jrohwer)

Getting the same error as @ZappaBoy. This manifested only now when trying to upgrade. The first install with pip included went fine as there was no pip previously. But with the upgrade the package build actually builds in the fakeroot in the pkg/ directory but finds the pip in the actual system directory and tries to uninstall it from there, which does not work due to permissions. Not sure how to fix this.

The build does succeed if I add back --without-ensurepip to the configure options in PKGBUILD.

I have python310 installed (system) as well as python39 and python38 from AUR.

Processing /tmp/tmpc4c_h1wo/pip-22.0.4-py3-none-any.whl
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.1.1
    Uninstalling pip-21.1.1:
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/usr/bin/pip'
Consider using the `--user` option or check the permissions.

Traceback (most recent call last):
  File "/home/jr/.cache/yay/python38/src/Python-3.8.13/Lib/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/jr/.cache/yay/python38/src/Python-3.8.13/Lib/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/jr/.cache/yay/python38/src/Python-3.8.13/Lib/ensurepip/__main__.py", line 5, in <module>
    sys.exit(ensurepip._main())
  File "/home/jr/.cache/yay/python38/src/Python-3.8.13/Lib/ensurepip/__init__.py", line 204, in _main
    return _bootstrap(
  File "/home/jr/.cache/yay/python38/src/Python-3.8.13/Lib/ensurepip/__init__.py", line 123, in _bootstrap
    return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/home/jr/.cache/yay/python38/src/Python-3.8.13/Lib/ensurepip/__init__.py", line 32, in _run_pip
    return subprocess.run([sys.executable, "-c", code], check=True).returncode
  File "/home/jr/.cache/yay/python38/src/Python-3.8.13/Lib/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/jr/.cache/yay/python38/src/Python-3.8.13/python', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmpc4c_h1wo/setuptools-56.0.0-py3-none-any.whl\', \'/tmp/tmpc4c_h1wo/pip-22.0.4-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmpc4c_h1wo\', \'--root\', \'/home/jr/.cache/yay/python38/pkg/python38/\', \'--upgrade\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
make: *** [Makefile:1208: altinstall] Error 1
==> ERROR: A failure occurred in package().

rixx commented on 2022-03-08 22:16 (UTC)

I can't reproduce the problem (with both system Python and a set of other Pythons installed). Happy to take patches to fix the issue.

ZappaBoy commented on 2022-03-08 21:59 (UTC)

I am getting permission error after pip has been included in the package.

Looking in links: /tmp/tmpu1kcaxob
Processing /tmp/tmpu1kcaxob/setuptools-56.0.0-py3-none-any.whl
Requirement already satisfied: pip in /usr/lib/python3.8/site-packages/pip-19.3.1-py3.8.egg (19.3.1)
Processing /tmp/tmpu1kcaxob/pip-21.1.1-py3-none-any.whl
Installing collected packages: setuptools, pip
  Attempting uninstall: pip
    Found existing installation: pip 19.3.1
    Uninstalling pip-19.3.1:
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/usr/bin/pip'
Consider using the `--user` option or check the permissions.

I tried to change /usr/bin/pip permissions and tried to remove it at all but nothing changes.

FabioLolix commented on 2021-12-17 18:18 (UTC)

Hello, I have successfully compiled the package, how can I configure a pkgbuild to use this python version?