Package Details: python2 2.7.18-11

Git Clone URL: https://aur.archlinux.org/python2.git (read-only, click to copy)
Package Base: python2
Description: A high-level scripting language
Upstream URL: https://www.python.org/
Licenses: PSF-2.0
Conflicts: python
Submitter: jelly
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 74
Popularity: 0.46
First Submitted: 2022-09-23 10:01 (UTC)
Last Updated: 2024-06-17 22:01 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 19 Next › Last »

eduardolucioac commented on 2022-11-08 04:05 (UTC) (edited on 2022-11-08 12:30 (UTC) by eduardolucioac)

Theoretically the error...

 -> Could not find all required packages:
        openssl-1.1 (Wanted by: python2)

... should not occur if the "openssl" package (openssl-1.1.1.q-1) is present, as we are talking about a different "revision" (MAJOR.MINOR.REVISION, versioning).

So the solution for me was to modify the dependencies in the "PKGBUILD" file by replacing "openssl-1.1" with "openssl"...

BEFORE

depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl-1.1'  'sqlite' 'zlib')

AFTER

depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl'  'sqlite' 'zlib')

BEFORE

  CPPFLAGS+=" -I/usr/include/openssl-1.1"
  LDFLAGS+=" -L/usr/lib/openssl-1.1"

AFTER

  CPPFLAGS+=" -I/usr/include/openssl"
  LDFLAGS+=" -L/usr/lib/openssl"

I also noticed the occurrence of failure in the test "test_urllibnet"...

1 test failed:
    test_urllibnet

So I removed this test by modifying the "PKGBUILD" file once again...

BEFORE

    xvfb-run "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_idle test_tk test_ttk_guionly test_ctypes test_ssl test_ftplib test_imaplib test_urllib2_localnet test_codecmaps_jp

AFTER

    xvfb-run "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_idle test_tk test_ttk_guionly test_ctypes test_ssl test_ftplib test_imaplib test_urllib2_localnet test_codecmaps_jp test_urllibnet

Done! Thanks! ☺️

micwoj92 commented on 2022-11-07 12:27 (UTC)

It also fails for python 3.10 (and probably any other version), installing not 100% compatible replacement of such crucial packages is your own responsibility. https://github.com/python/cpython/issues/98567

juxuanu commented on 2022-11-07 10:58 (UTC)

One can have zlib-ng installed and the zlib test will fail, by the way.

tompear commented on 2022-11-07 08:48 (UTC)

Required package name is 'openssl-1.1', not 'openssl' and this one you have installed on Manjaro. In Arch you can choose between 'openssl', 'openssl-1.0' and 'openssl-1.1' but on Manjaro there are only 'openssl' and 'openssl-1.0'.

BTW, this is AUR, Arch Users Repository, if package from there fits to your Manjaro installation you have lucky. Bad luck this time.

micwoj92 commented on 2022-11-07 08:47 (UTC)

For the last time, don't come here with manjaro problems, not my issue that the packages are just held back there.

mosgerila commented on 2022-11-07 08:28 (UTC) (edited on 2022-11-07 08:49 (UTC) by mosgerila)

Manjaro KDE. Cannot upgrade to this latest version 2.7.18-8. "could not satisfy dependencies: - unable to satisfy dependency 'openssl-1.1' required by python2" but openssl 1.1.1.q-1 is installed

maderios commented on 2022-11-06 20:18 (UTC)

@cmsigler It builds fine for me but i don't use any Aur helper, i just do 'makepkg -sicC' in directory

cmsigler commented on 2022-11-06 13:09 (UTC)

Hi all,

I also ran into problems. The solution for me was to "sanitize the build environment" :)

If you are using, for example, yay as your AUR helper:

$ mv -i ~/.cache/yay/python2/ ~/.cache/yay/python2.old
$ yay -S python2

I am running Arch, not a derivative. HTH!

Clemmitt Sigler

RubenKelevra commented on 2022-11-02 14:01 (UTC)

You should note in the description field that it won't receive any security updates.

Elagoht commented on 2022-10-31 21:57 (UTC)

I deleted check function and run makepkg -s --nocheck. It tested for 8 minutes and took 13 minutes total install with R7 5700G. But ı still can't install lots of library requires python2.