Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump minimum Python version to 3.5.2 #4615

Merged
merged 2 commits into from Jun 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -18,11 +18,9 @@ matrix:

- env: TOXENV=pypy3
- env: TOXENV=pinned
python: 3.5.1
dist: trusty
python: 3.5.2
- env: TOXENV=asyncio
python: 3.5.1 # We use additional code to support 3.5.3 and earlier
dist: trusty
python: 3.5.2 # We use additional code to support 3.5.3 and earlier
- env: TOXENV=py
python: 3.5
- env: TOXENV=asyncio
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -40,7 +40,7 @@ including a list of features.
Requirements
============

* Python 3.5.1+
* Python 3.5.2+
* Works on Linux, Windows, macOS, BSD

Install
Expand Down
2 changes: 1 addition & 1 deletion docs/faq.rst
Expand Up @@ -69,7 +69,7 @@ Here's an example spider using BeautifulSoup API, with ``lxml`` as the HTML pars
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).
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.
Expand Down
2 changes: 1 addition & 1 deletion docs/intro/install.rst
Expand Up @@ -7,7 +7,7 @@ Installation guide
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).

If you're using `Anaconda`_ or `Miniconda`_, you can install the package from
Expand Down
4 changes: 2 additions & 2 deletions scrapy/__init__.py
Expand Up @@ -28,8 +28,8 @@


# Check minimum required Python version
if sys.version_info < (3, 5):
print("Scrapy %s requires Python 3.5" % __version__)
if sys.version_info < (3, 5, 2):
print("Scrapy %s requires Python 3.5.2" % __version__)
sys.exit(1)


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -66,7 +66,7 @@ def has_environment_marker_platform_impl_support():
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
python_requires='>=3.5',
python_requires='>=3.5.2',
install_requires=[
'Twisted>=17.9.0',
'cryptography>=2.0',
Expand Down