Comments (7)
Hey. Try upgrading astroid which is a dependency of Pylint. Do you know which version of astroid is in your environment?
from pylint.
I am running on a standard github actions linux runner which apparently is using 2.3.17.0
from pylint.
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.
@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.
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.
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.
If you're using pylint 3.2.3
then the required astroid should be set automatically to
Line 44 in 918d216
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)
- E1101 raised when accessing a not annotated property returning a dynamic object HOT 1
- Add check for using major 3.11 and 3.12 features with lower `--py-version`
- ``pyreverse`` should check that ``klass`` is still ``ClassDef`` HOT 3
- FN `attribute-defined-outside-init` with `setattr()`
- False positive R1730 consider-using-min-builtin, R1731 consider-using-max-builtin
- Crash ``whilst running pylint in vscode`` HOT 1
- False positive `arguments-differ` on `__post_init__` method in dataclass inheritence
- [pyreverse] Dunder methods in diagrams HOT 1
- Report global object redefinition
- pylint does not recognize pytest fixtures HOT 1
- False positive for optional class attribute HOT 1
- False positive for optional class attribute HOT 1
- False positive for no-member with property setters HOT 4
- False positive `not-async-context-manager` with Pydantic `PrivateAttr`
- Weird __slots__ manip causes pylint to crash
- `used-before-assignment` false positive for `type` alias
- `from __future__ import annotations` is 3.7+
- Standard collection typing is 3.9+
- Assign expression / walrus operator is 3.8+
- Positional-only parameters are 3.8+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylint.