Package Details: python37 3.7.10-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
Submitter: 5long
Maintainer: greut (jrd)
Last Packager: greut
Votes: 22
Popularity: 0.36
First Submitted: 2019-11-14 21:23
Last Updated: 2021-02-16 08:10

Latest Comments

1 2 3 4 5 6 ... Next › Last »

greut commented on 2021-01-20 15:42

@user20159 me neither. I've made it more like Python38, let me know if it breaks anything on your side. Thanks for the heads up.

user20159 commented on 2021-01-19 16:46

I'm not sure if this question has been asked already, I've checked the comments but couldn't see anything. How can it be that python37 has llvm gdb xorg-server-xvfb as additional dependencies over python38 or python36? Furthermore, build time is around twice as long as for python38 or python36. Are the other ones missing something?

jhincks commented on 2020-09-28 20:15

build failed with "/usr/bin/xvfb-run: line 186: kill: (1576374) - No such process"

xvfb-run says in its help, that "-a" is deprecated, one should use "-d" instead. I replaced the two occurences in the PKGBUILD, then the build process was successfull.

RealGecko commented on 2020-09-22 08:59

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

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

@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

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

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

surrealistic commented on 2020-09-07 09:27

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

Thanks greut, and thanks 5long for initial package.