Coder Social home page Coder Social logo

Add support for Python 3 about quip HOT 12 CLOSED

libatoms avatar libatoms commented on July 19, 2024
Add support for Python 3

from quip.

Comments (12)

jameskermode avatar jameskermode commented on July 19, 2024 1

Fair point. Contributions welcome to the hackathon-f90wrap branch... :-)

from quip.

jameskermode avatar jameskermode commented on July 19, 2024

I absolutely agree in principal and this has been an ambition of mine for the last couple of years but I just haven't got around to it. f90wrap is indeed Python 3 compliant. The version used with QUIP predates the rewrite that led to f90wrap so there will no doubt be some pain along the way.

Volunteers certainly encouraged, or maybe we can schedule a hackathon in Cambridge for a day or two and get it done? First week in April could work for me, or early May.

from quip.

max-veit avatar max-veit commented on July 19, 2024

from quip.

max-veit avatar max-veit commented on July 19, 2024

from quip.

max-veit avatar max-veit commented on July 19, 2024

Also, #28 has been particularly irksome, especially with the unicode future import.

And since Markdown apparently isn't supported in email replies, here is the correct (and prettily formatted) list of future imports to consider:

from __future__ import division, print_function, unicode_literals, absolute_import

from quip.

tdaff avatar tdaff commented on July 19, 2024

Agree that hackathon would be a good way to get over the hump. Early April or May work, but I am pretty much always free.

Python 2.6 has been removed from the testing now so the feel free to modernise any code that you happen to be editing with the __future__ imports.

from quip.

jameskermode avatar jameskermode commented on July 19, 2024

Here's a doodle poll based on dates I can make: http://doodle.com/poll/cst3t84a27fqws8b

Once core participants have signed up I'll send an email to quip-users too.

from quip.

max-veit avatar max-veit commented on July 19, 2024

The hackathon would also be a good time to look at static checking tools and test coverage, cf #29

from quip.

tdaff avatar tdaff commented on July 19, 2024

Newest Ubuntu release: https://wiki.ubuntu.com/ArtfulAardvark/ReleaseNotes

Python 2 is no longer installed by default. Python 3 has been updated to 3.6.

from quip.

alvarovm avatar alvarovm commented on July 19, 2024

Hi, I wonder what is the status of Python 3 support.
It is seems that quippy still is building with python2.7, despite that I am building with python 3 loaded in my environment.
After 'import quippy' I get an error like the follow:
/home/vama/soft/python-tests/quippylib/lib/python2.7/site-packages/quippy/_quippy.so: undefined symbol: PyCObject_Type

Is there any known solution for this?

from quip.

jameskermode avatar jameskermode commented on July 19, 2024

Quippy doesn’t work with Python 3 yet. This is a big job but I hope to get it sorted this summer.

from quip.

jameskermode avatar jameskermode commented on July 19, 2024

Closing :-)

from quip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.