-
Notifications
You must be signed in to change notification settings - Fork 549
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
Problem installing 2.3 as dependency from setup.py #51
Comments
Very interesting. As far as I can see, this only occurs when using TinyDB as a dependency in Anyways, I just published v2.3.1 which you should be able to depend on without problems (as long as you don't use Can you confirm that this is fixed? |
Not for my friend, unfortunately:
Thanks for taking a look. |
Okay, strange. Could you post the contents of the |
https://github.com/robclewley/fovea/blob/master/setup.py But my friend updated it to request >=2.3 instead, as you suggested, and it still didn't work. What exactly did you change to address the problem? Because your setup.py looked the same as before. |
Yeah, I suspected that the problem is with the PyPI package and thus uploaded a new version there, which solved it for a test case I had constructed. I'm currently trying to reconstruct what |
That's unfortunate! Please follow up if you find out more or have a fix. I'll be happy to help test. Is it worth inquiring on the python mailing list? You have a valuable tool here and I want to depend on it :) I'm writing a blog post right now that utilizes it (well, indirectly for now, but it will get center stage at a later date), and it would be awesome if any interested readers can install my package from github and have them automatically get hold of the dependencies. But I can alert them to maybe needing to |
I went deeper down the rabbit hole and found two things:
|
Cool. I'm on OS X and I strongly suspect my colleague is too. I don't know what version he's running but I've been testing my code with 10.6.8. I could try testing a fresh install of my package on a windows machine this week. |
Okay, I think I got it now. The reason the I've now uploaded version 2.3.1.post2 to PyPI which installed fine on my Windows machine. Can you confirm this? |
For the sake of completeness: my |
@msiemens as an aside, slightly off topic but didn't the Python community deem using setuptools/distutils in a setup script as deprecated? |
@eugene-eeo As far as I know setuptools is still the standard, see for example http://stackoverflow.com/q/25337706/997063 |
Yes, it works now, thank you! And yes, setuptools is still the standard. |
Unable to install package via setuptools, e.g. `python setup.py install` because of bad tinydb distribution (as per msiemens/tinydb#51). Small workaround for this issue.
My colleague had this problem today, trying to install through pip. My package, that he's trying to install, and which depends on tinydb, has the
setup.py
requirement for tinydb>=2.2. Are we missing something silly here or is there a problem with the uploaded 2.3 version to pip? Thanks!The text was updated successfully, but these errors were encountered: