mirror of
https://github.com/coursera-dl/coursera-dl.git
synced 2026-01-23 02:35:37 +00:00
According to <https://en.wikipedia.org/wiki/History_of_Python#Table_of_versions>, the (current) earliest supported version is 3.6 (with only 3.8 and 3.9 being supported with binaries, 3.6 and 3.7 supported only with source code). Some things to keep in mind here, according to the current download page of Python for Windows (which, I suppose, is where the majority of our users are): * Python 3.6, 3.7 and 3.8 support [only Windows Vista and newer][python38]. * Python 3.9 doesn't suport Windows 7; [only 8.1 or newer][python39]. [python38]: https://docs.python.org/3.8/using/windows.html#using-python-on-windows [python39]: https://docs.python.org/3.9/using/windows.html#using-python-on-windows I'm still keeping Python 2.7 in the support tests (despite it being dead), but am considering dropping it in the near term (and removing the workarounds to support multiple versions).
21 lines
395 B
YAML
21 lines
395 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.6"
|
|
- "3.7"
|
|
- "3.8"
|
|
- "3.9"
|
|
- "pypy"
|
|
matrix:
|
|
allow_failures:
|
|
- python: "pypy"
|
|
# command to install dependencies
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install -r requirements-dev.txt
|
|
- pip install coveralls
|
|
# command to run tests
|
|
script: py.test coursera/test -v --cov coursera --cov-report html
|
|
|
|
after_success:
|
|
coveralls
|