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: 32
Popularity: 0.53
First Submitted: 2019-11-14 21:23 (UTC)
Last Updated: 2023-06-14 07:53 (UTC)

Dependencies (16)

Required by (12544)

Sources (6)

Latest Comments

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

Manu-sh commented on 2023-12-21 18:47 (UTC)

@greut i understand but I still hope it saves someone's time, I no longer need this package anyway as I said several python packages had the same problem, such as python39 so whatever the reason it seems to affect all packages a bit

greut commented on 2023-12-18 07:26 (UTC)

@Manu-sh python3.7 has reached its end-of-life status in June of this year (roughly six months ago); so it's unlikely anything will be done to fix anything here.

Manu-sh commented on 2023-12-16 01:26 (UTC) (edited on 2023-12-16 01:26 (UTC) by Manu-sh)

I get the same error for other versions of the packages (I think python36 and python39) except python38 which gave a different error..

On python37 i have got this error:

LD_LIBRARY_PATH=/home/user/python37/src/Python-3.7.17 ./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
    echo "generate-posix-vars failed" ; \
    rm -f ./pybuilddir.txt ; \
    exit 1 ; \
fi
generate-posix-vars failed
make[3]: *** [Makefile:608: pybuilddir.txt] Error 1
make[3]: *** Attesa per i processi non terminati....
make[3]: uscita dalla directory «/home/user/python37/src/Python-3.7.17»
make[2]: *** [Makefile:523: build_all_generate_profile] Error 2
make[2]: uscita dalla directory «/home/user/python37/src/Python-3.7.17»
make[1]: *** [Makefile:499: profile-gen-stamp] Error 2
make[1]: uscita dalla directory «/home/user/python37/src/Python-3.7.17»
make: *** [Makefile:511: profile-run-stamp] Error 2
==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...

I have tried to edit the PKGBUILD disable any patch and flag and delete every time the entire folders pkg and src.. same.

Then i have added the source ~/.bashrc to the PKGBUILD... same...

By extracting the folder and manually issuing all the commands of the prepare() function with all the various patches and build() the package compiles perfectly. Typing all commands by my console works everything (except for a sed line which require the single quotes to prevent a bash expansion with the '!' character) so sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py it's replaced by sed -i -e 's|^#.* /usr/local/bin/python|#!/usr/bin/python|' Lib/cgi.py

i think this package has problems with the bash or python environment.

tinytangent commented on 2022-04-30 05:15 (UTC) (edited on 2022-04-30 05:15 (UTC) by tinytangent)

The build process succeeded but I noticed that some unit tests seem to fail ([37/40] test_time -- test_tabnanny failed):

0:00:00 load avg: 1.53 Run tests sequentially
0:00:00 load avg: 1.53 [ 1/40] test_array
0:00:00 load avg: 1.49 [ 2/40] test_base64
0:00:01 load avg: 1.49 [ 3/40] test_binascii
0:00:01 load avg: 1.49 [ 4/40] test_binop
0:00:01 load avg: 1.49 [ 5/40] test_bisect
0:00:01 load avg: 1.49 [ 6/40] test_bytes
0:00:04 load avg: 1.49 [ 7/40] test_cmath
0:00:04 load avg: 1.49 [ 8/40] test_codecs
0:00:05 load avg: 1.45 [ 9/40] test_collections
0:00:06 load avg: 1.45 [10/40] test_complex
0:00:07 load avg: 1.45 [11/40] test_dataclasses
0:00:07 load avg: 1.45 [12/40] test_datetime
0:00:13 load avg: 1.33 [13/40] test_decimal
0:00:19 load avg: 1.30 [14/40] test_difflib
0:00:20 load avg: 1.28 [15/40] test_embed
0:00:24 load avg: 1.28 [16/40] test_float
0:00:24 load avg: 1.28 [17/40] test_fstring
0:00:25 load avg: 1.34 [18/40] test_functools
0:00:25 load avg: 1.34 [19/40] test_generators
0:00:26 load avg: 1.34 [20/40] test_hashlib
0:00:27 load avg: 1.34 [21/40] test_heapq
0:00:28 load avg: 1.34 [22/40] test_int
0:00:28 load avg: 1.34 [23/40] test_itertools
0:00:37 load avg: 1.29 [24/40] test_json
0:00:39 load avg: 1.29 [25/40] test_long
0:00:43 load avg: 1.26 [26/40] test_math
0:00:47 load avg: 1.24 [27/40] test_memoryview
0:00:48 load avg: 1.24 [28/40] test_operator
0:00:48 load avg: 1.24 [29/40] test_ordered_dict
0:00:50 load avg: 1.30 [30/40] test_pickle
0:01:09 load avg: 1.23 [31/40] test_pprint
0:01:10 load avg: 1.22 [32/40] test_re
0:01:12 load avg: 1.22 [33/40] test_set
0:01:17 load avg: 1.20 [34/40] test_statistics
0:01:19 load avg: 1.20 [35/40] test_struct
0:01:21 load avg: 1.26 [36/40] test_tabnanny
0:01:21 load avg: 1.26 [37/40] test_time -- test_tabnanny failed
0:01:23 load avg: 1.26 [38/40] test_unicode
0:01:26 load avg: 1.24 [39/40] test_xml_etree
0:01:28 load avg: 1.24 [40/40] test_xml_etree_c

greut commented on 2022-03-24 06:07 (UTC)

@hadian90 I'll let you search how to deal with importing the provided GPG key.

hadian90 commented on 2022-03-24 05:05 (UTC) (edited on 2022-03-24 05:08 (UTC) by hadian90)

failed install on Manjaro

==> Validating source files with sha512sums...
    Python-3.7.13.tar.xz ... Passed
    Python-3.7.13.tar.xz.asc ... Skipped
    dont-make-libpython-readonly.patch ... Passed
    0002-smaller-pgo-test-suite.patch ... Passed
    0003-enable-building-with-libmpdec.patch ... Passed
    0004-mpdecimal-2.5.1.patch ... Passed
==> Verifying source file signatures with gpg...
    Python-3.7.13.tar.xz ... cat: write error: Broken pipe
FAILED
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1

hwangh95 commented on 2021-11-22 14:03 (UTC)

_decimal module doesn't build without the patch in python38 https://aur.archlinux.org/cgit/aur.git/tree/mpdecimal-2.5.1.patch?h=python38

anatolik commented on 2021-11-19 02:34 (UTC) (edited on 2021-11-19 02:35 (UTC) by anatolik)

It needs rebuild due to libldap bump

bacteriostat commented on 2021-10-20 06:20 (UTC) (edited on 2021-10-20 06:47 (UTC) by bacteriostat)

libffi was upgraded 3.4.2-4 and Jupyter notebook no more launches for me. It is looking for libffi.so.7 while the system has libffi.so.8.

I am not sure if this issue goes here or somewhere upstream.

FIXED: Rebuilding the package fixed the issue for me. Leaving it here for noobs out there like me.

avzb_arch commented on 2021-07-08 06:48 (UTC) (edited on 2021-07-08 06:50 (UTC) by avzb_arch)

Use this works well

gpg --keyserver keyserver.ubuntu.com --recv-key 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D

gpg: key 2D347EA6AA65421D: public key "Ned Deily (Python release signing key)<nad@python.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1