Commit Graph

7240 Commits

Author SHA1 Message Date
Aleksey 06812f162e Fix a TypeError in example code from exceptions.rst (#4068) 2019-11-01 09:48:34 +01:00
Adrián Chaves da04fe0382 Bump version: 1.7.3 → 1.7.4 2019-10-21 12:12:32 +02:00
Adrián Chaves 91b45f84b0 Covert Scrapy 1.7.4 in the release notes 2019-10-21 12:08:35 +02:00
Adrián Chaves 3f411e32bd Revert "Merge pull request #3819 from sortafreel/fix_missing_values"
This reverts commit c05d24c571, reversing
changes made to 66c40d0e5d.
2019-10-21 11:50:50 +02:00
Adrián Chaves e22a8c8c36 Bump version: 1.7.2 → 1.7.3 2019-08-01 17:07:54 +02:00
Adrián Chaves ee371cbcd8 Cover Scrapy 1.7.3 in the release notes 2019-08-01 17:06:53 +02:00
Daniel Graña 0287701dce Pin Travis-ci build environment to previous default: Trusty
Travis-ci changed the default build environment to Xenial as explained in https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment
This causes builds meant for Debian Jessie to break as noted by @wRAR in https://github.com/scrapy/scrapy/issues/3917#issuecomment-516426389

This change pins the environment to known working ubuntu trusty distribution prior to dropping Jessie support and upgrade to Xenial as base.

Closes #1369
2019-07-31 12:16:22 -03:00
Daniel Graña c5b8cc4a87
Merge pull request #3918 from rennerocha/fix-lxml-py34
Added constrain on lxml version to avoid error when using Python 3.4 (#3912)
2019-07-30 22:21:49 -03:00
Renne Rocha 5c916bebe8 Added constrain on lxml version based on Python version 2019-07-30 08:59:08 -03:00
Adrián Chaves 1a289c15f8 Bump version: 1.7.1 → 1.7.2 2019-07-23 13:32:27 +02:00
Mikhail Korobov d0288da221
Merge pull request #3898 from Gallaecio/1.7
Changes and release notes for 1.7.2
2019-07-23 15:54:48 +05:00
Adrián Chaves 77beab3796 Cover Scrapy 1.7.2 in the release notes 2019-07-23 12:04:26 +02:00
Eugenio Lacuesta c51cbcfe81 Fix ConfigParser import in py2 2019-07-23 12:01:36 +02:00
Adrián Chaves 079164c1b9 Cover Scrapy 1.7.1 in the release notes 2019-07-18 18:47:29 +02:00
Adrián Chaves 951bc96f5d Bump version: 1.7.0 → 1.7.1 2019-07-18 17:38:47 +02:00
Adrián Chaves ae4eab9843 Cover the 1.7.1 PyPI repackaging in the release notes 2019-07-18 17:02:48 +02:00
Adrián Chaves 4e23d70dd3 Bump version: 1.6.0 → 1.7.0 2019-07-18 15:38:25 +02:00
Adrián Chaves a94b5bef3a Write the 1.7 release notes and cover dropping Python 2 support in the upcoming 2.0 2019-07-18 15:37:17 +02:00
Mikhail Korobov 44eb21aa51
Merge pull request #3882 from MagdalenaDeschner/master
add instructions about how to define output file when running scrapy …
2019-07-18 18:12:57 +05:00
Deschner, Magdalena c44d49b238 minor PEP8 style changes 2019-07-17 13:13:52 +02:00
Maram Sumanth 0d51f9cc27 [MRG+1] Wrong value of log_count/INFO in stats (#3643)
* Update statscollectors.py

* Update statscollectors.py

* Update statscollectors.py

* Update crawler.py

* Update crawler.py

* corrected tests

* Update test_utils_log.py

* Update crawler.py

* Update crawler.py

* interchanged order

* correced
2019-07-17 14:36:49 +05:00
Mikhail Korobov b2c013feca
Merge pull request #3878 from elacuesta/mergedict_to_chainmap
Deprecate scrapy.utils.datatypes.MergeDict in favor of collections.ChainMap
2019-07-17 14:31:50 +05:00
Deschner, Magdalena 6660020ebb remove detailed description about individual settings 2019-07-17 11:30:02 +02:00
Eugenio Lacuesta d7074d86d2
Change condition to raise deprecation warning 2019-07-16 14:13:45 -03:00
Mikhail Korobov 377d8a7be7
Merge pull request #3877 from elacuesta/tests_deprecation_warnings
Prevent deprecation warnings
2019-07-16 21:58:44 +05:00
Deschner, Magdalena e892a484e8 add instructions about how to define output file when running scrapy from script instead of cmd 2019-07-16 13:53:56 +02:00
Eugenio Lacuesta 7e3a602d56
Suggested changes 2019-07-15 12:37:09 -03:00
Eugenio Lacuesta d5a2a70329
Fix import 2019-07-13 23:47:41 -03:00
Eugenio Lacuesta ef9a619214
More DeprecationWarnings 2019-07-13 23:36:39 -03:00
Eugenio Lacuesta 62f3e22481
Deprecate scrapy.utils.datatypes.MergeDict in favor of collections.ChainMap 2019-07-13 22:51:38 -03:00
Eugenio Lacuesta eced544d64
Prevent even more DeprecationWarnings 2019-07-13 22:16:23 -03:00
Eugenio Lacuesta 40086dabb8 Prevent more DeprecationWarnings 2019-07-13 22:14:00 -03:00
Eugenio Lacuesta 92d624c161
[Tests] Prevent more TestCase DeprecationWarnings
* assertRegexpMatches -> assertRegex
2019-07-13 20:55:45 -03:00
Eugenio Lacuesta c24b80e1e6
Prevent DeprecationWarning about logging.warn 2019-07-13 20:34:31 -03:00
Eugenio Lacuesta b714a372e2
[Tests] Prevent more DeprecationWarnings
* assertRegexpMatches -> assertRegex
* invalid escape sequence \[
2019-07-13 20:23:15 -03:00
Eugenio Lacuesta 27e63e6890
Monkey patch configparser module to ease the dropping of py2 support 2019-07-13 20:10:06 -03:00
Eugenio Lacuesta 09e27d2d2e
[Tests] Monkey patch unittest.TestCase to prevent DeprecationWarning(s) 2019-07-13 19:26:59 -03:00
Adrián Chaves fa6a0d799b
Merge pull request #3684 from Gallaecio/remove-ubuntu-topic
Remove docs/topics/ubuntu.rst
2019-07-12 14:03:11 +02:00
Adrián Chaves c4bcfb1aee
Merge pull request #3866 from Gallaecio/broad-crawl-memory-docs
Extend the topic about broad crawls with information about memory usage
2019-07-11 11:15:41 +02:00
Adrián Chaves ed487b7db3 broad-crawls.rst: Refactor the memory usage section 2019-07-11 11:14:22 +02:00
Robin 5cdf277017 Update broad-crawls.rst
Added section on how to treat memory consumption problems of broad crawls.
2019-07-11 08:49:24 +02:00
Luiz Francisco Rodrigues da Silva df68c4b9b1 Add a setting to use active mode in FTPFeedStorage (#3829)
Add a setting to use active mode in FTPFeedStorage

FTP servers can be configured in active and passive mode, by default
Python and Scrapy use passive mode and there was no way to use active.

This commit adds a setting FEED_STORAGE_FTP_ACTIVE to allow a feed
to be exported to a FTP server configured in active mode.
2019-07-10 14:25:52 +02:00
Mikhail Korobov 050a62a955
Merge pull request #3861 from Gallaecio/documentation-coverage
Increase the documentation coverage of exceptions
2019-07-10 10:18:34 +05:00
Adrián Chaves 68d898d493
Merge pull request #3712 from elacuesta/docs_crawlspider_link_text
[Docs] CrawlSpider: update Rule docs
2019-07-10 00:18:51 +02:00
Eugenio Lacuesta 9fb0f8454e
Extend docs about Crawling Rules 2019-07-09 15:30:22 -03:00
Eugenio Lacuesta d04e84c11d Merge remote-tracking branch 'upstream/master' into docs_crawlspider_link_text 2019-07-09 15:24:31 -03:00
Adrián Chaves a0bbbe8ffa Add the API documentation of ContractFail to the contracts topic 2019-07-09 12:33:57 +02:00
Adrián Chaves 578bccf3bb Skip scrapy.exceptions.UsageError in the documentation coverage report 2019-07-09 12:33:07 +02:00
Mikhail Korobov a97a9b57bf
Merge pull request #3621 from Gallaecio/bfo-for-few-requests
Document that the crawl order is BFO for small numbers of start requests
2019-07-08 21:26:04 +05:00
Mikhail Korobov dda12b6537
Merge pull request #3672 from Gallaecio/split-items
Add a FAQ entry about splitting items in item pipelines
2019-07-08 20:15:23 +05:00