You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One reason to drop 3.7 is to prevent excessive accumulation of supported versions: python releases new versions annually, and it's been more than a year since we dropped a version.
If you make 3.8 your minimum supported version you could also use some of the features that came in 3.8. This _numdiff function does a bunch of math with lots of repeated chunks. For example, a0[:, 0] * a0[:, 1] is calculated 9 times. You could set up a mini library of chunks and then reference those variables now, but a more concise way would be to use py3.8's walrus operator. The first reference of the above gets simultaneously assigned to a variable: (col0Xcol1 := a0[:, 0] * a0[:, 1])
Then all the subsequent repetitions use that col0Xcol1 variable. There would be other things too, like being able to reverse a dictionary. I've seen other libraries that have an official policy of supporting the last X python versions. X = 6 (i.e. py 3.7 - 3.12) seems like a lot.
I suggest we move this item up to 0.10.5, and plan to release 0.10.5 soon (perhaps even this week) for #2026.
Waiting for 0.11.0 would put the desire to drop 3.7 ASAP (#2023) in conflict with wanting to wait at least a year before removing the 0.10.0 (released June 2023) deprecations set to expire in 0.11.0.
Activity
AdamRJensen commentedon Feb 13, 2024
Sounds good to me.
[-]retire support for python 3.8[/-][+]retire support for python 3.7[/+]adriesse commentedon Feb 13, 2024
What's the rush?
kandersolar commentedon Feb 14, 2024
One reason to drop 3.7 is to prevent excessive accumulation of supported versions: python releases new versions annually, and it's been more than a year since we dropped a version.
alexandermorgan commentedon Mar 14, 2024
If you make 3.8 your minimum supported version you could also use some of the features that came in 3.8. This _numdiff function does a bunch of math with lots of repeated chunks. For example,
a0[:, 0] * a0[:, 1]is calculated 9 times. You could set up a mini library of chunks and then reference those variables now, but a more concise way would be to use py3.8's walrus operator. The first reference of the above gets simultaneously assigned to a variable:(col0Xcol1 := a0[:, 0] * a0[:, 1])Then all the subsequent repetitions use that
col0Xcol1variable. There would be other things too, like being able to reverse a dictionary. I've seen other libraries that have an official policy of supporting the last X python versions. X = 6 (i.e. py 3.7 - 3.12) seems like a lot.kandersolar commentedon Apr 30, 2024
I suggest we move this item up to 0.10.5, and plan to release 0.10.5 soon (perhaps even this week) for #2026.
Waiting for 0.11.0 would put the desire to drop 3.7 ASAP (#2023) in conflict with wanting to wait at least a year before removing the 0.10.0 (released June 2023) deprecations set to expire in 0.11.0.