Open cclauss opened 3 years ago
Link this to #27 . Drop Python 2 support in next minor release.
Since #28 is on going, maybe we should start this after #28 is merged so to avoid merging conflicts. But I am not sure when I am able to back on working #28, hopefully in couple weeks.
Can I help on this One?
Hi @sousajf1 , sure. :)
I am not sure when I can finish #28 so yeah, we should star this one.
Happy to see improvements!
seeing you are dropping python 2, I'll remove from dependencies in #57
so supported python versions are 3.7-3.9 ?
so supported python versions 3.7-3.9 ?
Should be 3.6-3.9, which are versions being tested in Github Actions.
so supported python versions 3.7-3.9 ?
Should be 3.6-3.9, which are versions being tested in Github Actions.
hmm I could only see python-version: [ 2.7, 3.7, 3.8, 3.9 ]
in your python-package workflow
Ouch, I was referencing that info from README ! 🤕 Hmmm, Python 3.6 should be supported, it was in the Azure test before I change to use GitHub Action not long ago.
Could you add it back to the workflow ?
Could you add it back to the workflow ?
Hey @madeinoz67 sorry, never mind, just created #59 to see if Python 3.6 still pass the tests.
looks like since v2.4.0 is released there are no deal-breakers to add types hinting?
Yeah, that's right! 😄
It is easier to add type hints if Python 3.6 is dropped because then from __future__ import annotations
can be used to substantially reduce the importing of standard data types (ex. Dict, List, Set, Tuple) from the typing module and to enable the more readable list[str | int | None]
syntax. That import is only available on Python >= 3.7. Type hints can still be added on Py3.6 but they will be more verbose.
Hi, sorry for bumping this old issue, just wanted to add this note for future self:
We might be able to gain some speed boost with mypyc once we added type hints.
Python type hints would be an interesting direction once Python 2 support is dropped...
$
mypy --ignore-missing-imports .