Skip to content
Snippets Groups Projects
Commit e112c497 authored by Georges Racinet's avatar Georges Racinet
Browse files

README: update Python version compatibility statement

That was long overdue
parent 23bd89e7
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,5 @@
1.0.0 (for Heptapod 0.17), we are planning to follow
[semver](https://semver.org) rules (with PEP 440 for development versions).
This package is for now Python 2 only, meaning in particular that Python 3
utilities, such as the migration scripts are not hosted here yet.
Python 3 is fully supported since version 0.13.0, tested with 3.7 and 3.8.
......@@ -28,7 +27,11 @@
We will migrate to Python 3 in one shot when Mercurial and hg-git do.
[Python 2 support is deprecated](https://foss.heptapod.net/heptapod/heptapod/-/issues/353) as of version 1.0.0. Only the
`testhelpers` subpackage is fully supported for both Python versions,
because it can be used for more general Mercurial related testing.
Python 2 support will be dropped entirely when we will have a new home for
`testhelpers`.
## Development guide
### Launching the tests
......@@ -30,8 +33,8 @@
## Development guide
### Launching the tests
We have unit tests with `py.test`, they'd be typically run in a virtualenv.
We have unit tests with `py.test`, they'd be typically run in a virtualenv:
```
......@@ -36,6 +39,6 @@
```
virtualenv -p python2 venv
python 3 -m venv venv
venv/bin/pip install -r install-requirements.txt -r test-requirements.txt
venv/bin/pytest
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment