| Jul | AUG | Sep |
| 29 | ||
| 2019 | 2020 | 2021 |
COLLECTED BY
Collection: github.com
typing module
defined by PEP 484. The module is available in Python since version
3.5.0 on a provisional basis until Python 3.7.0.
typing
checked into the CPython repo
●September 13, 2015: Python 3.5.0 final release; typing is
available on a provisional basis
●December 23, 2016: Python 3.6.0 final release; typing stays
provisional for the course of the 3.6 releases
●January 29, 2018: Python 3.7.0 beta 1, feature freeze for the release,
including the typing module
●June 15, 2018: Python 3.7.0 final release, the typing module is no
longer provisional
The dates for Python 3.7 are based on PEP 537 and may still change.
typing.py from the available standard library when ran
on Python 3.5+ and uses the PyPI version for older Python versions
●The full list of mypy issues marked as PEP 484 compatibility issues is
here: https://github.com/python/mypy/labels/topic-pep-484
xcode-select --install
●brew install pyenv
●echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
●Open a new shell
●pyenv install 3.5.3
●pyenv install 3.4.6
●(assuming you already have 2.7.13 and 3.6.1 from Homebrew)
●pyenv global system 3.5.3 3.4.6
●You can use tox to automate running tests.
●Update the version number in setup.py.
●Build the source and wheel distributions:
●pip3 install -U setuptools wheel
●pip2 install -U setuptools wheel
●rm -rf dist/ build/
●python3 setup.py sdist bdist_wheel
●rm -rf build/ (Works around a Wheel bug)
●python2 setup.py bdist_wheel
●Install the built distributions locally and test (if you
were using tox, you already tested the source distribution).
●Make sure twine is up to date, then run twine upload dist/*.