Giter Site home page Giter Site logo

[FEATURE] Support python 3.x about modeldb HOT 21 CLOSED

vertaai avatar vertaai commented on June 23, 2024 4
[FEATURE] Support python 3.x

from modeldb.

Comments (21)

arsenyinfo avatar arsenyinfo commented on June 23, 2024 1

Hi guys, are there new estimations when the py3 branch will be merged? Can I help with something? I'd really love to use the tool, but py2 is kind of medieval lang ;(

from modeldb.

RogerTangos avatar RogerTangos commented on June 23, 2024

Hey @eyadsibai - I'm taking a look at this.

from modeldb.

eyadsibai avatar eyadsibai commented on June 23, 2024

Thanks a lot

from modeldb.

RogerTangos avatar RogerTangos commented on June 23, 2024

Hey @eyadsibai - could you checkout RogerTangos/python3 and see if it works for you? It's working locally on my machine, but failing the CI tests.

from modeldb.

eyadsibai avatar eyadsibai commented on June 23, 2024

Sure I will get back to you in 15 hours. @RogerTangos

from modeldb.

eyadsibai avatar eyadsibai commented on June 23, 2024

regarding the CI tests failing.
the thrift package doesn't support python 3.x it seems
may be you should switch to this one instead https://github.com/eleme/thriftpy

from modeldb.

eyadsibai avatar eyadsibai commented on June 23, 2024

Is there a reason why you have chosen mongodb instead of something simpler like sqlite?

from modeldb.

RogerTangos avatar RogerTangos commented on June 23, 2024

Oh, I see. Thrift 0.10.0 is supports python 3, but not thrift 0.9.3. I'll have to update the documentation.
https://pypi.python.org/pypi/thrift/0.10.0
https://pypi.python.org/pypi/thrift/0.9.3

from modeldb.

RogerTangos avatar RogerTangos commented on June 23, 2024

There's some discussion of dropping one or the other database. At the moment, we're planning on migrating as much as possible out of sqlite and into mongodb. If it's a big concern though, it'd be worth chiming in on #221

from modeldb.

eyadsibai avatar eyadsibai commented on June 23, 2024

Hi @RogerTangos ... Is there an update for python 3 support?

from modeldb.

mpvartak avatar mpvartak commented on June 23, 2024

hey @eyadsibai, the RogerTangos/Python3 works with Python3. We haven't merged it in b/c of intermittent Travis failures that we're looking into. You can give it a spin though!

from modeldb.

idanh avatar idanh commented on June 23, 2024

Hey, any updates on when Python3 branch will be merged? Thanks!

from modeldb.

mpvartak avatar mpvartak commented on June 23, 2024

@justinanderson

from modeldb.

justinanderson avatar justinanderson commented on June 23, 2024

@idanh I expect to have the Python 3 branch merged in the next few days. It's marked as MRG, but it still needs some work.

from modeldb.

idanh avatar idanh commented on June 23, 2024

@justinanderson sounds great, looking forward to it. Thanks!

from modeldb.

idanh avatar idanh commented on June 23, 2024

@justinanderson I'd also be happy to help out if thats what it takes to get it merged soon.

from modeldb.

justinanderson avatar justinanderson commented on June 23, 2024

I'm not 100%, but I think I've resolved all of the remaining Python 2/3 issues in the PR.

If anyone wants to test this without checking out the code, I've uploaded a test distribution to PyPi. You can install it with:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple modeldb

from modeldb.

idanh avatar idanh commented on June 23, 2024

@justinanderson , I'll give it a go and update here. Thank you!

from modeldb.

arsenyinfo avatar arsenyinfo commented on June 23, 2024

@justinanderson i tried a little - works perfectly for me. Would you please upload the package to the main PyPI?

from modeldb.

mpvartak avatar mpvartak commented on June 23, 2024

This branch is merged in. @justinanderson would you mind updating the mdb version on pip? thanks!

from modeldb.

justinanderson avatar justinanderson commented on June 23, 2024

@mpvartak That should be all set now.

from modeldb.

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.