Giter VIP home page Giter VIP logo

Comments (7)

digitalsleuth avatar digitalsleuth commented on September 11, 2024

Hi @seanthegeek , can you run the following and provide the output?

sudo python3 -m pip -V

from salt-states.

seanthegeek avatar seanthegeek commented on September 11, 2024
pip 22.0.4 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)

from salt-states.

seanthegeek avatar seanthegeek commented on September 11, 2024

I noticed that setuptools.sls specifies setuptools<66.0.0, but my system was running 68.0.0. When I tried running sudo pip install setuptools<66.0.0, I got some helpful output.

Collecting setuptools<66.0.0
  Using cached setuptools-65.7.0-py3-none-any.whl (1.2 MB)
WARNING: Error parsing requirements for setuptools: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/setuptools-68.0.0.dist-info/METADATA'
Installing collected packages: setuptools
  Attempting uninstall: setuptools
    WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
    Found existing installation: setuptools 68.0.0
    WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
    WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
    WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
    WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
    WARNING: No metadata found in /usr/local/lib/python3.8/dist-packages
ERROR: Cannot uninstall setuptools 68.0.0, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps setuptools==68.0.0'.

Running sudo pip install --upgrade --force-reinstall --no-deps setuptools<66.0.0 solved the problem. I'll submit a PR to use that fix.

from salt-states.

seanthegeek avatar seanthegeek commented on September 11, 2024

Never mind. All I had to do was upgrade to the latest version of pip.

from salt-states.

digitalsleuth avatar digitalsleuth commented on September 11, 2024

Hi @seanthegeek , sorry for the delay in getting back to you on this. I was out of town for the last few days, and have had terrible internet connectivity since I've returned. It seems you've already come to the same conclusion I have, but I haven't had the opportunity to test it properly (due to the aforementioned internet issues). I'll take a closer look at this and see if this needs to be "forcefully" fixed to ensure there are no issues between previous and existing issues.

Thanks for this, and sorry again for the delay!

from salt-states.

seanthegeek avatar seanthegeek commented on September 11, 2024

@digitalsleuth I think the only thing that needs changed is rasing the minimum version of pip. the setuptools package is fine as-is with the latest version of pip.

from salt-states.

digitalsleuth avatar digitalsleuth commented on September 11, 2024

Sounds reasonable. To avoid potential issues introduced with future versions of pip, I'll pin it to the current latest version, then test regularly and update over reasonable intervals. Cheers!

from salt-states.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.