Comments (4)
In our current image using python:3-slim as the base the version of pylint is 2.17.5 and astroid 2.15.6. I see that visit_typealias does not exist in rebuilder.py for tag v2.15.6. Looks like it was added in pylint-dev/astroid@6d4f364.
from pylint.
We are using the python:3-slim image (i.e., Debian stable / bookworm). I tested using the debian:unstable-slim image and found the problem doesn't occur in this case. I noted older versions of Python and the Gitpython module, but newer versions of pylint and astroid. I'm guessing the newer version of pylint or astroid fixed the problem?
# apt list --installed | grep py
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libpython3-dev/unstable,now 3.11.6-1 amd64 [installed,automatic]
libpython3-stdlib/unstable,now 3.11.6-1 amd64 [installed,automatic]
libpython3.11-dev/unstable,now 3.11.8-1 amd64 [installed,automatic]
libpython3.11-minimal/unstable,now 3.11.8-1 amd64 [installed,automatic]
libpython3.11-stdlib/unstable,now 3.11.8-1 amd64 [installed,automatic]
libpython3.11/unstable,now 3.11.8-1 amd64 [installed,automatic]
libsharpyuv0/unstable,now 1.3.2-0.4 amd64 [installed,automatic]
pylint/unstable,now 3.0.3-1 all [installed]
python3-astroid/unstable,now 3.0.2-1 all [installed,automatic]
python3-dev/unstable,now 3.11.6-1 amd64 [installed,automatic]
python3-dill/unstable,now 0.3.8-1 all [installed,automatic]
python3-distutils/unstable,now 3.11.5-1 all [installed,automatic]
python3-git/unstable,now 3.1.37-3 all [installed]
python3-gitdb/unstable,now 4.0.11-1 all [installed,automatic]
python3-importlib-metadata/unstable,now 4.12.0-1 all [installed,automatic]
python3-isort/unstable,now 5.6.4-1 all [installed,automatic]
python3-lib2to3/unstable,now 3.11.5-1 all [installed,automatic]
python3-logilab-common/unstable,now 1.9.8-1 all [installed,automatic]
python3-mccabe/unstable,now 0.7.0-1 all [installed,automatic]
python3-minimal/unstable,now 3.11.6-1 amd64 [installed,automatic]
python3-more-itertools/unstable,now 10.2.0-1 all [installed,automatic]
python3-mypy-extensions/unstable,now 1.0.0-1 all [installed,automatic]
python3-pip/unstable,now 24.0+dfsg-1 all [installed]
python3-pkg-resources/unstable,now 68.1.2-2 all [installed,automatic]
python3-platformdirs/unstable,now 4.2.0-1 all [installed,automatic]
python3-setuptools/unstable,now 68.1.2-2 all [installed,automatic]
python3-six/unstable,now 1.16.0-4 all [installed,automatic]
python3-smmap/unstable,now 6.0.0-1 all [installed,automatic]
python3-tk/unstable,now 3.11.5-1 amd64 [installed,automatic]
python3-toml/unstable,now 0.10.2-1 all [installed,automatic]
python3-tomlkit/unstable,now 0.12.3-1 all [installed,automatic]
python3-typing-extensions/unstable,now 4.9.0-1 all [installed,automatic]
python3-wheel/unstable,now 0.42.0-1 all [installed,automatic]
python3-zipp/unstable,now 1.0.0-6 all [installed,automatic]
python3.11-dev/unstable,now 3.11.8-1 amd64 [installed,automatic]
python3.11-minimal/unstable,now 3.11.8-1 amd64 [installed,automatic]
python3.11/unstable,now 3.11.8-1 amd64 [installed,automatic]
python3/unstable,now 3.11.6-1 amd64 [installed,automatic]
# pip freeze
astroid==3.0.2
dill==0.3.8
gitdb==4.0.11
GitPython==3.1.37
importlib-metadata==4.12.0
isort==5.6.4
logilab-common==1.9.8
mccabe==0.7.0
more-itertools==10.2.0
mypy-extensions==1.0.0
platformdirs==4.2.0
pylint==3.0.3
six==1.16.0
smmap==6.0.0
toml==0.10.2
tomlkit==0.12.3
typing_extensions==4.9.0
zipp==1.0.0
# pylint get_git_tag.py
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
from pylint.
I'm guessing the newer version of pylint or astroid fixed the problem?
Yes, python 3.12 can only be used to run pylint with pylint 3 or higher. We do not limit the python interpreter in metadata because most of the time we're still compatible with future interpreters.
from pylint.
@Pierre-Sassoulas sorry still green. I get it now. I just needed to update my modules to later versions. Thanks!
from pylint.
Related Issues (20)
- GitHub actions output format HOT 10
- Return code 28 on irrelevant pyproject.toml HOT 3
- "colorized" ignored when called without shell?d
- Crash - `ParentMissingError` and strange instance of `wrong-import-position` warning HOT 2
- Nonsensical returns are not reported as `useless-return` if they are indented HOT 2
- RecursionError: maximum recursion depth exceeded while calling a Python object HOT 1
- `used-before-assignment` FP in finally
- allow-any-import-level seems to have no effect
- False positive for E0601 when variable first assigned in assignment expression in `if` clause of a comprehension
- False positive with return guard
- Example of using pylint as a pre-commit hook does not mention use of spelling extra HOT 1
- Crash 💥 `RecursionError` when upgrading from 3.0.3 to 3.1.0 HOT 2
- False positive on E1101: no-member when using "random.choices"
- Suggest flattening nested idempotent function applications HOT 3
- False positive singleton-comparison with sqlalchemy's filter
- Pylint crash: RecursionError: maximum recursion depth exceeded HOT 2
- Incorrect "Value '<val>' is unsubscriptable" with class method type overloading HOT 2
- sdist is missing requirements files
- 3.1.0: Nine test_functional and one test_package fails HOT 4
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.