CadQuery / ocp-build-system

A system to build Python wheel PyPI packages for OCP.
Apache License 2.0
8 stars 11 forks source link

version 7.7.2 on pypi not being found for linux #24

Closed shimwell closed 6 months ago

shimwell commented 6 months ago

Hi all

I've been trying to install cadquery-ocp 7.7.2 with pip on a regular ubuntu machine and not being able to install version 7.7.2 even though I can see 7.7.2 in the releases on pypi and on this repo releases.

in a python 3.12 environment no versions are found Screenshot from 2024-03-13 22-12-53

in a python 3.11 environment 7.7.0 and 7.7.0a versions are found Screenshot from 2024-03-13 22-13-53

in a python 3.10 environment several older versions are found but not 7.7.2 Screenshot from 2024-03-13 22-15-11

I've also tried installing the wheels directly from the repo releases and from pypi urls

pip install from repo release wheel url in python 3.12 env Screenshot from 2024-03-13 22-18-07

pip install from pypi release wheel url in python 3.12 env Screenshot from 2024-03-13 22-19-42

I've also tried with the --pre comand for pip but no luck.

Am I doing something wrong or is the 7.7.2 release somehow different to the 7.7.0 release?

Many thanks

jmwright commented 6 months ago

@shimwell That laptop is not ARM based, is it? Also, make sure pip is updated:

pip install --upgrade pip
shimwell commented 6 months ago

Sorry I should have mentioned I'm on the newest pip version 24.0 and it is a normal x86 cpu (not arm).

shimwell commented 6 months ago

Ah it just worked in a docker image (Ubuntu:latest 22.04) so it must be something on my local setup.

Could it be my local version of Ubuntu (20.04) is too old

shimwell commented 6 months ago

I've not updated my OS to Ubuntu 22.04 and everything is installing nicely. I shall close this issue and I think it is safe to assume user error or local environment issues