OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Why does my python build regress to a previous version

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

Guest
I have a newly installed Fedora 40 install on my laptop. I've downloaded version 3.12.4 from python website. I run the following:

Code:
./configure --prefix=/opt/python/3.12.4/ --enable-optimizations --without-ensurepip --enable-ipv6 --enable-shared

In the same folder of the build I then run:

Code:
make -j `nproc`

And then in the same folder I run

Code:
./python --version

and I get the strange result

Code:
Python 3.12.3

But I'm building 3.12.4

If I remove the configure option --enable-shared and redo the build

Code:
./configure --prefix=/opt/python/3.12.4/ --enable-optimizations --without-ensurepip --enable-ipv6

In the same folder of the build I then run:

Code:
make -j `nproc`

And then in the same folder I run

Code:
./python --version

I now get the right version

Code:
Python 3.12.4

Fedora 40 native system python version is 3.12.3

Why is this occurring?
<p>I have a newly installed Fedora 40 install on my laptop. I've downloaded version 3.12.4 from python website. I run the following:</p>
<pre><code>./configure --prefix=/opt/python/3.12.4/ --enable-optimizations --without-ensurepip --enable-ipv6 --enable-shared
</code></pre>
<p>In the same folder of the build I then run:</p>
<pre><code>make -j `nproc`
</code></pre>
<p>And then in the same folder I run</p>
<pre><code>./python --version
</code></pre>
<p>and I get the strange result</p>
<pre><code>Python 3.12.3
</code></pre>
<p><strong>But I'm building 3.12.4</strong></p>
<p>If I remove the configure option <code>--enable-shared</code> and redo the build</p>
<pre><code>./configure --prefix=/opt/python/3.12.4/ --enable-optimizations --without-ensurepip --enable-ipv6
</code></pre>
<p>In the same folder of the build I then run:</p>
<pre><code>make -j `nproc`
</code></pre>
<p>And then in the same folder I run</p>
<pre><code>./python --version
</code></pre>
<p>I now get the right version</p>
<pre><code>Python 3.12.4
</code></pre>
<p>Fedora 40 native system python version is <code>3.12.3</code></p>
<p>Why is this occurring?</p>
 
Top