miketeo/pysmb

Unable to install the latest version of pysmb(1.2.9)

ShrddhaRana opened this issue · 7 comments

With the version bump, the installation of pysmb is failing

It is unable to find a version with name 1.2.9, I see a version with 1.2.9post1

image

@ShrddhaRana I'm afraid I can't reproduce your error. (The build in the screenshot is a known issue as pysmb does not support wheel builds). I'm not sure why you see a 1.2.9.post1 release; I have verified that there is a 1.2.9 version release on pypi.

image

image

pip version
image

python version
image

Success: install pysmb==1.2.7
image

Warning(Fail): install pysmb: will install 1.2.8 because of metadata mismatch
image

Success: --use-deprecated=legacy-resolver

image

@miketeo with the latest release it seems there is some metadata mismatch.

Also, package version is 1.2.9-1(instead of 1.2.9): https://pypi.org/simple/pysmb/

I am facing the same issue, both on my laptop and a GitLab CI pipeline.

Indeed it seems to be a metadata mismatch in PyPI:

image

Additional logs


(venv1) C:\Workspace\experiments>python -m pip install pysmb==1.2.9 --upgrade --no-cache-dir --use-deprecated=legacy-resolver
ERROR: Could not find a version that satisfies the requirement pysmb==1.2.9 (from versions: 1.0.0a0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10, 1.1.11, 1.1.12, 1.1.13, 1.1.14, 1.1.15, 1.1.16, 1.1.17, 1.1.18, 1.1.19, 1.1.20, 1.1.21, 1.1.22, 1.1.23, 1.1.24, 1.1.25, 1.1.26, 1.1.27, 1.1.28, 1.1.29, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9.post1)
ERROR: No matching distribution found for pysmb==1.2.9


(venv1) C:\Workspace\experiments>python -m pip install pysmb==1.2.9.post1 --upgrade --no-cache-dir --use-deprecated=legacy-resolver
Collecting pysmb==1.2.9.post1
Downloading pysmb-1.2.9-1.zip (1.4 MB)
---------------------------------------- 1.4/1.4 MB 12.3 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
WARNING: Requested pysmb==1.2.9.post1 from https://files.pythonhosted.org/packages/df/a4/3febcfdd6f1289246fc6bc034942df5c4df60e9ba9cb54f2a3bd79fd45ed/pysmb-1.2.9-1.zip, but installing version 1.2.9
Requirement already satisfied, skipping upgrade: pyasn1 in c:\workspace\experiments\venv1\lib\site-packages (from pysmb==1.2.9.post1) (0.4.8)
Requirement already satisfied, skipping upgrade: tqdm in c:\workspace\experiments\venv1\lib\site-packages (from pysmb==1.2.9.post1) (4.64.1)
Requirement already satisfied, skipping upgrade: colorama; platform_system == "Windows" in c:\workspace\experiments\venv1\lib\site-packages (from tqdm->pysmb==1.2.9.post1) (0.4.6)
Building wheels for collected packages: pysmb
Building wheel for pysmb (setup.py) ... done
Created wheel for pysmb: filename=pysmb-1.2.9-py3-none-any.whl size=84794 sha256=14f6d237d14becb8f7d1789ac9767e767dda2e3c3ea66a8b5807dd0d9806a293
Stored in directory: C:\Users\sgrandhi\AppData\Local\Temp\pip-ephem-wheel-cache-in86uqlj\wheels\eb\69\1b\f37845a3a6a36ac8cb62dc918ee49ea888a698aa22f85bc0b0
Successfully built pysmb
Installing collected packages: pysmb
Successfully installed pysmb-1.2.9


Hi, all. I have generated another release 1.2.9.1 on PyPI to fix this issue.

1.2.9.1 is working now

(venv1) C:\Workspace\experiments>python -m pip install pysmb==1.2.9.1
Collecting pysmb==1.2.9.1
Downloading pysmb-1.2.9.1.zip (1.4 MB)
---------------------------------------- 1.4/1.4 MB 4.3 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Requirement already satisfied: pyasn1 in c:\workspace\experiments\venv1\lib\site-packages (from pysmb==1.2.9.1) (0.4.8)
Requirement already satisfied: tqdm in c:\workspace\experiments\venv1\lib\site-packages (from pysmb==1.2.9.1) (4.64.1)
Requirement already satisfied: colorama in c:\workspace\experiments\venv1\lib\site-packages (from tqdm->pysmb==1.2.9.1) (0.4.6)
Building wheels for collected packages: pysmb
Building wheel for pysmb (setup.py) ... done
Created wheel for pysmb: filename=pysmb-1.2.9.1-py3-none-any.whl size=84814 sha256=68c43eb2d8fb0843f9f8105b15ad39d56aa95f657a19a49bb528b817ca29e883
Stored in directory: c:\users\sgrandhi\appdata\local\pip\cache\wheels\8a\53\dc\e98534c8d9720839fd38dc3ae189416feeb231557f190179d1
Successfully built pysmb
Installing collected packages: pysmb
Successfully installed pysmb-1.2.9.1

Thanks for informing me. I will close this issue now.
Wish everyone a great year ahead.