Bump minimum Python version to 3.5.2 (#4615)

This commit is contained in:
Eugenio Lacuesta 2020-06-11 09:53:59 -03:00 committed by GitHub
parent 092f6fdea1
commit 8b549392f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 10 deletions

View File

@ -18,11 +18,9 @@ matrix:
- env: TOXENV=pypy3 - env: TOXENV=pypy3
- env: TOXENV=pinned - env: TOXENV=pinned
python: 3.5.1 python: 3.5.2
dist: trusty
- env: TOXENV=asyncio - env: TOXENV=asyncio
python: 3.5.1 # We use additional code to support 3.5.3 and earlier python: 3.5.2 # We use additional code to support 3.5.3 and earlier
dist: trusty
- env: TOXENV=py - env: TOXENV=py
python: 3.5 python: 3.5
- env: TOXENV=asyncio - env: TOXENV=asyncio

View File

@ -40,7 +40,7 @@ including a list of features.
Requirements Requirements
============ ============
* Python 3.5.1+ * Python 3.5.2+
* Works on Linux, Windows, macOS, BSD * Works on Linux, Windows, macOS, BSD
Install Install

View File

@ -69,7 +69,7 @@ Here's an example spider using BeautifulSoup API, with ``lxml`` as the HTML pars
What Python versions does Scrapy support? What Python versions does Scrapy support?
----------------------------------------- -----------------------------------------
Scrapy is supported under Python 3.5.1+ Scrapy is supported under Python 3.5.2+
under CPython (default Python implementation) and PyPy (starting with PyPy 5.9). under CPython (default Python implementation) and PyPy (starting with PyPy 5.9).
Python 3 support was added in Scrapy 1.1. Python 3 support was added in Scrapy 1.1.
PyPy support was added in Scrapy 1.4, PyPy3 support was added in Scrapy 1.5. PyPy support was added in Scrapy 1.4, PyPy3 support was added in Scrapy 1.5.

View File

@ -7,7 +7,7 @@ Installation guide
Installing Scrapy Installing Scrapy
================= =================
Scrapy runs on Python 3.5.1 or above under CPython (default Python Scrapy runs on Python 3.5.2 or above under CPython (default Python
implementation) and PyPy (starting with PyPy 5.9). implementation) and PyPy (starting with PyPy 5.9).
If you're using `Anaconda`_ or `Miniconda`_, you can install the package from If you're using `Anaconda`_ or `Miniconda`_, you can install the package from

View File

@ -28,8 +28,8 @@ twisted_version = (_txv.major, _txv.minor, _txv.micro)
# Check minimum required Python version # Check minimum required Python version
if sys.version_info < (3, 5): if sys.version_info < (3, 5, 2):
print("Scrapy %s requires Python 3.5" % __version__) print("Scrapy %s requires Python 3.5.2" % __version__)
sys.exit(1) sys.exit(1)

View File

@ -66,7 +66,7 @@ setup(
'Topic :: Software Development :: Libraries :: Application Frameworks', 'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',
], ],
python_requires='>=3.5', python_requires='>=3.5.2',
install_requires=[ install_requires=[
'Twisted>=17.9.0', 'Twisted>=17.9.0',
'cryptography>=2.0', 'cryptography>=2.0',