Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] unable to install onnxsim 0.4.34/0.4.35 from pypi #316

Open
FelixSchwarz opened this issue Nov 23, 2023 · 5 comments
Open

[BUG] unable to install onnxsim 0.4.34/0.4.35 from pypi #316

FelixSchwarz opened this issue Nov 23, 2023 · 5 comments

Comments

@FelixSchwarz
Copy link

pip complains about inconsistent version/metadata:

Discarding https://files.pythonhosted.org/…/onnxsim-0.4.35.tar.gz (from https://pypi.org/simple/onnxsim/) (requires-python:>=3.7): Requested onnxsim from https://files.pythonhosted.org/packages/…/onnxsim-0.4.35.tar.gz has inconsistent version: expected '0.4.35', but metadata has '0.4.33'

full output:

$ ./venv.py312/bin/pip install onnxsim
Collecting onnxsim
  Downloading onnxsim-0.4.35.tar.gz (20.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.1/20.1 MB 10.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/71/ce/d566d1c22fbf40c5b70dbd2e032996deeeeb450c631dff231e0f40941f6b/onnxsim-0.4.35.tar.gz (from https://pypi.org/simple/onnxsim/) (requires-python:>=3.7): Requested onnxsim from https://files.pythonhosted.org/packages/71/ce/d566d1c22fbf40c5b70dbd2e032996deeeeb450c631dff231e0f40941f6b/onnxsim-0.4.35.tar.gz has inconsistent version: expected '0.4.35', but metadata has '0.4.33'
  Downloading onnxsim-0.4.34.tar.gz (20.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.1/20.1 MB 10.8 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/c3/0a/12efe0c933b3a16d2ade1dd2409dcb0ff3310a436137cc975bee670011bc/onnxsim-0.4.34.tar.gz (from https://pypi.org/simple/onnxsim/) (requires-python:>=3.7): Requested onnxsim from https://files.pythonhosted.org/packages/c3/0a/12efe0c933b3a16d2ade1dd2409dcb0ff3310a436137cc975bee670011bc/onnxsim-0.4.34.tar.gz has inconsistent version: expected '0.4.34', but metadata has '0.4.33'
  Downloading onnxsim-0.4.33.tar.gz (20.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.1/20.1 MB 10.8 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
$ ./venv.py312/bin/pip --version
pip 23.2.1 from …/venv.py312/lib64/python3.12/site-packages/pip (python 3.12)
@lunacodes
Copy link

lunacodes commented Jan 3, 2024

Also having this issue on Win 11 w/ git bash, python 3.12 and pip 23.3.2 (The error messages look the same as the ones above, so not copy/pasting here)

@moorejee
Copy link

moorejee commented Jan 4, 2024

I meet same problem in docker environment.

@desertkun
Copy link

That's because this package declares version 0.4.33 even though it is deployed as 0.4.35

https://files.pythonhosted.org/packages/71/ce/d566d1c22fbf40c5b70dbd2e032996deeeeb450c631dff231e0f40941f6b/onnxsim-0.4.35.tar.gz has inconsistent version: expected '0.4.35', but metadata has '0.4.33'

@yan12125
Copy link

It seems https://github.com/daquexian/onnx-simplifier/blob/master/VERSION needs an update

@yan12125
Copy link

It seems https://github.com/daquexian/onnx-simplifier/blob/master/VERSION needs an update

That file is updated and 0.4.36 now works 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants