Giter Club home page Giter Club logo

Comments (8)

coffeemug avatar coffeemug commented on June 22, 2024

Thanks @rockymeza. @wmrowan -- what's the state of affairs with this? I was under the impression that this was fixed (which is why we updated the docs to remove protobuf).

from rethinkdb.

wmrowan avatar wmrowan commented on June 22, 2024

@coffeemug It's been fixed manually on PyPI so anyone downloading the driver using pip should not have this problem. I tried changing the requires option to install_requires but when I re-uploaded the package the pypi web ui did not list the dependency. I will get to the bottom of this.

from rethinkdb.

wmrowan avatar wmrowan commented on June 22, 2024

I switched to setuptools and added the install_requires argument. Running sdist correctly creates a requires.txt file with the protobuf dependency listed. I also added the "register" command to the "sdist" and "upload" commands we're already running. This supposedly uploads metadata like required packages to PyPI yet when I check the PyPI web UI after uploading the dependency is not listed.

@rockymeza Do you have any more insight? I'm far from an expert on python packaging and the documentation doesn't seem to be very good.

from rethinkdb.

rockymeza avatar rockymeza commented on June 22, 2024

It looks fine to me http://pypi.python.org/pypi/rethinkdb/1.2.6-0. I installed using pip and it worked.

from rethinkdb.

coffeemug avatar coffeemug commented on June 22, 2024

Cool, thanks @rockymeza

from rethinkdb.

wmrowan avatar wmrowan commented on June 22, 2024

I've been manually adding the protobuf dependency through the PyPI web ui to prevent installation issues. While this short term fix works for now I still want to figure this out.

from rethinkdb.

rockymeza avatar rockymeza commented on June 22, 2024

@wmrowan I don't know if you've come accross this, but it might be helpful.

http://guide.python-distribute.org/

from rethinkdb.

wmrowan avatar wmrowan commented on June 22, 2024

@rockymeza You were right all along. Even though the PyPI page does not list the protobuf dependency it installs successfully without it when I use setuptools. Thanks for your help!

from rethinkdb.

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.