owncloud / pyocclient

ownCloud client library for Python
MIT License
295 stars 115 forks source link

PIP can't see the version 0.5 #243

Closed feelwhy closed 4 years ago

feelwhy commented 4 years ago

Not sure that I should add it here. However, it seems that pip can't see the version 0.5 and it is necessary to install directly from git.

alex@feelwhy:~$ pip3 install pyocclient==0.5 --upgrade Collecting pyocclient==0.5 Could not find a version that satisfies the requirement pyocclient==0.5 (from versions: 0.1, 0.2, 0.3, 0.4) No matching distribution found for pyocclient==0.5

alex@feelwhy:~$ pip install pyocclient==0.5 --upgrade Collecting pyocclient==0.5 Could not find a version that satisfies the requirement pyocclient==0.5 (from versions: 0.1, 0.2, 0.3, 0.4) No matching distribution found for pyocclient==0.5

PVince81 commented 4 years ago

mine sees it for pip:

% pip search pyocclient
pyocclient (0.5)  - Python client library for ownCloud

but not pip3.

next time I'll try to publish for pip3 as well

feelwhy commented 4 years ago

Okay, thank you!

EricPobot commented 4 years ago

pip search finds the 0.5 version, but pip install does not:

$ pip search pyocclient
pyocclient (0.5)  - Python client library for ownCloud
  INSTALLED: 0.4
  LATEST:    0.5
$ pip install pyocclient==0.5
ERROR: Could not find a version that satisfies the requirement pyocclient==0.5 (from versions: 0.1, 0.2, 0.3, 0.4)
ERROR: No matching distribution found for pyocclient==0.5
$ pip install "pyocclient>0.4" 
ERROR: Could not find a version that satisfies the requirement pyocclient>0.4 (from versions: 0.1, 0.2, 0.3, 0.4)
ERROR: No matching distribution found for pyocclient>0.4
$ pip --version
pip 20.1.1 from /home/pascual/.pyenv/versions/3.8.2/envs/edms-nextcloud/lib/python3.8/site-packages/pip (python 3.8)
$ python --version
Python 3.8.2
gizmo84 commented 4 years ago

Same here 👍

machalejm commented 4 years ago

pip3 checking in :(

PVince81 commented 4 years ago

I've pushed a 0.6 release just now, can you try again ?

image

I wonder if it's also related to your local Python version ?

Locally I have Python 3.8

PVince81 commented 4 years ago

I noticed that sometimes pip doesn't install the latest version, so you need to use pip3 install --upgrade pyocclient to force it to upgrade. From https://stackoverflow.com/questions/14617136/why-is-pip-installing-an-old-version-of-my-package

Please reopen if the problem persists