Skip to content

python3 compatibility - #193

Closed
Jon Kaczynski (jon-ga) wants to merge 1 commit into
snowplow:masterfrom
generalassembly:bugfix/python3-compatibility
Closed

python3 compatibility#193
Jon Kaczynski (jon-ga) wants to merge 1 commit into
snowplow:masterfrom
generalassembly:bugfix/python3-compatibility

Conversation

@jon-ga

Copy link
Copy Markdown

While the package is being tested against python 3.3, 3.4, and 3.5
upstream, it seems that the hard dependency on "gevent==1.0.2"
results in an install failure under Python 3.5.1.

Traceback (most recent call last):
...
  File "/private/var/folders/r_/y0nsq9k54tn0rpgh62m6t4_40000gn/T/pip-build-pi5tyo08/gevent/setup.py", line 111, in make_universal_header
    print >>f, line
TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'

Upgrading to a 1.1.x release of gevent, which appears to include
python3 support.

While the package is being tested against python 3.3, 3.4, and 3.5
upstream, it seems that the hard dependency on "gevent==1.0.2"
results in an install failure under Python 3.5.1.

    Traceback (most recent call last):
    ...
      File "/private/var/folders/r_/y0nsq9k54tn0rpgh62m6t4_40000gn/T/pip-build-pi5tyo08/gevent/setup.py", line 111, in make_universal_header
        print >>f, line
    TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'

Upgrading to a 1.1.x release of gevent, which appears to include
python3 support.
- http://www.gevent.org/whatsnew_1_0.html
- http://www.gevent.org/whatsnew_1_1.html
@coveralls

Coveralls (coveralls) commented May 11, 2017

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 80.738% when pulling f195163 on generalassembly:bugfix/python3-compatibility into 91da00a on snowplow:master.

@snowplowcla

Copy link
Copy Markdown

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://github.com/snowplow/snowplow/wiki/CLA to learn more and sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

@BenFradet Ben Fradet (BenFradet) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please sign the CLA so this can be merged

@alexanderdean

Copy link
Copy Markdown
Member

No CLA, closing in favor of #200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants