-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] Support pylint 3.0.0 or more #670
Comments
Not sure why it automatically closed this as "completed"... |
Ok, 1.3.1 requirements-detector is released with the updated astroid version constraints |
Amazing, thank you @carlio |
You can close issue from other projects inside an organization, automatically using the keyword fix/close in the commit message which is what happened with |
It looks like there are asteroid crashes while running pylint on Python 3.12 due to needing fixes in Pylint >= 3 and Asteroid >= 3. Thus, I believe this change is needed before full Python 3.12 support can be achieved. |
I've just pushed |
agh nevermind 1.11 - I just saw you guys released a v1.12 an hour ago, I'll crack on with 1.11 at the feedstock, then I'll check and update the bot's PR for 1.12 too, so that gets released timely too 👍 |
There's no way to make pylint work for python 3.12 without the work on compat for pylint 3.0 done for prospector 1.12. (pylint won't work for python 3.12 before pylint 3.0 and prospector won't work with pylint 3.0+ before prospector 1.12). |
@Pierre-Sassoulas I just saw that via the failed CI at feedstock - shall I just skip 1.11 release and do 1.12 instead? |
OK folks, got us a working v1.12.0 package via conda-forge/prospector-feedstock#49 - only hitch is from my comment conda-forge/prospector-feedstock#49 (comment) ie: OK table of troubles: only If there is no issue with this @Pierre-Sassoulas @carlio then that PR is ready to be merged and that means Python 3.12.7, pylint 3.3.1 support, and other dependencies as per the build log 🥳 |
The guilty line is https://github.com/prospector-dev/prospector/blob/master/pyproject.toml#L45 - it'd be easy to increase that version. However, I cannot remember if pylint-plugin-utils is used directly by prospector. I'll have a look later, I'm about to get on a plane so I'll be away, but I suspect that removing that dependency might make more sense than pinning it - check if it's used first. I'll have a look myself if nobody else gets to it in time. |
good call @carlio - I'll have a look now 👍 Safe flight, mate! |
nope didn't find any use of it, am removing it from the conda recipe and reinstating |
OK folks prospector=1.12 has been released into the wild (conda-forge 😁 ) |
Are you the person in charge of the conda release @valeriupredoi ? We should probably publish the same thing than what we release on pypi on conda (using the same pipeline). https://github.com/prospector-dev/prospector/blob/master/.github/workflows/release.yml |
@Pierre-Sassoulas indeed I am - myself and a couple other conda-forge folks that sort of assumed I'd be more active since I am actually actively using Prospector (we in ESMValTool, did use it, and still use it for the moment, before an impending switch to Ruff). The problem with an automated PyPI-like approach is that conda-forge has different ways of building the package than PyPI - we could indeed set up a Github Action that opens a PR at the feedstock for a new build/release, but even then, some or quite a bit of checking of the dependencies should still be done, like I did yesterday for 1.12. Since I am on the topic of dependencies (and my apologies for hijacking the thread, but it is relevant to v1.12.0), I am seeing a bunch of conflicts in a large and bulky environment - most them stemming from Prospector's pin of |
I'll actually open a new issue, I remembered there is that |
Yes since we dropped python 3.7 I think |
excellent! From a purely dependency table pov that should be fine (I'll test when I build the build=1 fro 1.12 but I don't see any issues as of now), was concerned that |
Folow-up to #642 and #643 , we can upgrade to pylint 3.0+ once requirements-detector is compatible with astroid 3.0+, see #641 (comment)
The text was updated successfully, but these errors were encountered: