-
Notifications
You must be signed in to change notification settings - Fork 303
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
No matching distribution found for django-tastypie==0.12.2dev0 #4752
Comments
Hi @benjaoming and @cpauya I found out some hints in this issue. It was successfully installed if I used pip install in my virtualenv. Collecting django-tastypie-0.12.2dev0 from https://github.com/django-tastypie/django-tastypie/archive/e6bc34bea83d53552c7fc9dfa696ed7693fe22ab.zip#egg=django-tastypie-0.12.2dev0 (from -r requirements.txt (line 18))
Downloading https://github.com/django-tastypie/django-tastypie/archive/e6bc34bea83d53552c7fc9dfa696ed7693fe22ab.zip (329kB)
100% |████████████████████████████████| 331kB 471kB/s When I try to get the output and write it on the python setup.py sdist --formats=gztar,zip --static
>>>>>>> DIST_REQUIREMENTS: [u'docopt>=0.6,<0.7', u'South==1.0.2', u'django-js-reverse==0.5.0', u'ply==3.4', u'slimit==0.8.1', u'six==1.9.0', u'django-appconf==1.0.1', u'peewee==2.6.3', u'python-dateutil==2.4.2', u'django-dbbackup==2.3.2', u'django-annoying==0.8.4', u'cherrypy==3.2.2', u'ifcfg==0.9.2', u'importlib==1.0.3', u'pbkdf2==1.3', u'rsa==3.1.1', u'youtube-dl==2015.11.24', u'django-tastypie==0.12.2dev0']
>>>>>>> DEPENDENCY_LINKS: [u'https://github.com/django-tastypie/django-tastypie/archive/e6bc34bea83d53552c7fc9dfa696ed7693fe22ab.zip#egg=django-tastypie-0.12.2dev0']
This is a static build... invoking pip to put static dependencies in dist-packages/
No handlers could be found for logger "pip.index"
Traceback (most recent call last):
File "setup.py", line 311, in <module>
install_distributions(STATIC_REQUIREMENTS)
File "setup.py", line 305, in install_distributions
command.run(opts, distributions)
File "/Users/echoair/.virtualenvs/kalite_dist/lib/python2.7/site-packages/pip/commands/install.py", line 305, in run
wb.build(autobuilding=True)
File "/Users/echoair/.virtualenvs/kalite_dist/lib/python2.7/site-packages/pip/wheel.py", line 705, in build
self.requirement_set.prepare_files(self.finder)
File "/Users/echoair/.virtualenvs/kalite_dist/lib/python2.7/site-packages/pip/req/req_set.py", line 334, in prepare_files
functools.partial(self._prepare_file, finder))
File "/Users/echoair/.virtualenvs/kalite_dist/lib/python2.7/site-packages/pip/req/req_set.py", line 321, in _walk_req_to_install
more_reqs = handler(req_to_install)
File "/Users/echoair/.virtualenvs/kalite_dist/lib/python2.7/site-packages/pip/req/req_set.py", line 461, in _prepare_file
req_to_install.populate_link(finder, self.upgrade)
File "/Users/echoair/.virtualenvs/kalite_dist/lib/python2.7/site-packages/pip/req/req_install.py", line 250, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/Users/echoair/.virtualenvs/kalite_dist/lib/python2.7/site-packages/pip/index.py", line 571, in find_requirement
'No matching distribution found for %s' % req
pip.exceptions.DistributionNotFound: No matching distribution found for django-tastypie==0.12.2dev0
make: *** [dist] Error 1 |
Annoying, sorry about that. There's some more background on the choice in #3825 and #4689 -- the issue is that the releases of tastypie aren't working with django 1.5, only the current master is. I'll work out why it fails. But you know, |
Accepting the blame for this :) |
Thanks for the heads up sir. I will try what you suggested :) |
Hi @benjaoming any updates on this? |
Note, this also affects |
Apparently pip ignores the dependency links so the latest master of tastypie is not installed. Fix for editable install:
Will see how we can fix this, clearly it's not nice to have to enforce such a quirk. |
Fix for #4752 until current tastypie master is released
Branch:
develop
Current behavior: When running
make dist
command it will spawn this error:The build server on OS X installer will fail because of this error.
/cc: @benjaoming
The text was updated successfully, but these errors were encountered: