Open abyszuk opened 3 months ago
Works for me. Try 3.25.0
Standard programmer response :-D
No, it doesn't work either.
The only thing that works is pip3 install --force-reinstall vsg
, but even that command generates warnings:
Collecting vsg
Using cached vsg-3.25.0.tar.gz (1.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
WARNING: Generating metadata for package vsg produced metadata for project name unknown. Fix your #egg=vsg fragments.
Discarding https://files.pythonhosted.org/packages/68/c7/4a4c39570a26f40706c999d004c587bb6ab2e13079bab8afa9520cf68caa/vsg-3.25.0.tar.gz#sha256=de3564c9e18c3cf524b585f023b0db0728b23cc79fbaf5f1fbee72f97afeebd2 (from https://pypi.org/simple/vsg/) (requires-python:>=3.8): Requested unknown from https://files.pythonhosted.org/packages/68/c7/4a4c39570a26f40706c999d004c587bb6ab2e13079bab8afa9520cf68caa/vsg-3.25.0.tar.gz#sha256=de3564c9e18c3cf524b585f023b0db0728b23cc79fbaf5f1fbee72f97afeebd2 has inconsistent name: filename has 'vsg', but metadata has 'unknown'
Requirement already satisfied: PyYAML>=5.1 in /usr/lib/python3/dist-packages (from vsg) (5.4.1)
So something in this egg is broken.
Evening,
That is odd, I get the following when I install issue pip3 isntall vsg==3.25.0
jcleary@DESKTOP-HV9NHA3:~$ pip3 install vsg==3.25.0
Defaulting to user installation because normal site-packages is not writeable
Collecting vsg==3.25.0
Downloading vsg-3.25.0.tar.gz (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 8.4 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: PyYAML>=5.1 in ./.local/lib/python3.10/site-packages (from vsg==3.25.0) (6.0.1)
Building wheels for collected packages: vsg
Building wheel for vsg (pyproject.toml) ... done
Created wheel for vsg: filename=vsg-3.25.0-py3-none-any.whl size=941744 sha256=064c1e1b0a554c4cf7d72d110493fe4e157c7ea9f62c03c3060f33f83eb4f330
Stored in directory: /home/jcleary/.cache/pip/wheels/a5/97/cd/79bf3aba107fddbffd0c07db30f8be23504e7f9cd234bb260c
Successfully built vsg
Installing collected packages: vsg
Successfully installed vsg-3.25.0
[notice] A new release of pip is available: 24.0 -> 24.1.2
[notice] To update, run: python3.10 -m pip install --upgrade pip
I also tried pip3 install vsg==3.25
:
jcleary@DESKTOP-HV9NHA3:~$ pip3 install vsg==3.25
Defaulting to user installation because normal site-packages is not writeable
Collecting vsg==3.25
Using cached vsg-3.25.0.tar.gz (1.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: PyYAML>=5.1 in ./.local/lib/python3.10/site-packages (from vsg==3.25) (6.0.1)
Building wheels for collected packages: vsg
Building wheel for vsg (pyproject.toml) ... done
Created wheel for vsg: filename=vsg-3.25.0-py3-none-any.whl size=941744 sha256=61eee88e7a4629faead74faa19decf09888194ad785a3cef08b56e8137271a25
Stored in directory: /home/jcleary/.cache/pip/wheels/a5/97/cd/79bf3aba107fddbffd0c07db30f8be23504e7f9cd234bb260c
Successfully built vsg
Installing collected packages: vsg
Successfully installed vsg-3.25.0
[notice] A new release of pip is available: 24.0 -> 24.1.2
[notice] To update, run: python3.10 -m pip install --upgrade pip
Maybe the version of pip is the difference?
--Jeremy
Maybe, I'm not sure. For reference I use Ubuntu 22.04 LTS.
adrian@pcte247806:~$ pip3 debug
pip version: pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
sys.version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
adrian@pcte247806:~$ python3 -V
Python 3.10.12
When trying to install new version with
pip3 install vsg==3.25
I get the following error:Installing any other version works fine. I've tested this on 3 different computers, so I don't think it's a problem on my end.