[Checkins] [zopefoundation/Zope] 8ebdbd: Fix bin/mkwsgiinstance on Python 3 (#371)

GitHub noreply at github.com
Tue Oct 23 13:28:36 CEST 2018


  Branch: refs/heads/fix-385
  Home:   https://github.com/zopefoundation/Zope
  Commit: 8ebdbdf5d5791308f9c44985f211ca0ca5d8f89e
      https://github.com/zopefoundation/Zope/commit/8ebdbdf5d5791308f9c44985f211ca0ca5d8f89e
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-10-23 (Tue, 23 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M src/Zope2/utilities/mkwsgiinstance.py

  Log Message:
  -----------
  Fix bin/mkwsgiinstance on Python 3 (#371)

When Zope was installed via `pip` an error occurs later on because the path
returned by `get_zope2path` is bytes but text is expected.

In Python 3.7+ there is an alias for `universal_newlines=True` which is
`text=True`. See https://docs.python.org/3.8/library/subprocess.html#subprocess.check_output


  Commit: 8ee7163396b9e19775760d09233ae77f783cff25
      https://github.com/zopefoundation/Zope/commit/8ee7163396b9e19775760d09233ae77f783cff25
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-10-23 (Tue, 23 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M tox.ini

  Log Message:
  -----------
  Install the `ipaddress` package only on Python 2.7. (#370)

It is part of the stdlib in Python 3.

And use only minimum versions in tox.ini.


  Commit: 38a2557bb774feebc5a4749d700315ebd4491cc5
      https://github.com/zopefoundation/Zope/commit/38a2557bb774feebc5a4749d700315ebd4491cc5
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-10-23 (Tue, 23 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M src/Zope2/utilities/mkwsgiinstance.py
    M tox.ini

  Log Message:
  -----------
  Merge branch 'master' into fix-385


Compare: https://github.com/zopefoundation/Zope/compare/6fb4e7435665...38a2557bb774
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list