Git Product home page Git Product logo

Comments (7)

mbyrnepr2 avatar mbyrnepr2 commented on August 24, 2024 1

Hey. Try upgrading astroid which is a dependency of Pylint. Do you know which version of astroid is in your environment?

from pylint.

tbutler-qontigo avatar tbutler-qontigo commented on August 24, 2024

I am running on a standard github actions linux runner which apparently is using 2.3.17.0

from pylint.

Pierre-Sassoulas avatar Pierre-Sassoulas commented on August 24, 2024

Closing as astroid's version should be managed by pylint, setting/hard coding the astroid version is going to create issues. (If you encounter this problem don't set up astroid or set it to a version that is compatible with pylint after letting a dependency manager solve this for you).

from pylint.

tbutler-qontigo avatar tbutler-qontigo commented on August 24, 2024

@Pierre-Sassoulas I am not trying to change the vwersion of asteroid - that was someone else's suggestion.
I am simply running on the standard github action runner with whatever version it comes with - apparently 2.3.17.0
How can pylint be made to work with python 11 on a standard ubuntu-latest github actions runner?

thanks

from pylint.

Pierre-Sassoulas avatar Pierre-Sassoulas commented on August 24, 2024

I think the issue is in github actions runner, they should not set the astroid version (pylint 3.2.3 is not compatible with the installed astroid). You can try to set the pylint version and the astroid version yourself with some pre-install script added to the github action or similar. Or open an issue and wait for a fix in the github action directly.

from pylint.

tbutler-qontigo avatar tbutler-qontigo commented on August 24, 2024

I'm not sure github would make a fix just for this one app.
How would I set the asteroid version? It isn't something I am really familiar with - I am more on the devops side trying to get this to work in our CI pipeline than the python programming side.
Thanks

from pylint.

Pierre-Sassoulas avatar Pierre-Sassoulas commented on August 24, 2024

If you're using pylint 3.2.3 then the required astroid should be set automatically to

"astroid>=3.2.2,<=3.3.0-dev0",

Unless something somewhere change the version of astroid, pylint is set correctly and should bring the proper dependencies on install. If you don't know what tool or script is ruining your day, you can install the proper astroid manually yourself with pip install "astroid>=3.2.2,<=3.3.0-dev0" (or another python tool than pip). It will work only for pylint 3.2.3 and will ruin your day again if the pylint version change.

from pylint.

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.