Package Details: python312 3.12.2-2

Git Clone URL: https://aur.archlinux.org/python312.git (read-only, click to copy)
Package Base: python312
Description: Major release 3.12 of the Python high-level programming language
Upstream URL: https://www.python.org/
Licenses: custom
Submitter: rixx
Maintainer: rixx
Last Packager: rixx
Votes: 10
Popularity: 1.64
First Submitted: 2022-10-25 08:37 (UTC)
Last Updated: 2024-02-18 14:44 (UTC)

Dependencies (16)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

RubenKelevra commented on 2023-03-24 18:34 (UTC)

I made a tiny helper package which will do the switch – by doing the necessary links – to python312 and thus removes 'python' from the system.

LMK what you think :)

https://aur.archlinux.org/packages/python312-as-default-interpreter

rixx commented on 2022-12-31 09:41 (UTC)

Huh, I swear this used to build two versions ago, and I hadn't checked since. Thanks for the patch, @dnl_tp (and sorry for the late reaction), pushed an update with it applied.

Score_Under commented on 2022-12-30 04:29 (UTC)

I have build failures that seem to be the same judging from the error message. rixx, does this actually build on your machine?

dnl_tp commented on 2022-11-27 08:35 (UTC)

I had build failures and needed to do the following to make it build:

diff --git a/PKGBUILD b/PKGBUILD
index 7ea679a..9aefc62 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,7 +32,7 @@ prepare() {
   # rather than copies shipped in the tarball
   rm -rf Modules/expat
   rm -rf Modules/zlib
-  rm -rf Modules/_ctypes/{darwin,libffi}*
+  rm -rf Modules/_ctypes/libffi*
   rm -rf Modules/_decimal/libmpdec
 }

@@ -62,7 +62,7 @@ package() {
   make DESTDIR="${pkgdir}" altinstall maninstall

   # Split tests
-  rm -r "$pkgdir"/usr/lib/python*/{test,ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,tkinter/test,unittest/test}
+  rm -rf "$pkgdir"/usr/lib/python*/{test,ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,tkinter/test,unittest/test}

   # Avoid conflicts with the main 'python' package.
   rm -f "${pkgdir}/usr/lib/libpython${_pymajver}.so"