EugenMayer/docker-sync

Python's pip3-install installs old version of docker-sync, unable to upgrade

pnbecker opened this issue · 11 comments

Error/Feature Requestion/Docs

If you install docker-sync using pip-install in version 3, on many systems docker-sync in version 0.0.11 will be installed. Upgrades using pip-install fails. If you install docker-sync using pip-install in version 2 (python 2) the newest version will be installed.

Docker Driver

Docker for Desktop Mac, docker on ubuntu

Sync strategy

does not apply to the problem

your docker-sync.yml

does not apply to the problem

OS

mac OS Big Sur, Ubuntu 20.04

Many more information can be found in #762, https://stackoverflow.com/questions/66571964/hombrews-gem-installs-old-version-of-a-ruby-gem and https://stackoverflow.com/questions/66571964/hombrews-gem-installs-old-version-of-a-ruby-gem.

@EugenMayer was this just closed or handled somehow?

@pnbecker there is no effort since 7 months to fix this, so i assume it is neither critical enough nor painful enough to get solved.

Closed this issue simply because it is open way to long without any progress, sorry

@EugenMayer While I understand this, I'm afraid you're the only who can fix this. I expect a problem in the provisioning of the versions and not in the code. And I guess you're the only one having access to that.

@pnbecker what are you suggesting i could do? unpublish the version or what would be your idea.

If there is something i only can do, i'am def. willing to try that. Not wanting to be a blocker

I'm more a java guy. We use Sonatype to provide software versions. I don't know how pip work exactly. But there must be a reason, that the old version of docker-sync gets precedence before the newer version. Are there any settings? Is there any kind of version pinning? What do you use to provide python packages?

I do not think this is python related, it is ruby related. If you use ruby3, there is no docker-sync compatible release except the very old one, which did not properly define the ruby version constrain

releases like 0.0.4 are not bound to any upper ruby version, I somehow need to republish them

Anything newer then https://rubygems.org/gems/docker-sync/versions/0.0.15 has no ruby version upper limit, so if someone uses ruby 3.0, which docker-sync is not compatible with, the person gets 0.0.15

@EugenMayer Great that you found that! Thank you!

will be fixed by #795

close since #795 has been fixed