Matthias Klose added the comment:
Roumen, do you have a newer patch which applies to the current trunk?
--
nosy: +doko
___
Python tracker
<http://bugs.python.org/issue3
Changes by Matthias Klose :
--
components: +Cross-Build -Build, Distutils2
___
Python tracker
<http://bugs.python.org/issue3871>
___
___
Python-bugs-list mailin
New submission from Matthias Klose :
For a cross build, make tries to run pgen built for the host machine, not the
build machine. However it is not necessary to run pgen at all if all the files
are up to date. This change implements it.
The release script (if something like this exists
Changes by Matthias Klose :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue14321>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Matthias Klose :
AC_RUN_IFELSE tests can't be used in cross builds, and have to fall back to
some default in the case of a cross build. This is a meta issue to collect
changes for the conversion of such tests.
--
assignee: doko
components: Cross-Build
key
Matthias Klose added the comment:
when using gcc, use a compilation test for the cross build check for long long
format.
--
Added file: http://bugs.python.org/file24869/long-long-format.diff
___
Python tracker
<http://bugs.python.org/issue14
Matthias Klose added the comment:
when configured --with(out)-computed-gotos for a cross, use this value instead
of defaulting to no.
--
Added file: http://bugs.python.org/file24871/computed-gotos.diff
___
Python tracker
<http://bugs.python.
Matthias Klose added the comment:
when configured with --(en|dis)able-ipv6 for cross builds, don't fail the
configury due to the missing buggy-getaddrinfo check.
--
Added file: http://bugs.python.org/file24876/buggy-getaddrinfo.diff
___
P
New submission from Matthias Klose :
the configury uses uname, which fails for cross builds. this issue tracks
patches tor replace the uname calls with the use of macros set by
AC_CANONICAL_HOST (host*, build*)
--
assignee: doko
components: Cross-Build
keywords: needs review
messages
Matthias Klose added the comment:
call AC_CANONICAL_HOST and check in config.{guess,sub},
taken from git://git.savannah.gnu.org/config.git
--- a/configure.ac Thu Mar 15 20:42:23 2012 +0100
+++ b/configure.ac Thu Mar 15 21:17:32 2012 +0100
@@ -33,6 +33,8 @@
AC_CONFIG_SRCDIR([Include
Matthias Klose added the comment:
the following patch still keeps the uname calls for native builds, but sets the
ac_sys_* macros depending on $host for cross builds. For now the cross
configure fails for everything except linux and cygwin targets.
--
keywords: +patch
Added file
Matthias Klose added the comment:
closing this issue. please continue in issue 3754.
--
components: +Cross-Build -Build
nosy: +doko
resolution: -> out of date
status: open -> closed
___
Python tracker
<http://bugs.python.org/iss
Matthias Klose added the comment:
some of these changes are now available in trunk, tested with a
x86_64-linux-gnu to arm-linux-gnueabihf cross build.
using issue 14324 for configure tests which need fixes, and issue 14327 for the
use of uname in the configure script.
please feel free to
Matthias Klose added the comment:
issue 14330 handles not using the host python for the build
--
___
Python tracker
<http://bugs.python.org/issue3754>
___
___
New submission from Matthias Klose :
for various tasks, the just built python for the host is used. this patch
searches for a suitable python for the build machine and uses it for the build.
--
assignee: doko
components: Cross-Build
files: no-host-python-for-build.diff
keywords: needs
Matthias Klose added the comment:
I'm now able to build the interpreter (and run it in qemu on the same machine),
but building the extension modules fails. the build is configured as:
CC="arm-linux-gnueabihf-gcc" \
CXX="arm-linux-gnueabihf-g++" \
CFLAGS="-g
Changes by Matthias Klose :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue14321>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Matthias Klose :
[forwarded from https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/971311]
The webbrowser.py is using gnome-open. This is no longer supported by gnome,
instead they use gvfs-open. The attached patch adds support for this and will
also use xdg-open if
Matthias Klose added the comment:
I don't think so. the register calls append to the list, don't overwrite it.
--
___
Python tracker
<http://bugs.python.o
New submission from Matthias Klose :
[forwarded from http://bugs.debian.org/664529]
seen with 2.7.3 rc2
File descriptors opened by PyFile_FromString don't get closed when the
reference count is decreased.
Here's my test program, pythony.c:
#include
int main()
{
int i = 0;
PyO
Changes by Matthias Klose :
--
nosy: +haypo
___
Python tracker
<http://bugs.python.org/issue14505>
___
___
Python-bugs-list mailing list
Unsubscribe:
Matthias Klose added the comment:
The last time I merged libffi, we were not able to build the MacOS X and
Windows libffi from the upstream sources, but used the internal copy of the
copy. Now that libffi 3.0.11 is released, we could
- update to this new version, see if the MacOS X and
Matthias Klose added the comment:
"AFAICT, the purpose of python-config is to provide configuration info for
embedding Python"
If that's the intention, then at least it's not used as such. It's also used
to build/configure extensions using automake/cmake based buil
New submission from Matthias Klose :
compared to 3.8 alpha4, beta1's importlib has three new dependencies csv, email
and zipfile. Is this intended, or should the toplevel imports in
importlib.metadata be moved into the functions where these are once used?
--
components: Library
Matthias Klose added the comment:
yes, that's for the minimal package.
zipfile is found in Lib/importlib/_bootstrap_external.py
Again, it's just a question here, having found an unmotivated distutils import
before in one of the standard modules.
--
resolution: -&
New submission from Matthias Klose :
3.8 b2 now requires sphinx2 (according to SilentGhost on IRC), but only has
documented 1.8. I'm aware of issue #36007, the last time that the requirements
were bumped.
So again, the dependencies were bumped without documenting, and why do we
requir
Matthias Klose added the comment:
so this might not be a sphinx 2.x issue, the docs build fine for the html
output, but the reported error is for building the texinfo files:
make -C Doc texinfo
That worked for 3.8 b1.
--
___
Python tracker
New submission from Matthias Klose :
so issue28046 decided to encode both MACHDEP and PLATFORM_TRIPLET/MULTIARCH in
the _sysconfigdata name. Unfortunately on KFreeBSD MACHDEP includes the kernel
version, so you end up with a changing MACHDEP. The _sysconfigdata name should
only encode the
Matthias Klose added the comment:
this is issue #37561, making the sysconfigdata file name not changing with the
kernel version of the OS. I need to commit that patch to the trunk and 3.8.
But apparently pip needs to be aware of that as well
Matthias Klose added the comment:
Luis, I'm still trying to figure out why you are seeing that. Please could you
report the package versions which are installed on the system?
dpkg -l python3.7 python3.8 python3-distutils
--
___
Python tr
Matthias Klose added the comment:
what are the situations where the path for python and python-config is
different?
This proposal doesn't say anything how to retrieve the correct information for
cross builds using this module. From my point of view, python-config should
stay outsid
New submission from Matthias Klose:
[forwarded from https://bugs.debian.org/869098 and]
sphinx shows an EOF error when using python2.7 from the trunk. Last successful
build was with the 2.7.13 release.
It looks like this is triggered only when using the parallel mode in sphinx. I
haven
New submission from Matthias Klose:
[Ned asked to submit that as a release blocker]
the build of the documentation fails with at least the 3.5.4rc1. It adds a new
build dependency (blurb), which is inconvenient to build on stable
environments, or when pip is not available. Please could you
Matthias Klose added the comment:
> so why didn't blurb get installed for doko?
it's not packaged, and I'm (and I think any other provider of distro packages)
not using network access during the build. Sorry to say, but the assumption
that pip should be used to be able to
Matthias Klose added the comment:
> I'm not sure I understand your position. External tools are only
> permissible if Debian packages exist for them?
for a package build to use them, yes.
> And, it's not "core python", it's the Python documentation, which
New submission from Matthias Klose:
[forwarded from https://bugs.debian.org/854001]
$ cat tst.py
#!/usr/bin/env python
import sys
import email
mail = email.message_from_string(
"""From:
To:
Subject: demo
X-Overlong-Header-Name-causes-python-mail-to-crash-in-re-serialization-
Matthias Klose added the comment:
+1, if that's ok with the Windows maintainers.
--
___
Python tracker
<http://bugs.python.org/issue31358>
___
___
Pytho
New submission from Matthias Klose:
Debian's OpenSSL now disables TLS 1.0 and 1.1, letting some of the python tests
fail. Please make them use a newer protocol version, or make the use of the
older versions conditional.
--
assignee: christian.heimes
components: SSL
messages: 3
Matthias Klose added the comment:
failing tests:
https://ci.debian.net/data/packages/unstable/amd64/p/python3.6/latest-autopkgtest/log.gz
--
___
Python tracker
<https://bugs.python.org/issue31
Matthias Klose added the comment:
Christian, I assume you'd like to see a test which can be done at *runtime*,
not *buildtime*. Assuming you have that openssl upstream patch available in
your build dependency, would that help with the detection? If yes, I'll talk
to Debian'
New submission from Matthias Klose :
seen at least on the 2.7, a new symbol polluting the symbol namespace.
the global symbol "freegrammar" should be made static ore renamed
--
components: Interpreter Core
messages: 330615
nosy: doko
priority: normal
severity: normal
status:
New submission from Matthias Klose :
[3.6/3.7] idlelib/help.html mentions 3.8alpha0 docs:
Seen in the 3.6.8 and 3.7.2 release candidates
--
assignee: terry.reedy
components: IDLE
keywords: 3.6regression, 3.7regression
messages: 331671
nosy: doko, ned.deily, terry.reedy
priority
New submission from Matthias Klose :
python 3.7.2 rc1 bumped the build requirements apparently for no reason, now
requiring sphinx 1.7 instead of 1.6.x before. This is a major pain, if you
want to provide the build including the documentation on a stable release.
Pretty please can we avoid
Matthias Klose added the comment:
"if one uses the doc Makefile venv target". which is not possible for
distributions which are not allowed to use anything but the distro to build the
distro.
so why bumping the version requirement to 1.7 instead of 1.6.6? Afaicu this is
th
New submission from Matthias Klose :
the build with building extension modules as builtins is broken in 3.8. I
assume that is some fallout from the header re-organization. It shows in the
link step by having undefined references. Undefined symbols are listed below.
Still looking where the
Matthias Klose added the comment:
Setup.local used:
# Edit this file for local setup changes
array arraymodule.c # array objects
cmath cmathmodule.c _math.c # -lm # complex math library functions
math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
_struct _struct.c
Matthias Klose added the comment:
found it, Setup.dist was renamed to Setup.
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Matthias Klose added the comment:
seen in Ubuntu 19.04 as well. Started after the openssl update form 1.1.1 to
1.1.1b.
--
nosy: +doko
___
Python tracker
<https://bugs.python.org/issue35
Matthias Klose added the comment:
setting to release-blocker for evaluation. the freebsd solution seems to be
wrong, just avoiding the error. Is the test correct, or do we have an issue
that TLSv1.3 isn't properly handled?
--
keywords: +3.7regression
nosy: +lukasz.langa, ned.
Matthias Klose added the comment:
no, please don't assume that if it builds for one cross build variant, that it
builds for all. re-opening.
--
resolution: fixed ->
status: closed -> open
___
Python tracker
<https://bugs.python.
New submission from Matthias Klose :
seen with 3.7,3, not 3.8 alpha3.
bus error in test_gil test on armhf with 64bit kernel, one more unaligned
access. not seen in debug builds.
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco
New submission from Matthias Klose :
This was seen when running an armhf binary on a 64bit kernel. The problem is
that the implementation uses unaligned memory accesses, and even is well aware
of that. The module allows misaligned memory accesses by default. The
NO_MISALIGNED_ACCESSES macro
Change by Matthias Klose :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> unaligned memory access in the _sha3 extension
___
Python tracker
<https://bugs.python
Matthias Klose added the comment:
why is this an issue on Debian? Debian is already not linking with libpython.
--
nosy: +doko
___
Python tracker
<https://bugs.python.org/issue36
New submission from Matthias Klose :
seen with the 3.6 branch 20180212, last known succeeding test is the 3.6.4
release.
test test_idle failed -- Traceback (most recent call last):
File
"/home/packages/python/3.6/python3.6-3.6.4/Lib/idlelib/idle_test/test_help_about.py",
l
New submission from Matthias Klose :
The backport of issue #32305 causes regressions in several packaged namespace
packages:
https://bugs.debian.org/890621
https://bugs.debian.org/890754
while the change is intended, is it appropriate to backport it to 3.6? Please
could you have a look, you
Matthias Klose added the comment:
reopening.
Lib/test/libregrtest/setup.py still needs fixing at least on 3.6, I didn't
check the trunk.
libregrtest/setup.py:
60c60
< if hasattr(module, '__file__'):
---
> if getattr(module, '__file__', None
New submission from Matthias Klose :
Late last year / early this year, Debian defined new triplets for some mips r6
and riscv variants. Please still consider these for the 3.7 release. These
patches are in use in Debian for a while and show no regressions.
The new variants are documented at
Change by Matthias Klose :
Added file: https://bugs.python.org/file47554/riscv64.diff
___
Python tracker
<https://bugs.python.org/issue33377>
___
___
Python-bugs-list m
Change by Matthias Klose :
--
pull_requests: +6351
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33377>
___
___
Python-bugs-list mai
New submission from Matthias Klose :
update config.guess and config.sub from http://git.savannah.gnu.org/
--
assignee: doko
components: Build
messages: 315954
nosy: doko
priority: normal
severity: normal
status: open
title: update config.guess and config.sub
versions: Python 3.7, Python
Matthias Klose added the comment:
New changeset ddbe976964933cb943c6383a776e800cc7e0f47d by Matthias Klose in
branch 'master':
bpo-33377: add triplets for mips-r6 and riscv (#6655)
https://github.com/python/cpython/commit/ddbe976964933cb943c6383a776e80
Change by Matthias Klose :
--
keywords: +patch
pull_requests: +6354
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33393>
___
___
Py
New submission from Matthias Klose :
the build of the shared modules is quiet/non-visible when GNU make gets passed
macros. This is was introduced by the change to support BSD make.
GNU make adds all make macros passed on the command line to MAKEFLAGS. If one
of these macros contains -s, the
Change by Matthias Klose :
--
pull_requests: +6355
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33394>
___
___
Python-bugs-list mai
Matthias Klose added the comment:
New changeset 7e3545c70cdecd86ffa8fcbffd79b4f78560679f by Matthias Klose in
branch 'master':
bpo-33393: Update config.guess and config.sub files (#6658)
https://github.com/python/cpython/commit/7e3545c70cdecd86ffa8fcbffd79b4
Matthias Klose added the comment:
New changeset 9da7ee40037fa30d0d28fd8d7c652cde14e5a834 by Matthias Klose (Miss
Islington (bot)) in branch '3.7':
bpo-33393: Update config.guess and config.sub files (GH-6658) (#6661)
https://github.com/python/cpyt
Matthias Klose added the comment:
there is https://pypi.org/project/distro/
--
___
Python tracker
<https://bugs.python.org/issue28167>
___
___
Python-bugs-list m
Matthias Klose added the comment:
this seems to be fixed in 3.6 (3.6.5) and 3.7 (beta4).
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Matthias Klose :
==
ERROR: test_from_import_missing_attr_has_name_and_so_path
(test.test_import.ImportTests)
--
Traceback (most recent call
New submission from Matthias Klose :
building extensions statically in linking these into the python binary is
currently broken on 3.7.
I'm attaching the change that worked for me in 3.7alpha2, but doesn't work
anymore with alpha3. Currently investigating. When building ext
New submission from Matthias Klose :
in setup.py, for the _decimal module the libararies are now set exclusively to
['m'], without checking if this is really needed, and overriding the external
mpdec library, breaking the build. Is there any reason to override that?
--
Matthias Klose added the comment:
proposed patch, however I don't know the rationale for that change compared to
3.7alpha2.
--
keywords: +patch
Added file: https://bugs.python.org/file47324/issue32233.diff
___
Python tracker
&
Matthias Klose added the comment:
that patch lets the build succeed. two additional includes and a little bit of
shuffling
--
keywords: +patch
Added file: https://bugs.python.org/file47325/ext-as-builtins.diff
___
Python tracker
<ht
New submission from Matthias Klose :
Seen with recent Debian and Ubuntu builds,
builds configured with --with-system-expat, expat version 2.2.3.
==
ERROR: test_expat224_utf8_bug (test.test_xml_etree.BugsTest
Matthias Klose added the comment:
ok, I can confirm that the failures go away with an updated version. Then
trying to find documentation about required external dependencies... None.
While we have pointers to optimize the build, we don't have anything about
requirements in the top
Change by Matthias Klose :
--
title: [2.7 regression] test_xml_etree test_xml_etree_c failures with 2.7 and
3.6 branches 20171205 -> test_xml_etree test_xml_etree_c failures with 2.7 and
3.6 branches 20171205
___
Python tracker
<
New submission from Matthias Klose :
lintian (the Debian packaging checker) recently started flagging so-called
"privacy-breach" issues:
https://lintian.debian.org/maintainer/d...@debian.org.html#python2.7
python2.7-doc
W privacy-breach-generic
usr/share/doc/python2.7/html/about.h
Matthias Klose added the comment:
should *not* point to the same single-point-of-failure URL
--
versions: +Python 2.7, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue32
Matthias Klose added the comment:
the patch looks ok. was it tested on a Debian or Ubuntu system to produce the
same layout with this patch and without the new configure option?
--
___
Python tracker
<https://bugs.python.org/issue1294
Matthias Klose added the comment:
reopening. this patch introduces two new symbols unconditionally, which were
not defined for non-pyfpe builds before (PyFPE_counter and PyFPE_jbuf).
--
nosy: +doko
status: closed -> open
___
Python tracker
<
New submission from Matthias Klose :
Seen with the 3.6 branch and the 3.7 branch at least. This file is installed by
default, so should be valid syntax? If it's supposed to be that way, maybe
call the template like template.py.in?
Unpacking libpython3.6-testsuite (3.6.6~
Matthias Klose added the comment:
please don't close this yet. the patch introduces a dependency on the
distutils package. I don't see any reason to compare the libc version as a
python egg version, so please avoid that.
if we need to have a module to compare arbitrary versi
Matthias Klose added the comment:
a tuple comparison should be good enough
--
___
Python tracker
<https://bugs.python.org/issue26544>
___
___
Python-bugs-list m
New submission from Matthias Klose :
Lib/trace.cover is not removed by the clean target, and apparently this file is
always created in the source tree, not in the build tree. It should be created
in the build tree, if that's not possible, it should be cleaned in any
New submission from Matthias Klose :
test_tcl fails at least on the 3.7 branch with:
==
FAIL: test_join (test.test_tcl.TclTest)
--
Traceback (most recent call
Matthias Klose added the comment:
seen on Linux x86_64, using Tcl 8.6.8, running the tests in the installed
location.
--
___
Python tracker
<https://bugs.python.org/issue34
Matthias Klose added the comment:
this is the python3.7 build for Debian, so yes, installed via a package manager
;)
see
https://ci.debian.net/data/packages/unstable/amd64/p/python3.7/
for the test results.
and yes, that seems to be a regression compared to the 3.7.0 release
Matthias Klose added the comment:
ok, not working on that currently
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Matthias Klose :
running the lib2to3 tests from an installed location, I see the following
failures on the 3.7 branch:
==
FAIL: test (lib2to3.tests.test_fixers.Test_reload
Matthias Klose added the comment:
strange. I see it succeeding in the build location, not the install location.
Did you make sure to cd /tmp before running the test?
I still can reproduce it:
$ python3.7 -m test test_lib2to3
Run tests sequentially
0:00:00 load avg: 0.24 [1/1] test_lib2to3
Matthias Klose added the comment:
no, it's not fixed at all. Setting as a release blocker for 3.6 and 3.7.
--
keywords: +3.6regression, 3.7regression
nosy: +benjamin.peterson, ned.deily
priority: normal -> release blocker
___
Python tracker
Matthias Klose added the comment:
proposed patch attached
--
___
Python tracker
<https://bugs.python.org/issue26544>
___
___
Python-bugs-list mailing list
Unsub
Change by Matthias Klose :
Added file: https://bugs.python.org/file47755/platform-no-distutils.diff
___
Python tracker
<https://bugs.python.org/issue26544>
___
___
Pytho
Matthias Klose added the comment:
fine! what prevents merging and backporting this issue?
--
___
Python tracker
<https://bugs.python.org/issue26544>
___
___
Matthias Klose added the comment:
+1
--
___
Python tracker
<https://bugs.python.org/issue26544>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Matthias Klose :
two distutils tests fail when running the tests from an installed location. 3.7
branch 20180925, succeeded with a 20180911 snapshot. Is there any locale
setting required?
==
ERROR
Change by Matthias Klose :
--
nosy: +serhiy.storchaka, steve.dower
___
Python tracker
<https://bugs.python.org/issue34806>
___
___
Python-bugs-list mailin
Matthias Klose added the comment:
issue34530 was already fixed on 20180904, so there's something else...
--
___
Python tracker
<https://bugs.python.org/is
Matthias Klose added the comment:
well, it was top of the branch yesterday
--
___
Python tracker
<https://bugs.python.org/issue34806>
___
___
Python-bugs-list m
201 - 300 of 827 matches
Mail list logo