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

GitHub noreply at github.com
Tue Oct 23 15:16:05 CEST 2018


  Branch: refs/heads/re-379-revert-repr
  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: 02d453e8221b7b1c5e3adf3ce5a1298d0a09bc28
      https://github.com/zopefoundation/Zope/commit/02d453e8221b7b1c5e3adf3ce5a1298d0a09bc28
  Author: Michael Howitz <mh at gocept.com>
  Date:   2018-10-23 (Tue, 23 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M buildout.cfg
    M constraints.txt
    M requirements-full.txt
    M setup.py
    M src/Zope2/utilities/tests/test_zconsole.py
    M versions-prod.cfg
    M versions.cfg

  Log Message:
  -----------
  Update dependencies to newest versions. (#386)

* Fix tests by using the appropriate ZODB extra.

* Fix test after update to persistent >= 4.4.3.

See #385.


  Commit: d1bd38486a8ba987037e26a0d097eb23fd82e07e
      https://github.com/zopefoundation/Zope/commit/d1bd38486a8ba987037e26a0d097eb23fd82e07e
  Author: Steffen Allner <sa at gocept.com>
  Date:   2018-10-23 (Tue, 23 Oct 2018)

  Changed paths:
    M CHANGES.rst
    M buildout.cfg
    M constraints.txt
    M requirements-full.txt
    M setup.py
    M src/Zope2/utilities/mkwsgiinstance.py
    M tox.ini
    M versions-prod.cfg
    M versions.cfg

  Log Message:
  -----------
  Merge branch 'master' into re-379-revert-repr


Compare: https://github.com/zopefoundation/Zope/compare/98a8595b8e68...d1bd38486a8b
      **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