From issues-reply at bitbucket.org Tue Jul 3 11:31:14 2018 From: issues-reply at bitbucket.org (Shlomi Fish) Date: Tue, 03 Jul 2018 15:31:14 +0000 (UTC) Subject: [pypy-issue] Issue #2854: pypy3 takes much longer to run a program than pypy2 (pypy/pypy) Message-ID: <20180703153114.4547.20423@celery-worker-108.ash1.bb-inf.net> New issue 2854: pypy3 takes much longer to run a program than pypy2 https://bitbucket.org/pypy/pypy/issues/2854/pypy3-takes-much-longer-to-run-a-program Shlomi Fish: ``` shlomif[ProjEuler]:~/progs/riddles/project-euler/git/project-euler/630$ time pypy 630-v1.py > /dev/null real 0m35.874s user 0m35.433s sys 0m0.429s shlomif[ProjEuler]:~/progs/riddles/project-euler/git/project-euler/630$ time /ho me/shlomif/Download/unpack/prog/python/pypy3.5-6.0.0-linux_x86_64-portable/bin/p ypy3 630-v1.py > /dev/null real 1m38.666s user 1m35.936s sys 0m0.585s shlomif[ProjEuler]:~/progs/riddles/project-euler/git/project-euler/630$ which pypy /home/shlomif/Download/unpack/prog/python/pypy-6.0.0-linux_x86_64-portable/bin/pypy ``` with https://github.com/shlomif/project-euler/blob/8339233f68ed75d7e80f4b204a9f3efa96788d53/project-euler/630/630-v1.py . On Mageia v7 x86-64 . From issues-reply at bitbucket.org Sun Jul 8 07:01:29 2018 From: issues-reply at bitbucket.org (Anya Tchernishov) Date: Sun, 08 Jul 2018 11:01:29 +0000 (UTC) Subject: [pypy-issue] Issue #2855: PyDateTimeAPI->DateTime_FromDateAndTime (pypy/pypy) Message-ID: <20180708110128.3809.3706@celery-worker-106.ash1.bb-inf.net> New issue 2855: PyDateTimeAPI->DateTime_FromDateAndTime https://bitbucket.org/pypy/pypy/issues/2855/pydatetimeapi-datetime_fromdateandtime Anya Tchernishov: Calling `ciso8601.parse_datetime` with pypy3 leaks memory. Tested in CentOS 7 docker image with pypy3 installed: ``` $ pypy3 --version Python 3.5.3 (fdd60ed87e941677e8ea11acf9f1819466521bf2, May 24 2018, 06:31:10) [PyPy 6.0.0 with GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] ``` ``` $ cat /etc/redhat-release CentOS Linux release 7.4.1708 ``` This code shows the leak (`main.py`): ``` import ciso8601 while True: iso_formatted_timestamp = '2018-07-07T14:06:07.560279-05:00' datetime_timestamp = ciso8601.parse_datetime(iso_formatted_timestamp) ``` Command used: `pypy3 main.py` Expected behaviour: - memory consumption of the pypy3 process doesn't grow over time Actual behaviour: - memory consumption growing rapidly (~35MB increase each second) Cpython doesn't leak for this code. In addition, this the code leaks only when the timestamps timezone is not UTC. Calling `ciso8601.parse_datetime` with timestamp in UTC timezone doesn't leak. The following C code reproduces the leak: ``` datetime = PyImport_ImportModule("datetime"); fixed_offset = PyObject_GetAttrString(datetime, "timezone"); static PyObject * _parse(PyObject *self, PyObject *args, int parse_any_tzinfo) { PyObject *obj; PyObject *tzinfo = Py_None; tzinfo = PyObject_CallFunction( fixed_offset, "N", PyDelta_FromDSU(0, 60 * 60, 0)); #define LEAK 1 #if LEAK obj = PyDateTimeAPI->DateTime_FromDateAndTime( 2017, 1, 1, 1, 1, 1, 1, tzinfo, PyDateTimeAPI->DateTimeType); #elif obj = PyDateTimeAPI->Time_FromTime(1, 1, 1, 1, tzinfo, PyDateTimeAPI->TimeType); #endif Py_DECREF(tzinfo); return obj; } ``` `DateTime_FromDateAndTime` leaks while `Time_FromTime` doesn't. From issues-reply at bitbucket.org Mon Jul 9 13:25:52 2018 From: issues-reply at bitbucket.org (aerostitch) Date: Mon, 09 Jul 2018 17:25:52 +0000 (UTC) Subject: [pypy-issue] Issue #2856: Provide a version that requires libncurses 6 instead of libtinfo5 (pypy/pypy) Message-ID: <20180709172552.2834.2030@celery-worker-110.ash1.bb-inf.net> New issue 2856: Provide a version that requires libncurses 6 instead of libtinfo5 https://bitbucket.org/pypy/pypy/issues/2856/provide-a-version-that-requires-libncurses aerostitch: Hi, In latest CoreOS versions they're shipping with libncurses 6. When it was shipping with libncurses 5.9, the workaround was to create a symlink but I think there are a few breaking changes in libncurses from 5 to 6 so I'm wondering if it's prudent to still do that. Could you provide a version of binaries that link to libncurses 6 instead please? Thanks Joseph From issues-reply at bitbucket.org Wed Jul 11 21:40:57 2018 From: issues-reply at bitbucket.org (byllyfish) Date: Thu, 12 Jul 2018 01:40:57 +0000 (UTC) Subject: [pypy-issue] Issue #2857: str.casefold is _still_ wrong for some codepoints (Cherokee) (pypy/pypy) Message-ID: <20180712014056.17639.34040@celery-worker-110.ash1.bb-inf.net> New issue 2857: str.casefold is _still_ wrong for some codepoints (Cherokee) https://bitbucket.org/pypy/pypy/issues/2857/strcasefold-is-_still_-wrong-for-some byllyfish: Under python, '\u13a0' correctly casefolds to '\u13a0'. Under pypy3 (5.10.1), '\u13a0' casefolds to '\uab70'. ``` Python 3.5.3 (3f6eaa010fce, Jan 11 2018, 05:27:47) [PyPy 5.10.1 with GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>> '\u13a0'.casefold() '\uab70' ``` Since '\uab70' and '\u13a0' casefold to each other, neither is stable under case folding. Related to fixed issue #2544. From issues-reply at bitbucket.org Fri Jul 13 12:50:55 2018 From: issues-reply at bitbucket.org (Armin Rigo) Date: Fri, 13 Jul 2018 16:50:55 +0000 (UTC) Subject: [pypy-issue] Issue #2858: In some cases, the GIL is not released often enough (pypy/pypy) Message-ID: <20180713165055.2603.76423@celery-worker-107.ash1.bb-inf.net> New issue 2858: In some cases, the GIL is not released often enough https://bitbucket.org/pypy/pypy/issues/2858/in-some-cases-the-gil-is-not-released Armin Rigo: The GIL is implemented with optimizations that try to not release it during a burst of very short C calls. But in some cases these optimizations are too eager and cause the GIL to remain in the same thread, seemingly for up to 20ms. See attached demo. From issues-reply at bitbucket.org Fri Jul 13 15:21:37 2018 From: issues-reply at bitbucket.org (Ronald Lencevicius) Date: Fri, 13 Jul 2018 19:21:37 +0000 (UTC) Subject: [pypy-issue] Issue #2859: pypy3 fails to install numpy (pypy/pypy) Message-ID: <20180713192136.22764.48905@celery-worker-107.ash1.bb-inf.net> New issue 2859: pypy3 fails to install numpy https://bitbucket.org/pypy/pypy/issues/2859/pypy3-fails-to-install-numpy Ronald Lencevicius: I know this has been mentioned before but it's been months and we still cannot use pip to install numpy. ``` #!bash ... ... File "/tmp/pip-install-0cch5fqt/numpy/numpy/distutils/command/build_src.py", line 294, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) File "/tmp/pip-install-0cch5fqt/numpy/numpy/distutils/command/build_src.py", line 377, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 675, in get_mathlib_info raise RuntimeError("Broken toolchain: cannot link a simple C program") RuntimeError: Broken toolchain: cannot link a simple C program ---------------------------------------- Command "/usr/local/bin/pypy3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-0cch5fqt/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-enorw6my/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-0cch5fqt/numpy/ ``` I'm using latest version of pip on WSL Ubuntu 18.04. I've searched everywhere for solutions but at this point it just seems that pypy doesn't support numpy. From issues-reply at bitbucket.org Wed Jul 18 23:31:26 2018 From: issues-reply at bitbucket.org (Creation Elemental) Date: Thu, 19 Jul 2018 03:31:26 +0000 (UTC) Subject: [pypy-issue] Issue #2860: Tkinter __init__ documentations sometimes missing valid keyword values (pypy/pypy) Message-ID: <20180719033125.24330.60388@celery-worker-111.ash1.bb-inf.net> New issue 2860: Tkinter __init__ documentations sometimes missing valid keyword values https://bitbucket.org/pypy/pypy/issues/2860/tkinter-__init__-documentations-sometimes Creation Elemental: """ Priority: Low Type: Documentation issue Some of the Tkinter documentation is incomplete. I've only checked it on the Listbox so far, but some of the valid keyword arguments are missing. The one I noticed was "disabledforeground" which changes how the foreground color of text when the Listbox is in the disabled state or has a selection mode of none. I've noticed this across multiple versions of python, including Python 2.7 and Python 3.6, both of which accepted "disabledforeground" as a valid keyword without it being in the list shown in the help for Listbox.__init__ I found the disabledforeground keyword argument when looking at the Listbox documentation here: https://www.tcl.tk/man/tcl8.4/TkCmd/listbox.htm """ https://bugs.python.org/issue34154 This is my post that describes the issue for regular python. It also exists in PyPy2, and may exist in PyPy3, although I don't actually use PyPy3 so I don't know. This issue originates from Python itself. From issues-reply at bitbucket.org Fri Jul 20 04:20:49 2018 From: issues-reply at bitbucket.org (tao he) Date: Fri, 20 Jul 2018 08:20:49 +0000 (UTC) Subject: [pypy-issue] Issue #2861: How to ptrace pypy stack (pypy/pypy) Message-ID: <20180720082049.24314.71197@celery-worker-111.ash1.bb-inf.net> New issue 2861: How to ptrace pypy stack https://bitbucket.org/pypy/pypy/issues/2861/how-to-ptrace-pypy-stack tao he: I'm trying to use ptrace to profile pypy program, but i can't get the stack or virtual memory address more than file no. but python has a global variable named _PyThreadState_Current, that can help to extracting the thread state, so i wander if pypy has some method to do this. thanks! From issues-reply at bitbucket.org Fri Jul 20 06:29:30 2018 From: issues-reply at bitbucket.org (SHENGNAN LI) Date: Fri, 20 Jul 2018 10:29:30 +0000 (UTC) Subject: [pypy-issue] Issue #2862: pypy3 can't install Cryptography (pypy/pypy) Message-ID: <20180720102930.19188.38153@celery-worker-111.ash1.bb-inf.net> New issue 2862: pypy3 can't install Cryptography https://bitbucket.org/pypy/pypy/issues/2862/pypy3-cant-install-cryptography SHENGNAN LI: I tried to install Cryptography through: lsn at lsn-Super-Server:~/pypy/pypy3-v6.0.0-linux64/bin$ ./pypy3 -m pip install PyMySQL But, it failed with the comments: Collecting Cryptography Using cached https://files.pythonhosted.org/packages/79/a2/61c8625f96c8582d3053f89368c483ba62e56233d055e58e372f94a393f0/cryptography-2.3.tar.gz Requirement already satisfied: idna>=2.1 in /home/lsn/pypy/pypy3-v6.0.0-linux64/site-packages (from Cryptography) (2.7) Requirement already satisfied: asn1crypto>=0.21.0 in /home/lsn/pypy/pypy3-v6.0.0-linux64/site-packages (from Cryptography) (0.24.0) Requirement already satisfied: six>=1.4.1 in /home/lsn/pypy/pypy3-v6.0.0-linux64/site-packages (from Cryptography) (1.11.0) Requirement already satisfied: cffi!=1.11.3,>=1.7 in /home/lsn/pypy/pypy3-v6.0.0-linux64/lib_pypy (from Cryptography) (1.11.5) Building wheels for collected packages: Cryptography Running setup.py bdist_wheel for Cryptography ... error Complete output from command /home/lsn/pypy/pypy3-v6.0.0-linux64/bin/pypy3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-87db0m7x/Cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-nrbv4zao --python-tag pp360: running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.5 creating build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.5/cryptography creating build/lib.linux-x86_64-3.5/cryptography/hazmat copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat creating build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/x509 creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/mac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl running egg_info writing src/cryptography.egg-info/PKG-INFO writing dependency_links to src/cryptography.egg-info/dependency_links.txt writing requirements to src/cryptography.egg-info/requires.txt writing top-level names to src/cryptography.egg-info/top_level.txt reading manifest file 'src/cryptography.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory 'vectors' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' running build_ext generating cffi module 'build/temp.linux-x86_64-3.5/_padding.c' creating build/temp.linux-x86_64-3.5 generating cffi module 'build/temp.linux-x86_64-3.5/_constant_time.c' generating cffi module 'build/temp.linux-x86_64-3.5/_openssl.c' building '_openssl' extension creating build/temp.linux-x86_64-3.5/build creating build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5 cc -pthread -DNDEBUG -O2 -Qunused-arguments -fPIC -I/home/lsn/pypy/pypy3-v6.0.0-linux64/include -c build/temp.linux-x86_64-3.5/_openssl.c -o build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5/_openssl.o -Wconversion -Wno-error=sign-conversion cc: error: unrecognized command line option ?-Qunused-arguments?; did you mean ?-Wunused-parameter?? error: command 'cc' failed with exit status 1 ---------------------------------------- Failed building wheel for Cryptography Running setup.py clean for Cryptography Failed to build Cryptography Installing collected packages: Cryptography Running setup.py install for Cryptography ... error Complete output from command /home/lsn/pypy/pypy3-v6.0.0-linux64/bin/pypy3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-87db0m7x/Cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-9zd03ixf/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-x86_64-3.5 creating build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.5/cryptography copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.5/cryptography creating build/lib.linux-x86_64-3.5/cryptography/hazmat copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat creating build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.5/cryptography/x509 copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/x509 creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/mac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl running egg_info writing src/cryptography.egg-info/PKG-INFO writing dependency_links to src/cryptography.egg-info/dependency_links.txt writing requirements to src/cryptography.egg-info/requires.txt writing top-level names to src/cryptography.egg-info/top_level.txt reading manifest file 'src/cryptography.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no previously-included files matching '*' found under directory 'vectors' writing manifest file 'src/cryptography.egg-info/SOURCES.txt' running build_ext generating cffi module 'build/temp.linux-x86_64-3.5/_padding.c' creating build/temp.linux-x86_64-3.5 generating cffi module 'build/temp.linux-x86_64-3.5/_constant_time.c' generating cffi module 'build/temp.linux-x86_64-3.5/_openssl.c' building '_openssl' extension creating build/temp.linux-x86_64-3.5/build creating build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5 cc -pthread -DNDEBUG -O2 -Qunused-arguments -fPIC -I/home/lsn/pypy/pypy3-v6.0.0-linux64/include -c build/temp.linux-x86_64-3.5/_openssl.c -o build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5/_openssl.o -Wconversion -Wno-error=sign-conversion cc: error: unrecognized command line option ?-Qunused-arguments?; did you mean ?-Wunused-parameter?? error: command 'cc' failed with exit status 1 ---------------------------------------- Command "/home/lsn/pypy/pypy3-v6.0.0-linux64/bin/pypy3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-87db0m7x/Cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-9zd03ixf/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-87db0m7x/Cryptography/ From issues-reply at bitbucket.org Fri Jul 20 10:44:59 2018 From: issues-reply at bitbucket.org (SHENGNAN LI) Date: Fri, 20 Jul 2018 14:44:59 +0000 (UTC) Subject: [pypy-issue] Issue #2863: failed to install multiprocessing (pypy/pypy) Message-ID: <20180720144459.25452.46004@celery-worker-111.ash1.bb-inf.net> New issue 2863: failed to install multiprocessing https://bitbucket.org/pypy/pypy/issues/2863/failed-to-install-multiprocessing SHENGNAN LI: I tried to install multiprocess like this and failed: lsn at lsn-Super-Server:~/pypy3-v6.0.0-linux64/bin$ ./pip install multiprocessing Collecting multiprocessing Using cached https://files.pythonhosted.org/packages/b8/8a/38187040f36cec8f98968502992dca9b00cc5e88553e01884ba29cbe6aac/multiprocessing-2.6.2.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-osxgr9vl/multiprocessing/setup.py", line 94 print 'Macros:' ^ SyntaxError: Missing parentheses in call to 'print' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-osxgr9vl/multiprocessing/