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

Dropped support for EOL Python 3.6 and 3.7 #495

Merged
merged 1 commit into from
Sep 23, 2023
Merged

Conversation

claudep
Copy link
Member

@claudep claudep commented Sep 23, 2023

No description provided.

@claudep
Copy link
Member Author

claudep commented Sep 23, 2023

@benkonrath, I cannot spot the reason of the prospector failure. Do you have any idea?

@benkonrath
Copy link
Member

I'm not sure what's going on either. I think one of the pylint dependencies has been updated and is causing a problem. The logs for the previous runs have been deleted so it will be hard to know which dependency to pin to fix this - if it's even the problem.

I did however notice that prospector is working with Python 3.9 on my local machine. I think the easiest fix is to use Python 3.9 in tox as well. Just change python3.11 to python3.9 here and I think it will work again:

basepython = python3.11

Side note: We're using a pretty old version of prospector and it could be updated as a maintenance task at some point. I haven't done the update yet because prospector continually adds new rules and therefore finds more "problems" in the code. Some of these problems are legitimate, but some are more on the opinion side of the fence. The end result of course is that an update takes more work than just bumping the numbers.

I suppose an update to prospector could involve disabling some of checks to keep things manageable. But this is probably better for a separate topic. Hopefully the quick fix I mentioned will get this PR going.

@benkonrath
Copy link
Member

The PR looks good by the way (besides the CI failure which seems unrelated). Thanks!

@claudep
Copy link
Member Author

claudep commented Sep 23, 2023

Thanks for your help. I'll merge this one.

@claudep claudep merged commit 9887af4 into django:master Sep 23, 2023
@claudep claudep deleted the drop36_37 branch September 23, 2023 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants