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: 8
Popularity: 0.51
First Submitted: 2022-10-25 08:37 (UTC)
Last Updated: 2024-02-18 14:44 (UTC)

Dependencies (16)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

Pinetreeaxe commented on 2024-02-13 18:33 (UTC) (edited on 2024-02-13 18:47 (UTC) by Pinetreeaxe)

@rixx I managed to change the PKGBUILD to work on my machine, I will make a PR to your repo so you can decide if you want to implement it. It's done.

rixx commented on 2024-02-13 17:38 (UTC)

@Pinetreeaxe Nothing has changed between releases in the PKGBUILD, and I can't reproduce the error. Happy to take fixes as PRs.

Pinetreeaxe commented on 2024-02-13 14:34 (UTC)

I tried to update the package only to receive this error:

Unknown float word ordering. You need to manually preset ax_cv_c_float_words_bigendian=no (or yes) according to your system.

==> ERROR: A failure occurred in build(). Aborting... -> error making: python312-exit status 4 -> Failed to install the following packages. Manual intervention is required: python312 - exit status 4

I assume it's some problem with the new version of the package

rixx commented on 2023-12-27 12:53 (UTC)

@dtcooper: see here why optimizations are not enabled

dtcooper commented on 2023-12-27 06:12 (UTC)

I recommend adding --enable-optimizations to ./configure for performance improvements.

nschloe commented on 2023-11-28 15:25 (UTC)

From https://docs.python.org/3/howto/perf_profiling.html#how-to-obtain-the-best-results:

For best results, Python should be compiled with CFLAGS="-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" as this allows profilers to unwind using only the frame pointer and not on DWARF debug information. This is because as the code that is interposed to allow perf support is dynamically generated it doesn’t have any DWARF debugging information available.

Right now, those flags aren't enabled in the build.

dhiaagr commented on 2023-10-18 18:37 (UTC) (edited on 2023-10-18 18:38 (UTC) by dhiaagr)

@rixx i am terribly sorry. running python3.12 does bring up the python3.12 version.
here's what happend: i installed Arch on WSL, when i ran python command, i got command not found.
i installed yay, i ran yay <your_package> and i installed it.
then running python command, brought up python 3.11.5
running python3.12 brings up the version installed by your package.

i will gladly delete this comment and the previous one as the problem isn't at all with your package so the comment section remains clean.

rixx commented on 2023-10-18 18:26 (UTC)

@dhiaagr You installed this package successfully, and when you run python3.12 --version, STDOUT shows Python 3.11.x? That's extremely weird and I cannot explain how that would happen. Please provide logs of your build process.

dhiaagr commented on 2023-10-18 17:40 (UTC)

i installed this package using YAY and ended up with python 3.11.5 where did i go wrong?

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