Coder Social home page Coder Social logo

Comments (10)

asottile avatar asottile commented on June 2, 2024 1

this isn't a pre-commit problem. you've installed an incompatible version of virtualenv

from pre-commit.

PacificGilly avatar PacificGilly commented on June 2, 2024

@asottile How have I installed an incompatible version? pre-commit is the one installing the py_env! We don't use that stuff!

Your py_env is installing an old pip == 22.1.2 which is not PEP632 compliant. Please can this be fixed or shown to be in more than 1 line where the issue is?

from pre-commit.

asottile avatar asottile commented on June 2, 2024

how did you install pre-commit?

from pre-commit.

PacificGilly avatar PacificGilly commented on June 2, 2024

Using a venv and Poetry v1.4.2 on a base docker image python:3.12-bullseye using the python version provided by the docker. I've checked the version provided by the docker image and it's 23.1.2 (PEP632 compatible), but the one used in the pre-commit created venv is 22.1.2 (PEP632 non-compatible)

from pre-commit.

asottile avatar asottile commented on June 2, 2024

and what's in your lock file

from pre-commit.

PacificGilly avatar PacificGilly commented on June 2, 2024

What package are you looking for (since they're typically massive with proprietary libraries)?

from pre-commit.

asottile avatar asottile commented on June 2, 2024

read my original response and take a guess

from pre-commit.

PacificGilly avatar PacificGilly commented on June 2, 2024

virtualenv? 🤦

from pre-commit.

PacificGilly avatar PacificGilly commented on June 2, 2024

Yeah forcing virtualenv to the latest version seemingly fixed the issue. Regardless this is a transient package. This is still a bug with this package as this package sets the lower limits of the virtualenv library.

from pre-commit.

asottile avatar asottile commented on June 2, 2024

I hope you learned something and will be a better listener and reporter next time

from pre-commit.

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.