Skip to content

Commit df2c4b2

Browse files
authored
doc: Update instructions to use supported versions of Python (Fixes #1510) (#1515)
* Fixes #1510
1 parent 3794f10 commit df2c4b2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

test/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,21 @@ the test for vendor_package_pairs:
4343

4444
## Running tests on different versions of Python
4545

46-
Our CI currently runs tests on Python 3.6 and 3.7 under Linux.
46+
Our CI currently runs tests on Python 3.7 - 3.10 under Linux.
4747

4848
The recommended way to do this yourself is to use python's `virtualenv`
4949

5050
You can set up virtualenv for all these environments:
5151

5252
```console
53-
virtualenv -p python3.6 venv3.6
54-
virtualenv -p python3.7 venv3.7
53+
virtualenv -p python3.8 venv3.8
54+
virtualenv -p python3.9 venv3.9
5555
```
5656

57-
To activate one of these (the example uses 3.6), run the tests, and deactivate:
57+
To activate one of these (the example uses 3.8), run the tests, and deactivate:
5858

5959
```console
60-
source venv3.6/bin/activate
60+
source venv3.8/bin/activate
6161
python setup.py test
6262
deactivate
6363

@@ -145,5 +145,3 @@ pytest -v test/test_checkers.py -k python
145145
```
146146

147147
## Known issues
148-
149-
If you're using Windows we **strongly** recommend also `pdftotext`. We experienced problems running tests without this. The best approach to do this is through [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/install/windows.html) (click [here](https://anaconda.org/conda-forge/pdftotext) to find out how to install this package with conda).

0 commit comments

Comments
 (0)