Re: [Python-Dev] Is this a bug or a feature?

2017-02-17 Thread M.-A. Lemburg
Please report such problems on our bug tracker:

http://bugs.python.org/

In your case, Python doesn't appear to find the (right) libz
shared library, which is a bit odd, but it's better to track this
down on the tracker :-)

On 16.02.2017 21:33, Patrick Wallinger wrote:
> I'm brand new to python and was trying to install the newest version
> (3.6.0) on my ubuntu 16.04.1 but couldn't get it to build error free. I
> tried searching the bugs but didn't see a match for what I am seeing.
> 
> Thanks for any help,
> Patrick
> 
> Here is the report:
> patrick@ubuntu-MacBook:~/Programs/Python-3.6.0$ ./python -m test -v
> test_venv
> == CPython 3.6.0 (default, Feb 16 2017, 13:20:29) [GCC 5.4.0 20160609]
> ==   Linux-4.4.0-62-generic-x86_64-with-debian-stretch-sid little-endian
> ==   hash algorithm: siphash24 64bit
> ==  cwd: /home/patrick/Programs/Python-3.6.0/build/test_python_20536
> ==  encodings: locale=UTF-8, FS=utf-8
> Testing with flags: sys.flags(debug=0, inspect=0, interactive=0,
> optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0,
> ignore_environment=0, verbose=0, bytes_warning=0, quiet=0,
> hash_randomization=1, isolated=0)
> Run tests sequentially
> 0:00:00 [1/1] test_venv
> test_defaults (test.test_venv.BasicTest) ... ok
> test_executable (test.test_venv.BasicTest) ... ok
> test_executable_symlinks (test.test_venv.BasicTest) ... ok
> test_isolation (test.test_venv.BasicTest) ... ok
> test_overwrite_existing (test.test_venv.BasicTest) ... ok
> test_prefixes (test.test_venv.BasicTest) ... ok
> test_prompt (test.test_venv.BasicTest) ... ok
> test_symlinking (test.test_venv.BasicTest) ... ok
> test_unoverwritable_fails (test.test_venv.BasicTest) ... ok
> test_upgrade (test.test_venv.BasicTest) ... ok
> test_devnull (test.test_venv.EnsurePipTest) ... ok
> test_explicit_no_pip (test.test_venv.EnsurePipTest) ... ok
> test_no_pip_by_default (test.test_venv.EnsurePipTest) ... ok
> test_with_pip (test.test_venv.EnsurePipTest) ... FAIL
> 
> ==
> FAIL: test_with_pip (test.test_venv.EnsurePipTest)
> --
> Traceback (most recent call last):
>   File "/home/patrick/Programs/Python-3.6.0/Lib/test/test_venv.py", line
> 372, in test_with_pip
> with_pip=True)
> subprocess.CalledProcessError: Command '['/tmp/tmp51me85og/bin/python',
> '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit
> status 1.
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/home/patrick/Programs/Python-3.6.0/Lib/test/test_venv.py", line
> 378, in test_with_pip
> self.fail(msg.format(exc, details))
> AssertionError: Command '['/tmp/tmp51me85og/bin/python', '-Im',
> 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
> 
> **Subprocess Output**
> Traceback (most recent call last):
>   File "/home/patrick/Programs/Python-3.6.0/Lib/runpy.py", line 193, in
> _run_module_as_main
> "__main__", mod_spec)
>   File "/home/patrick/Programs/Python-3.6.0/Lib/runpy.py", line 85, in
> _run_code
> exec(code, run_globals)
>   File "/home/patrick/Programs/Python-3.6.0/Lib/ensurepip/__main__.py",
> line 4, in 
> ensurepip._main()
>   File "/home/patrick/Programs/Python-3.6.0/Lib/ensurepip/__init__.py",
> line 189, in _main
> default_pip=args.default_pip,
>   File "/home/patrick/Programs/Python-3.6.0/Lib/ensurepip/__init__.py",
> line 102, in bootstrap
> _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
>   File "/home/patrick/Programs/Python-3.6.0/Lib/ensurepip/__init__.py",
> line 27, in _run_pip
> import pip
> zipimport.ZipImportError: can't decompress data; zlib not available
> 
> 
> --
> Ran 14 tests in 1.278s
> 
> FAILED (failures=1)
> test test_venv failed
> test_venv failed
> 
> 1 test failed:
> test_venv
> 
> Total duration: 1 sec
> Tests result: FAILURE
> 
> 
> 
> ___
> Python-Dev mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: 
> https://mail.python.org/mailman/options/python-dev/mal%40egenix.com
> 

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Experts (#1, Feb 17 2017)
>>> Python Projects, Coaching and Consulting ...  http://www.egenix.com/
>>> Python Database Interfaces ...   http://products.egenix.com/
>>> Plone/Zope Database Interfaces ...   http://zope.egenix.com/


::: We implement business ideas - efficiently in both time and costs :::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
   Registered at Amtsgericht Duesseldorf: HRB 46611
   http://

[Python-Dev] Summary of Python tracker Issues

2017-02-17 Thread Python tracker

ACTIVITY SUMMARY (2017-02-10 - 2017-02-17)
Python tracker at http://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.

Issues counts and deltas:
  open5837 (+38)
  closed 35511 (+28)
  total  41348 (+66)

Open issues with patches: 2488 


Issues opened (51)
==

#29442: Use argparse and drop dirty optparse hacks in setup.py
http://bugs.python.org/issue29442  reopened by Chi Hsuan Yen

#29529: Backport Travis configuration
http://bugs.python.org/issue29529  opened by brett.cannon

#29530: Windows buildbots broken by the migration to GitHub (meta issu
http://bugs.python.org/issue29530  opened by haypo

#29532: functools.partial is not compatible between 2.7 and 3.5
http://bugs.python.org/issue29532  opened by naoyuki

#29533: urllib2 works slowly with proxy on windows
http://bugs.python.org/issue29533  opened by juliadolgova

#29535: datetime hash is deterministic in some cases
http://bugs.python.org/issue29535  opened by arigo

#29537: Alternative fix for BUILD_MAP_UNPACK_WITH_CALL opcode in 3.5
http://bugs.python.org/issue29537  opened by serhiy.storchaka

#29539: [smtplib] collect response data for all recipients
http://bugs.python.org/issue29539  opened by David Ford (FirefighterBlu3)

#29540: Add compact=True flag to json.dump/dumps
http://bugs.python.org/issue29540  opened by Alex Gordon

#29541: Python3 error while building on Alt-F
http://bugs.python.org/issue29541  opened by Honza Skýpala

#29545: Python behavioral difference between Linux and AIX
http://bugs.python.org/issue29545  opened by gireeshpunathil

#29546: A more helpful ImportError message
http://bugs.python.org/issue29546  opened by barry

#29547: Add c code coverage to codecov
http://bugs.python.org/issue29547  opened by belopolsky

#29548: Recommend PyObject_Call* APIs over PyEval_Call*() APIs
http://bugs.python.org/issue29548  opened by inada.naoki

#29549: Improve docstring for str.index
http://bugs.python.org/issue29549  opened by rhettinger

#29550: Mac build-installer touch step fails after github conversion
http://bugs.python.org/issue29550  opened by db3l

#29551: unittest: TestSuite.debug() does not like subTest()
http://bugs.python.org/issue29551  opened by wrohdewald

#29553: Argparser does not display closing parentheses in nested mutex
http://bugs.python.org/issue29553  opened by christofsteel

#29554: profile/pstat doc clariification
http://bugs.python.org/issue29554  opened by mbussonn

#29555: Update Python Software Foundation Copyright Year
http://bugs.python.org/issue29555  opened by orsenthil

#29556: Remove unused #include 
http://bugs.python.org/issue29556  opened by Chi Hsuan Yen

#29557: binhex documentation claims unknown bug
http://bugs.python.org/issue29557  opened by David Wilemski

#29558: Provide run_until_complete inside loop
http://bugs.python.org/issue29558  opened by txomon

#29559: Detect mouse over lines on canvas while mouse button is down
http://bugs.python.org/issue29559  opened by Ted Shaneyfelt2

#29560: Turtle graphics fill behavior differs between versions
http://bugs.python.org/issue29560  opened by John Simmons

#29561: Interactive mode gives sys.ps2 not sys.ps1 after comment-only 
http://bugs.python.org/issue29561  opened by JDLH

#29562: test_getgroups of test_posix fails (on OS X 10.10)
http://bugs.python.org/issue29562  opened by JDLH

#29564: ResourceWarning: suggest to enable tracemalloc in the message
http://bugs.python.org/issue29564  opened by David Ford (FirefighterBlu3)

#29565: Still broken ctypes calling convention on MSVC / 64-bit Window
http://bugs.python.org/issue29565  opened by Igor Kudrin

#29566: binhex() creates files with mixed line endings
http://bugs.python.org/issue29566  opened by serhiy.storchaka

#29568: undefined parsing behavior with the old style string formattin
http://bugs.python.org/issue29568  opened by Jerry Dimitrov

#29569: threading.Timer class: Continue periodical execution till acti
http://bugs.python.org/issue29569  opened by slytomcat

#29570: Windows Buildbot 2.7 is broken
http://bugs.python.org/issue29570  opened by haypo

#29571: test_re is failing when local is set for `en_IN`
http://bugs.python.org/issue29571  opened by jaysinh.shukla

#29572: Upgrade installers to OpenSSL 1.0.2k
http://bugs.python.org/issue29572  opened by zach.ware

#29573: NamedTemporaryFile with delete=True should not fail if file al
http://bugs.python.org/issue29573  opened by richardxia

#29574: python-3.6.0.tgz permissions borked
http://bugs.python.org/issue29574  opened by Dave_Anderson

#29575: doc 17.2.1: basic Pool example is too basic
http://bugs.python.org/issue29575  opened by j5w6

#29577: Enum: mixin classes don't mix well with already mixed Enums
http://bugs.python.org/issue29577  opened by ethan.furman

#29579: Windows Python 3.7 installer broken by README.txt renamed to R
http://bugs.python.org/issue29579  opened by haypo

#29580: "Built-in Functions" not being functi