Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.6. #48

Closed
wants to merge 47 commits into from
Closed

Add support for Python 3.6. #48

wants to merge 47 commits into from

Conversation

icemac
Copy link

@icemac icemac commented Apr 5, 2018

This is currently based on #44. (Only the commits after the Merge commitare relevant.)

Closes #38 (as it includes the changes of it.)

This PR requires that the py3 branch of plone.app.testing to run successfully against coredev on Jenkins. See plone/buildout.coredev#480 for a test running both py3 branches.

Michael Howitz and others added 10 commits April 4, 2018 16:57
This implies testing them separately.

TODO:
- remove duplicate code
- bring back z2 for BBB
Reusing the code from wsgi.py in zserver.py, so it can be easily deleted when zserver is no longer supported.
But we use the same names used in zserver.py.
The `WSGIServer` fixture is still to be developed.
[skip ci]
@icemac
Copy link
Author

icemac commented Apr 6, 2018

This PR is ready for review. Only the commits after ae103c3 ("Merge branch 'master' into make-ZServer-optional") are relevant. The previous commits belong to the branch make-ZServer-optional (#44) on which this PR is built on.

loechel and others added 2 commits May 15, 2018 18:20
Without these changes the ZServer layer implicitly uses the Zope app in some
places. This breaks tests later on which run on the Zope layer with the
following traceback:

    Traceback (most recent call last):
      ...
      File ".../plone/testing/zope.py", line 244, in zopeApp
        app = addRequestContainer(Zope2.app(connection), environ=environ)
      File ".../Zope2/__init__.py", line 55, in app
        return bobo_application(*args, **kw)
    TypeError: 'NoneType' object is not callable
@jensens
Copy link
Member

jensens commented Sep 27, 2018

close in favor of #50

@jensens jensens closed this Sep 27, 2018
@icemac icemac deleted the py3 branch September 28, 2018 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants