We are trying to integrate docker-py into openstack requirements.
In order to do this, it needs to be packaged for at least ubuntu and fedora
Here is the review concerned https://review.openstack.org/#/c/76535/
Are there any plans about this ?
Any particular reason why this can't be achieved with this?
# apt-get install python-pip
# pip install docker-py
I think the main reason is to be able to create packages for openstack services, such that when installing, for instance nova, it will directly fetch all packaged dependencies, without having to use pip.
I agree with @julienvey here.
Proper distribution packages should always be preferred to language-specific packager managers, as they act outside the actual package management and just introduce a lot of inconsistencies and unmanaged/dead files.
Agreed. I personally abhor language-specific package maintainers because you end up with a mixed soup of distribution-installed and language-installed packages. But the problem with distribution packages is that it becomes impossible to have multiple versions of the same package installed on the system (hence virtualenvs, etc).
That being said, that's a problem that the user can deal with if they have/want to, and doesn't really prevent us from creating .deb and .rpm packages of docker-py. Do you feel like you'd be able to take a crack at it and send a pull request?
The most difficult part is to then get these packages into the distribution, but in the meantime maybe they can be distributed on `get.docker.io?
This is already done in Debian via python-docker, which I'm working on updating to help out @paultag, but I've run into a snag where the requirements.txt file specifies exact versions (==) of deps instead of >=; is there a good reason for this that someone can point me to?
@tianon : #101
Thanks for the pointer @shin-
https://apps.fedoraproject.org/packages/python-docker-py
http://packages.ubuntu.com/search?keywords=python-docker
Looks like we're all good here.
@tianon
@bfirsh
hi! what about supporting docker package also?
I used python-docker, but just faced with https://github.com/ansible/ansible/issues/42162 , and there are info
docker-py is no longer maintained (last release from November 2016), you should install docker instead
So... after uninstalling python-docker and installing pip install docker it works, but it would be great to install it as deb-package, and not pip-package.
Most helpful comment
I agree with @julienvey here.
Proper distribution packages should always be preferred to language-specific packager managers, as they act outside the actual package management and just introduce a lot of inconsistencies and unmanaged/dead files.