-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Disable Python 3.6 #1222
Disable Python 3.6 #1222
Conversation
024855a
to
fcb2a22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should have a check at the top of SConstruct
as well that the Python running SCons is >=3.7. But that can wait until after 2.6, I suppose, since it would preclude system Pythons from even running SCons and we're not using (nor will we add any, I bet) 3.7-specific features into the various SCons* files before 2.6 is released.
fcb2a22
to
4c13fe1
Compare
Done! |
I wonder if it wouldn't be preferable to error out for Python 3.6 if |
Point users to option python_package='none' in error message.
67945a8
to
9a16cff
Compare
As a result of #1158, the requirement of Python 3.7 or newer applies to the Python interpreter running
I don't think you'll ever get to the error handling added here except in the somewhat unlikely case where The two options I see for providing a more helpful are either:
|
This would be my preference using |
Np. What I had worked well prior to merging #1158. I added the check as requested, but left the version decision separate from the pre-existing checks. |
1a2aaf5
to
790af21
Compare
Codecov Report
@@ Coverage Diff @@
## main #1222 +/- ##
==========================================
+ Coverage 65.44% 65.47% +0.03%
==========================================
Files 320 327 +7
Lines 46321 46349 +28
Branches 19688 19688
==========================================
+ Hits 30315 30349 +34
Misses 13475 13475
+ Partials 2531 2525 -6
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
790af21
to
1cc232e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @ischoegl. Feel free to merge once the CI passes.
Changes proposed in this pull request
If applicable, provide an example illustrating new features this pull request is introducing
Checklist
scons build
&scons test
) and unit tests address code coverage