This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients Alex.Willmer, doko, xdegaye
Date 2016-07-01.13:00:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467378022.01.0.957641757812.issue27434@psf.upfronthosting.co.za>
In-reply-to
Content
Cross-building the 3.6 source with PYTHON_FOR_BUILD using archlinux python 3.5.1 as found in PATH, fails with:

_PYTHON_PROJECT_BASE=/home/xavier/src/android/pyona/build/python3.6-android-21-x86 _PYTHON_HOST_PLATFORM=linux-x86 PYTHONPATH=/home/xavier/src/packages/android/cpython/Lib:/home/xavier/src/packages/android/cpython/Lib/plat-i386-linux-gnu python3 -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
	echo "generate-posix-vars failed" ; \
	rm -f ./pybuilddir.txt ; \
	exit 1 ; \
fi
Could not import runpy module
Traceback (most recent call last):
  File "/home/xavier/src/packages/android/cpython/Lib/runpy.py", line 15, in <module>
    import importlib.util
  File "/home/xavier/src/packages/android/cpython/Lib/importlib/util.py", line 25
    raise ValueError(f'no package specified for {repr(name)} '
                                                             ^
SyntaxError: invalid syntax
generate-posix-vars failed


The reason is that the syntax of formatted string literals is unknown to python 3.5.
History
Date User Action Args
2016-07-01 13:00:22xdegayesetrecipients: + xdegaye, doko, Alex.Willmer
2016-07-01 13:00:22xdegayesetmessageid: <1467378022.01.0.957641757812.issue27434@psf.upfronthosting.co.za>
2016-07-01 13:00:21xdegayelinkissue27434 messages
2016-07-01 13:00:21xdegayecreate