compat: drop support for python 2.7
This removes all compatibility support for Python 3.5 and earlier, and adjusts our __future__ imports to enable the `generator_stop` feature, which was optional in Python 3.5 and enabled in 3.7. See <https://docs.python.org/3/library/__future__.html> for details.
parent
2619943c
No related branches found
No related tags found
Showing
- .gitlab-ci.yml 5 additions, 34 deletions.gitlab-ci.yml
- contrib/docker/installhg.sh 1 addition, 6 deletionscontrib/docker/installhg.sh
- contrib/hggitperf.py 1 addition, 1 deletioncontrib/hggitperf.py
- hggit/__init__.py 1 addition, 1 deletionhggit/__init__.py
- hggit/_ssh.py 2 additions, 2 deletionshggit/_ssh.py
- hggit/compat.py 4 additions, 17 deletionshggit/compat.py
- hggit/git2hg.py 2 additions, 2 deletionshggit/git2hg.py
- hggit/git_handler.py 23 additions, 20 deletionshggit/git_handler.py
- hggit/gitdirstate.py 2 additions, 3 deletionshggit/gitdirstate.py
- hggit/gitrepo.py 2 additions, 4 deletionshggit/gitrepo.py
- hggit/hg2git.py 7 additions, 6 deletionshggit/hg2git.py
- hggit/hgrepo.py 4 additions, 5 deletionshggit/hgrepo.py
- hggit/overlay.py 5 additions, 5 deletionshggit/overlay.py
- hggit/util.py 6 additions, 10 deletionshggit/util.py
- hggit/verify.py 1 addition, 1 deletionhggit/verify.py
- setup.py 3 additions, 3 deletionssetup.py
- tests/commitextra.py 1 addition, 1 deletiontests/commitextra.py
- tests/heredoctest.py 1 addition, 1 deletiontests/heredoctest.py
- tests/hghave 1 addition, 1 deletiontests/hghave
- tests/hghave.py 1 addition, 1 deletiontests/hghave.py
Loading
Please register or sign in to comment