Closed jonahpearl closed 1 week ago
I think 3.8 goes end of life in October so the plan was to try to hold out until then. But I guess maybe we should switch sooner @h-mayorquin, this was your work on the template fetching right? Thanks for letting us know @jonahpearl.
Yeah, we should bump the minimal version to python 3.9 I think.
See #3267 but this is a good opportunit to learn more and ask @jonahpearl why are they using python 3.8 though
I don't think there was a particular reason. I have some cookie cutter conda envs and I made them ~4 years ago so...it was just a handy default. Time to update I suppose :)
Good, thanks for sharing. I am weary of leaving people without working workflows and is always useful to hear user stories form our user base. Sorry that this got in your way, it was me being careless and not removing the python=3.8 in pyproject.toml when we don't test on it.
That's a good point @h-mayorquin. For neo we test 3.8 in the core (although will drop soon), but we don't test for the io's (Sam preferring to be as environmentally friendly as possible). So we straddle the line of testing 3.8 over there, but I think this is a good discussion point in general that I will bring up at our next meeting :)
Uh, I forgot the core tests. I have to remove them as they are being double tested now. But got stuck with some other things.
OK, python 3.8 removed from pyproject.toml. Droping it. In fact, following the numpy deprecation cycle we should already drop python 3.9.
Hi all — I tried upgrading to the new 0.101 version to get the latest SortingAnalyzer improvements. I have python 3.8 in my environment. When trying to import I get
AttributeError: module 'functools' has no attribute 'cache'
, which appears to be becausefunctools.cache
only exists in python 3.9 and up — before that it's lru_cache. So either needs to use the lru cache, unless you know it's not going to work, in which case you might want to require python 3.9.Thanks!
Full error trace: