Thomas Petazzoni added the comment:
I can confirm we are seeing the same issue when building Python 3.9 in the
context of Buildroot. See
http://autobuild.buildroot.net/results/ae6/ae6c4ab292589a4e4442dfb0a1286349a9bf4d29/build-end.log
for an example build result. This happens since we have
Thomas Petazzoni added the comment:
For the record: we're seeing this issue ~50 times a day on our build
infrastructure.
--
___
Python tracker
<https://bugs.python.org/is
Thomas Petazzoni added the comment:
No, because it's not simply about the size of the installed Python standard
library: it's also about the number of dependencies to build before being able
to build Python. For example, a normal Python installation requires OpenSSL,
libncurses, a
Thomas Petazzoni added the comment:
But this expectation is not true: if dependencies are not available, Python
silently disables the build of certain modules. So this story of making the
standard library always has all the modules does not really stand
Changes by Thomas Petazzoni :
--
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue20210>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Thomas Petazzoni:
In the context of space-constrained embedded Linux systems, installing the
entire set of Python modules and extensions is not necessarily desirable. For
example, all the test modules, as well as certain extensions requiring
third-parties libraries are
Changes by Thomas Petazzoni :
--
keywords: +patch
Added file:
http://bugs.python.org/file33380/0001-Add-infrastructure-to-disable-the-build-of-certain-e.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33382/0003-Add-an-option-to-disable-pydoc.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33383/0004-Add-an-option-to-disable-lib2to3.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33381/0002-Add-an-option-to-disable-installation-of-test-module.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33384/0005-Add-option-to-disable-the-sqlite3-module.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33385/0006-Add-an-option-to-disable-the-tk-module.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33387/0008-Add-an-option-to-disable-expat.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33386/0007-Add-an-option-to-disable-the-curses-module.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33389/0010-Add-an-option-to-disable-NIS.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33391/0012-Add-an-option-to-disable-IDLE.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33388/0009-Add-an-option-to-disable-CJK-codecs.patch
___
Python tracker
<http://bugs.python.org/issue20
Changes by Thomas Petazzoni :
Added file:
http://bugs.python.org/file33390/0011-Add-an-option-to-disable-unicodedata.patch
___
Python tracker
<http://bugs.python.org/issue20
New submission from Thomas Petazzoni:
In the cross-compilation case, setup.py incorrectly adds /usr/include to
self.compiler.include_dirs, and results in the following invalid compilation
line:
/home/thomas/projets/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc
-fPIC -Wno-unused
New submission from Thomas Petazzoni:
The build_ext logic uses
sys.executable.startswith(os.path.join(sys.exec_prefix, "bin")) to determine
whether we're building a third-party Python extension, or a built-in Python
extension. However, this check is wrong in cross-compilatio
New submission from Thomas Petazzoni:
The _sysconfigdata.py module contains definitions that are needed when building
Python modules. In cross-compilation mode, when building Python extensions for
the target, we need to use the _sysconfigdata.py of the target Python while
executing the host
Thomas Petazzoni added the comment:
The patch is not working as it should be, so I withdraw it for the moment.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
Thomas Petazzoni added the comment:
Hello,
On Sat, 04 Jun 2016 23:33:00 +, Matthias Klose wrote:
> fyi, this came up again at the 2016 Language Summit, the request here
> was to provide some minimal packages which are just enough to run a
> cloud image (the cloud-init package r
Thomas Petazzoni added the comment:
The original problem is that Python wants to generate random numbers at
*startup*. Are those random numbers really used for crypto-related activities?
I doubt it.
So isn't the proper solution to have two functions, one delivering random
numbers tha
Thomas Petazzoni added the comment:
I can also say that in the Buildroot project, we have patches to get rid of the
PEP3147 stuff. Indeed, the PEP3147 forces one to have both the .py *and* the
.pyc file for a given module. If you have only the .pyc file, Python does not
recognize it and it
Thomas Petazzoni added the comment:
See
https://git.buildroot.org/buildroot/tree/package/python3/0016-Add-importlib-fix-for-PEP-3147-issue.patch
--
___
Python tracker
<http://bugs.python.org/issue26
Thomas Petazzoni added the comment:
We have a similar patch in Buildroot (see
https://git.buildroot.org/buildroot/tree/package/python3/0017-Add-an-option-to-disable-installation-of-test-module.patch)
so we would be very happy to see this patch merged.
Note that we also have many more patches
Thomas Petazzoni added the comment:
No, if you remove PEP3147 (like the Buildroot patch does), and install only the
.pyc files, you have a smaller Python installation, and nothing gets
"re-generated", since what you already have are the .pyc files. The .py files
are not even instal
Thomas Petazzoni added the comment:
I confirm seeing the same issue. This patch fixes it.
--
nosy: +thomas-petazzoni
___
Python tracker
<http://bugs.python.org/issue23
Thomas Petazzoni added the comment:
I can confirm that I'm affected by the same issue. Booting a simple Linux
system on a Qemu ARM platform, the python startup hangs during 25 seconds due
to the call to getrandom(). I am not doing anything with Python, just starting
the Python interp
Thomas Petazzoni added the comment:
Obviously I did my math wrong: it waits 45 seconds in getrandom(), not 25
seconds. See my strace log.
--
___
Python tracker
<http://bugs.python.org/issue25
Thomas Petazzoni added the comment:
@Mark I would be happy to, but if you refer to the previous discussion about
this bug report, the feedback was quite negative. And since I'm not really
willing to do some clean up to finally get the patches rejected, I'd like to at
least
32 matches
Mail list logo