Package Details: python37 3.7.17-1

Git Clone URL: https://aur.archlinux.org/python37.git (read-only, click to copy)
Package Base: python37
Description: Major release 3.7 of the Python high-level programming language
Upstream URL: https://www.python.org/
Keywords: python python3
Licenses: custom
Provides: python
Submitter: 5long
Maintainer: greut (jrd)
Last Packager: greut
Votes: 33
Popularity: 0.013445
First Submitted: 2019-11-14 21:23 (UTC)
Last Updated: 2023-06-14 07:53 (UTC)

Dependencies (16)

Required by (13303)

Sources (6)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 10 Next › Last »

RealGecko commented on 2020-09-22 08:59 (UTC)

I used this command to import the key

gpg --keyserver pool.sks-keyservers.net --receive-keys 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D

Leeo97one commented on 2020-09-18 20:14 (UTC) (edited on 2020-09-18 20:15 (UTC) by Leeo97one)

I have imported and signed the GPG key: pacman-key --list-keys

pub   rsa4096 2014-11-02 [SC]
      0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
uid          [  totale ] Ned Deily (Python release signing key) <nad@python.org>
uid          [  totale ] Ned Deily (Python release signing key) <nad@acm.org>
uid          [  totale ] Ned Deily <nad@baybryj.net>
uid          [  totale ] keybase.io/nad <nad@keybase.io>
sub   rsa4096 2014-11-02 [E]

But I'm still getting a GPG error and I'm not sure why:

==> Vérification des signatures des fichiers sources grâce à gpg…
    Python-3.7.9.tar.xz ... ÉCHEC (Clé publique inconnue 2D347EA6AA65421D)
==> ERREUR : Une ou plusieurs signatures PGP n’ont pas pu être vérifiées.

greut commented on 2020-09-10 19:45 (UTC)

@DMolt, it make sense to follow what is done for python35 and python36 in that regard and go without ensurepip.

DMolt commented on 2020-09-10 07:59 (UTC)

Hi, I use python 3.7 for some projects with virtualenv and 3.8 for other and system. To install this I have to change --with-ensurepip with --without-ensurepip

Davide

greut commented on 2020-09-07 09:56 (UTC)

@surrealistic above in the logs, you should see why the _posixsubprocess module is not building successfully.

surrealistic commented on 2020-09-07 09:27 (UTC) (edited on 2020-09-07 09:31 (UTC) by surrealistic)

Hi! I'm having this issue with subprocess while tying to upgrade python37 and also after uninstalling it to try a clean installation of it.


gcc -pthread -c -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -flto=4 -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wno-cast-function-type -Werror=implicit-function-declaration -fprofile-generate  -I. -I./Include -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fPIC -DPy_BUILD_CORE -o Modules/_math.o Modules/_math.c
LD_LIBRARY_PATH=/home/user/.cache/yay/python37/src/Python-3.7.9 CC='gcc -pthread' LDSHARED='gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=4 -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -fprofile-generate' OPT='-DNDEBUG -g -fwrapv -O3 -Wall'  _TCLTK_INCLUDES='' _TCLTK_LIBS=''       ./python -E ./setup.py  build
Traceback (most recent call last):
  File "./setup.py", line 12, in <module>
    from distutils.core import Extension, setup
  File "/usr/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 16, in <module>
    from distutils.dist import Distribution
  File "/usr/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 19, in <module>
    from distutils.util import check_environ, strtobool, rfc822_escape
  File "/usr/lib/python3.7/site-packages/setuptools/_distutils/util.py", line 14, in <module>
    from distutils.spawn import spawn
  File "/usr/lib/python3.7/site-packages/setuptools/_distutils/spawn.py", line 11, in <module>
    import subprocess
  File "/home/user/.cache/yay/python37/src/Python-3.7.9/Lib/subprocess.py", line 152, in <module>
    import _posixsubprocess
ModuleNotFoundError: No module named '_posixsubprocess'
make[3]: *** [Makefile:630: sharedmods] Error 1
make[3]: Leaving directory '/home/user/.cache/yay/python37/src/Python-3.7.9'
make[2]: *** [Makefile:523: build_all_generate_profile] Error 2
make[2]: Leaving directory '/home/user/.cache/yay/python37/src/Python-3.7.9'
make[1]: *** [Makefile:499: profile-gen-stamp] Error 2
make[1]: Leaving directory '/home/user/.cache/yay/python37/src/Python-3.7.9'
make: *** [Makefile:511: profile-run-stamp] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: python37

It's like it can't find or recognize subprocess. I searched on Google about the error and I've tried to install subprocess32 with python3.7 -m pip install subprocess32 but it returns the same error. After all those attempts I decided to try a clean installation so I removed python3.7 to install it again instead of upgrading it, but it keeps returning the same error.

jrd commented on 2020-09-03 10:46 (UTC)

Thanks greut, and thanks 5long for initial package.

greut commented on 2020-09-02 19:43 (UTC)

@jrd I've taken the patch from the bug mentioned (https://bugs.python.org/issue41302) and added you as a co-maintainer.

GeorgP commented on 2020-09-02 08:18 (UTC)

You can click "Adopt Package" in "Package Actions" in the top right. Then it's yours. :D

jrd commented on 2020-09-01 12:11 (UTC)

If 5long don't/won't update the package, I could take over if that's possible (I don't know how to transfer AUR package owership…)