1
mirror of https://github.com/streamlink/streamlink synced 2024-09-22 01:24:51 +02:00

docs/tests: remove python 3.4, use 3.8 and nightly for travis-ci

Python 3.4 has reached end-of-life.
https://www.python.org/downloads/release/python-3410/
This commit is contained in:
back-to 2019-12-14 11:18:29 +01:00
parent d884818b51
commit da4d885f9d
4 changed files with 11 additions and 19 deletions

View File

@ -11,18 +11,14 @@ git:
matrix: matrix:
include: include:
- python: '2.7' - python: '2.7'
- python: '3.4'
- python: '3.5' - python: '3.5'
env: BUILD_DOCS=yes BUILD_INSTALLER=yes BUILD_SDIST=yes DEPLOY_PYPI=yes env: BUILD_DOCS=yes BUILD_INSTALLER=yes BUILD_SDIST=yes DEPLOY_PYPI=yes
- python: '3.6' - python: '3.6'
- python: '3.7' - python: '3.7'
dist: xenial - python: '3.8'
sudo: true - python: 'nightly'
- python: '3.8-dev'
dist: xenial
sudo: true
allow_failures: allow_failures:
- python: '3.8-dev' - python: 'nightly'
before_install: before_install:
- pip install --disable-pip-version-check --upgrade pip setuptools - pip install --disable-pip-version-check --upgrade pip setuptools

View File

@ -2,12 +2,10 @@ environment:
matrix: matrix:
- PYTHON: "C:\\Python27" - PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python35" - PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36" - PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python37" - PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python27-x64" - PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35-x64" - PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64" - PYTHON: "C:\\Python37-x64"

View File

@ -279,23 +279,22 @@ To install Streamlink from source you will need these dependencies.
==================================== =========================================== ==================================== ===========================================
Name Notes Name Notes
==================================== =========================================== ==================================== ===========================================
`Python`_ At least version **2.7** or **3.4**. `Python`_ At least version **2.7** or **3.5**.
`python-setuptools`_ `python-setuptools`_
**Automatically installed by the setup script** **Automatically installed by the setup script**
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
`python-argparse`_ Only needed on Python versions older than **2.7**. `python-futures`_ Only needed on Python **2.7**.
`python-futures`_ Only needed on Python **2.x**. `python-requests`_ At least version **2.21.0**.
`python-requests`_ At least version **1.0**. `python-singledispatch`_ Only needed on Python **2.7**.
`python-singledispatch`_ Only needed on Python versions older than **3.4**.
`pycryptodome`_ Required to play some encrypted streams `pycryptodome`_ Required to play some encrypted streams
`iso-639`_ Used for localization settings, provides language information `iso-639`_ Used for localization settings, provides language information
`iso3166`_ Used for localization settings, provides country information `iso3166`_ Used for localization settings, provides country information
`isodate`_ Used for MPEG-DASH streams `isodate`_ Used for MPEG-DASH streams
`PySocks`_ Used for SOCKS Proxies `PySocks`_ Used for SOCKS Proxies
`websocket-client`_ Used for some plugins `websocket-client`_ Used for some plugins
`shutil_get_terminal_size`_ Only needed on Python versions older than **3.3** `shutil_get_terminal_size`_ Only needed on Python **2.7**.
`shutil_which`_ Only needed on Python versions older than **3.3** `shutil_which`_ Only needed on Python **2.7**.
**Optional** **Optional**
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
@ -317,7 +316,6 @@ With these two environment variables it is possible to use `pycrypto`_ instead o
.. _Python: https://www.python.org/ .. _Python: https://www.python.org/
.. _python-setuptools: https://pypi.org/project/setuptools/ .. _python-setuptools: https://pypi.org/project/setuptools/
.. _python-argparse: https://pypi.org/project/argparse/
.. _python-futures: https://pypi.org/project/futures/ .. _python-futures: https://pypi.org/project/futures/
.. _python-requests: http://python-requests.org/ .. _python-requests: http://python-requests.org/
.. _python-singledispatch: https://pypi.org/project/singledispatch/ .. _python-singledispatch: https://pypi.org/project/singledispatch/

View File

@ -97,7 +97,7 @@ setup(name="streamlink",
entry_points=entry_points, entry_points=entry_points,
install_requires=deps, install_requires=deps,
test_suite="tests", test_suite="tests",
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4", python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4",
classifiers=["Development Status :: 5 - Production/Stable", classifiers=["Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License", "License :: OSI Approved :: BSD License",
"Environment :: Console", "Environment :: Console",
@ -106,10 +106,10 @@ setup(name="streamlink",
"Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows",
"Operating System :: MacOS", "Operating System :: MacOS",
"Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Sound/Audio", "Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video", "Topic :: Multimedia :: Video",