Please remove that "provides=python". It's technically wrong, it is misleading and only causes confusion. This PKGBUILD never was and never will be a drop-in replacement for whatever "extra/python" is. There is absolutely no positive effect for it being there either, it contributes no value.
Search Criteria
Package Details: python311 3.11.9-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/python311.git (read-only, click to copy) |
---|---|
Package Base: | python311 |
Description: | Major release 3.11 of the Python high-level programming language |
Upstream URL: | https://www.python.org/ |
Licenses: | custom |
Provides: | python |
Submitter: | soh |
Maintainer: | soh |
Last Packager: | soh |
Votes: | 13 |
Popularity: | 0.98 |
First Submitted: | 2024-04-27 13:04 (UTC) |
Last Updated: | 2024-04-28 13:18 (UTC) |
Dependencies (15)
- bzip2 (bzip2-gitAUR)
- expat (expat-gitAUR)
- gdbm (gdbm-gitAUR)
- libffi (libffi-gitAUR)
- libnsl (libnsl-gitAUR)
- libxcrypt (libxcrypt-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- bluez-libs (bluez-gitAUR) (make)
- gdb (gdb-gitAUR, gdb-debug-gitAUR) (make)
- mpdecimal (make)
- mpdecimal (optional) – for decimal
- sqlite (sqlite-fossilAUR) (optional)
- tk (tk-fossilAUR) (optional) – for tkinter
- xz (xz-gitAUR) (optional) – for lzma
Required by (13127)
- 0wgram (requires python) (make)
- 10ff-git (requires python)
- 10moons-driver-t503 (requires python)
- 10moons-driver-t503 (requires python) (make)
- 1panel (requires python) (make)
- 2048-py (requires python)
- 20kly (requires python)
- 20kly-git (requires python)
- 2s2h (requires python) (make)
- 2s2h-git (requires python) (make)
- 2s2h-otr-exporter (requires python) (make)
- 2s2h-otr-exporter-git (requires python) (make)
- 3dtk-svn (requires python)
- 3dtk-svn (requires python) (optional)
- 3to2 (requires python)
- 4bulk-git (requires python)
- 64gram-desktop (requires python) (make)
- 8852bu-dkms-git (requires python)
- a2ln (requires python)
- a7800 (requires python) (make)
- Show 13107 more...
Sources (1)
Namarrgon commented on 2024-12-21 16:53 (UTC)
wleivam commented on 2024-11-19 22:42 (UTC)
Hi! Please, is it possible update the package version to 3.11.10 (https://www.python.org/downloads/release/python-31110/).
And, is it possible change the "bluez-libs" to "boost-libs" in the "makedepends" list?, because in a server mode environment this can open unexplored backdoors, but maybe I'm wrong.
Finally, the 3.10 version has the flag "--enable-optimizations" and this not, in the "configure" process.
EndlessEden commented on 2024-10-07 02:30 (UTC) (edited on 2024-10-07 02:33 (UTC) by EndlessEden)
@soh -- while i know you dont have this PKGBUILD flagged for non-x86 architectures.
I wanted to point out there is a bug when building this on arm. the pkgbuild tries to sed a sub-architecture specific "/python311/pkg/python311/usr/lib/python3.11/config-3.11-armv7h-linux-gnu" which doesnt exist, instead of "python311/pkg/python311/usr/lib/python3.11/config-3.11-arm-linux-gnueabihf" which is global to all versions of arm.
you can fix this with simply replacing the single line with
# Clean-up reference to build directory
if [ $(echo ${CARCH} | grep -c "arm") -gt 0 ]; then
sed -i "s|$srcdir/Python-${pkgver}:||" "$pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}-arm-linux-gnueabihf/Makefile"
else
sed -i "s|$srcdir/Python-${pkgver}:||" "$pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}-${CARCH}-linux-gnu/Makefile"
fi
(also i am terrible with markup so i dont remember how to put that in proper multiline like NikolayHD's comment)
NikolayHD commented on 2024-06-20 16:15 (UTC)
Hi, in python-quick-build-git the commit 08d5923 2023-05-24 gh-104773: PEP 594: Remove cgi and cgitb modules
removes Lib/cgi.py
Which makes the build of this package fail with
==> Extracting sources...
-> Creating working copy of cpython-git git repo...
Cloning into 'cpython-git'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
sed: can't read Lib/cgi.py: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
Should we remove
28: # FS#23997
29: sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
from PKGBUILD ?
HLFH commented on 2024-04-29 14:01 (UTC)
Great package. Useful for Odoo 17 that does not support Python 3.12.
MarsSeed commented on 2024-04-28 17:02 (UTC)
@soh, please remove provides=python
. It allows the user to install this package and uninstall Arch/core/python, breaking all python-
packages and everything that relies on anything on /usr/lib/python3.12/site-packages
.
The Arch packaging system does not support package provides to the effect of provides=(python=3.11) AND NOT provides=(python=3.12)
, only provides=(python=3.11) AND provides=(python)
.
This realization was behind the AURweb change that removed its earlier ability of showing versioned dependencies on the web interface.
soh commented on 2024-04-28 13:13 (UTC)
I've updated with PKGBUILD with ./configure ax_cv_c_float_words_bigendian=no
.
soh commented on 2024-04-28 12:49 (UTC)
AUR moderators, please see my comment in python310 for my response to the deletion request by @MarsSeed:
strigi commented on 2024-04-28 09:05 (UTC)
Thanks @lefterisjp, I can confirm this works.
lefterisjp commented on 2024-04-27 20:46 (UTC)
It's not the real fix, but if you are stuck on what @qexat and @flying-sheep reported you can just manually build the package by givin the aforementioned setting as an environment variable.
For example for a little endian machine:
ax_cv_c_float_words_bigendian=no makepkg -sic
Pinned Comments
soh commented on 2024-04-28 12:49 (UTC)
AUR moderators, please see my comment in python310 for my response to the deletion request by @MarsSeed:
https://aur.archlinux.org/packages/python310#comment-969759