Skip to content
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

Support for pylint 3 & python 3.12 #22

Closed
wants to merge 4 commits into from

Conversation

irtazaakram
Copy link

@irtazaakram irtazaakram commented Oct 24, 2023

Hi,

This PR

  • adds support for pylint 3
  • adds support for python 3.12
  • drops support for python 3.6 & 3.7 (EOL)

Can we please have a new release after this PR is merged.

Thanks,

Fixes #11
Fixes #12

@irtazaakram
Copy link
Author

Hi @stdedos,
can you please review this.
Thanks,

@stdedos stdedos added this to the Release v2 milestone Oct 24, 2023
@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e73cc2f) 92.03% compared to head (d5c61a8) 91.96%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
- Coverage   92.03%   91.96%   -0.07%     
==========================================
  Files          18       18              
  Lines         527      523       -4     
  Branches       99       99              
==========================================
- Hits          485      481       -4     
  Misses         29       29              
  Partials       13       13              
Flag Coverage Δ
3.10 91.77% <ø> (-0.07%) ⬇️
3.11 91.77% <ø> (-0.07%) ⬇️
3.12 91.77% <ø> (?)
3.6 ?
3.7 ?
3.8 91.77% <ø> (-0.07%) ⬇️
3.9 91.77% <ø> (-0.07%) ⬇️
macos-latest 91.77% <ø> (-0.07%) ⬇️
ubuntu-20.04 ?
ubuntu-latest 91.77% <ø> (-0.07%) ⬇️
windows-latest 91.77% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
pylint_pytest/checkers/class_attr_loader.py 92.85% <ø> (-0.48%) ⬇️
pylint_pytest/checkers/fixture.py 90.29% <ø> (-0.19%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

setup.py Outdated Show resolved Hide resolved
@stdedos
Copy link
Collaborator

stdedos commented Oct 24, 2023

The v2.0 I'm estimating to be released mid-November

Setting this as blocked

@stdedos
Copy link
Collaborator

stdedos commented Oct 24, 2023

For the failing actions, you might want to revert b3e8974

@irtazaakram
Copy link
Author

Hi @stdedos,
Thank you for taking time to review this PR. Much appreciated.

@stdedos
Copy link
Collaborator

stdedos commented Oct 24, 2023

Thank you for offering the code @irtazaakram ❤️

CHANGELOG.md Outdated Show resolved Hide resolved
@irtazaakram
Copy link
Author

hi @stdedos,
do you know what happened here? I see the banner Pull request successfully merged and closed and it aslo says I closed it even though i never did?

@stdedos
Copy link
Collaborator

stdedos commented Oct 24, 2023

That is ... interesting 😕

All I can see is this

image

Something-something with your force-pushes, but I must run for now and I haven't checked what happened there 😅

@irtazaakram
Copy link
Author

irtazaakram commented Oct 24, 2023

🤦🏻 let me know if i should open a new PR? as I am also not able to reopen it.

@stdedos
Copy link
Collaborator

stdedos commented Oct 24, 2023

I think it should be something obvious we are both missing

Also, GitHub is somewhat too magic sometimes for my taste 😅

@irtazaakram irtazaakram reopened this Oct 25, 2023
@irtazaakram
Copy link
Author

hey @stdedos, I mistakenly forced pushed commit without any changes while trying to revert b3e8974
🤦🏻 and thats what caused this PR to close.

PR is ready now. Let me know if there are any changes that you want to suggest.

again apologies for this.

Thank you

@stdedos
Copy link
Collaborator

stdedos commented Oct 25, 2023

Hey @irtazaakram

pre-commit says this:

image
(https://results.pre-commit.ci/run/github/602434841/1698218743.HAiZ2fOQR3-yD9koSvOV5w)

You'd have to either apply the changes, or allow pre-commit to apply those changes 😕

@irtazaakram
Copy link
Author

These changes causes tests to fail for python 3.8 & 3.9

@stdedos
Copy link
Collaborator

stdedos commented Oct 25, 2023

https://github.com/pylint-dev/pylint-pytest/actions/runs/6637112680/job/18031541929?pr=22

I will eventually handle some of those pylint issues

@stdedos
Copy link
Collaborator

stdedos commented Oct 25, 2023

The MR looks solid - and we need to figure out a solution for Windows-testing.

Amazing job @irtazaakram 🚀

@Pierre-Sassoulas
Copy link
Member

I can't write directly on this branch but the fix for pylint's check is this: 904e2e9

@Pierre-Sassoulas
Copy link
Member

Closing in favor of two other merge requests: #23 then #24. Thank you for your work @irtazaakram I credited you in the rebased commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support pylint v3 Drop Python 3.6 + 3.7
3 participants