Commit Graph

8020 Commits

Author SHA1 Message Date
Eugenio Lacuesta 49e8a337f7
Flake8: remove E127 (continuation line over-indented for visual indent) 2020-05-06 09:37:01 -03:00
Eugenio Lacuesta 17c0cf64ae
Flake8: remove W504 code (#4525)
Co-authored-by: Mikhail Korobov <kmike84@gmail.com>
2020-05-06 00:14:48 +02:00
Mikhail Korobov 8f72b70f06
Merge pull request #4533 from scrapy/doc-old-twisted
Don't mention unsupported package versions in docs
2020-05-04 23:51:40 +05:00
Mikhail Korobov fe6154e4fa clarify DOWNLOADER_HTTPCLIENTFACTORY docs 2020-05-04 18:18:38 +05:00
Mikhail Korobov 83d7360bb7 Don't mention unsupported package versions in docs 2020-05-04 02:00:11 +05:00
Mikhail Korobov b6eae22b38
Merge pull request #4522 from Gallaecio/travis-tox-py
Remove TOXENV from .travis.yml unless needed
2020-04-29 00:26:00 +05:00
Mikhail Korobov 6c69b03a27
Merge pull request #4521 from Gallaecio/tox-asyncio
Simplify the asyncio Tox environment
2020-04-29 00:25:42 +05:00
Mikhail Korobov 65ba9e1063
Merge pull request #4517 from Gallaecio/run-quick-tests-first
Run quick tests first in Travis CI
2020-04-29 00:19:55 +05:00
Adrián Chaves 3a64f3eb29 Remove TOXENV from .travis.yml unless needed 2020-04-28 17:44:19 +02:00
Adrián Chaves 5c0f11b4ef Simplify the asyncio Tox environment 2020-04-28 17:32:53 +02:00
Adrián Chaves e3c3ec2ba9 Run quick tests first in Travis CI 2020-04-28 13:48:50 +02:00
Ashe c207dbf939
Remove the asyncio warning from coroutines page (#4513) 2020-04-27 19:45:19 +02:00
Adrián Chaves 3878b67a37 Bump version: 2.0.0 → 2.1.0 2020-04-24 11:46:54 +02:00
Adrián Chaves ffe576c4ed
Cover Scrapy 2.1 in the release notes (#4499)
Co-authored-by: Mikhail Korobov <kmike84@gmail.com>
2020-04-24 11:44:36 +02:00
Eugenio Lacuesta efb6f13deb
Remove assertions from production code (#4440) 2020-04-23 12:40:10 +02:00
Aditya Kumar e4750f2fbd
async/deferred signal handlers (#4390)
* [docs] async/deferred signal handlers

* [docs] update deferred signals example

* [docs] add subsections for built-in signals

* docs(signals): update signal handler example

* docs(signals): update signal handler example
2020-04-20 20:47:57 +05:00
sakshamb2113 bfeb2c8c13
Added warning to use double quotes in Windows for scrapy shell in shell.rst (#4450)
* modified debugging memory leaks with guppy in leaks.rst

* modified leaks.rst(issue #4285)

* removed guppy from telnet.py

* Fix undefined name error

* removed hpy key from telnet_vars in telnet.py

* updated shell.rst

* Update docs/topics/shell.rst

Co-Authored-By: Adrián Chaves <adrian@chaves.io>

Co-authored-by: Adrián Chaves <adrian@chaves.io>
2020-04-18 20:21:26 +05:00
Mikhail Korobov 66ab3347c2
Merge pull request #4507 from elacuesta/docs-update-deprecated-feed-settings
Docs: replace deprecated FEED_FORMAT and FEED_URI settings
2020-04-18 20:19:01 +05:00
Eugenio Lacuesta 04b6295a69
Docs: replace deprecated FEED_* settings 2020-04-17 20:50:17 -03:00
Mikhail Korobov 209ab05315
Merge pull request #4500 from victor-torres/reference-callback
Serialize requests with callback references as spider attribute
2020-04-17 18:58:28 +05:00
Victor Torres 1ade3fc723
trying to improve test coverage 2020-04-17 10:34:34 -03:00
Mikhail Korobov cf39602c30
Merge pull request #4471 from elacuesta/fix-pycodestyle-e731
Fix pycodestyle E731 ("do not assign a lambda expression, use a def")
2020-04-16 23:17:31 +05:00
Mikhail Korobov c33fd47a80
Merge pull request #3940 from elacuesta/response_ip_address
Get server IP address for HTTP/1.1 Responses
2020-04-16 21:05:41 +05:00
Eugenio Lacuesta c922992277
Tests: Move code inside __main__ block 2020-04-16 11:37:37 -03:00
Victor Torres 94c95020b3
add comment to explain the use of __func__ instead of instance method objects 2020-04-16 11:37:03 -03:00
Eugenio Lacuesta 1f2e2a6006
Merge branch 'master' into response_ip_address 2020-04-16 11:32:37 -03:00
Victor Torres e0921cab66
remove not used code
This code is not needed anymore because we're getting the
already mangled name when matching func with spider attributes.
2020-04-16 11:18:59 -03:00
Mikhail Korobov fe7043a648
Merge pull request #4503 from Gallaecio/hoverxref-configuration
Fix the hoverxref configuration
2020-04-16 18:19:46 +05:00
Adrián Chaves 901892dab3 Fix the hoverxref configuration 2020-04-16 14:48:38 +02:00
Victor Torres 47a992615a
serialize requests with callback references as spider attribute
You could define a spider attribute that references a callback method
but if this method has a different name than your spider attribute,
the request serializer is not able to find it on the spider class.

With this commit we're fixing this behavior as we're searching for
callback references in the spider object itself instead of looking
for attributes with the same function's name, that could be different.
2020-04-15 20:03:58 -03:00
Mikhail Korobov 36abe9235c
Merge pull request #4445 from adityaa30/docs-redirect-links
update redirect links to python3
2020-04-15 23:13:55 +05:00
Mikhail Korobov 066c02d0c3
Merge pull request #4455 from aditi137/docs-curl2scrapy
[Docs] mention curl2scrapy in Request.from_curl
2020-04-15 23:12:33 +05:00
Mikhail Korobov 2d46777d0a
Merge pull request #4489 from elacuesta/remove-returnValue-function
Remove twisted.internet.defer.returnValue occurrences
2020-04-15 22:45:52 +05:00
Mikhail Korobov 885b0ad2d4
Merge pull request #4480 from elacuesta/pin-sphinx-versions
Pin version for Sphinx and extensions, configure hoverxref
2020-04-15 22:42:49 +05:00
Eugenio Lacuesta ac869181fb
Update docs/topics/downloader-middleware.rst
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
2020-04-15 13:42:35 -03:00
santoshkosgi c3257dc610
Change Content-type to Content-Type (#4481)
Co-authored-by: santosh <santosh@acalvio.com>
2020-04-15 14:24:10 +02:00
Adrián Chaves d323a57381
Merge branch 'master' into fix-pycodestyle-e731 2020-04-15 14:16:15 +02:00
Eugenio Lacuesta 94d7ad76cb
Fix pycodestyle E2XX (whitespace) (#4468) 2020-04-15 14:11:37 +02:00
Eugenio Lacuesta ee4ee486b1
Revert unnecessary changes to docs/conf.py 2020-04-14 15:06:54 -03:00
Eugenio Lacuesta 0a4ef97fa3
Loose restrictions for docs requirements 2020-04-14 14:57:20 -03:00
Eugenio Lacuesta 4023d5db33
Replace _DefGen_Return exception handling
Handle StopIteration instead
2020-04-13 06:35:26 -03:00
Eugenio Lacuesta 1bd8f392c9
Initial removal of twisted.internet.defer.returnValue 2020-04-13 06:12:30 -03:00
Eugenio Lacuesta 2205f04631
Docs: Add hoverxref_role_types setting 2020-04-10 18:08:04 -03:00
Eugenio Lacuesta 34e81d0d74
Docs: remove duplicated setting definitions 2020-04-10 17:29:02 -03:00
Eugenio Lacuesta 4383f45299
Replace os.path with pathlib in docs config 2020-04-10 16:49:14 -03:00
Eugenio Lacuesta 24a1d9acae
Get version in docs config 2020-04-10 16:48:42 -03:00
Eugenio Lacuesta f97fec5ebd
Pin Sphinx version, including extensions 2020-04-10 16:02:53 -03:00
Eugenio Lacuesta 2265c1fda9
Merge branch 'master' into fix-pycodestyle-e731 2020-04-10 14:32:30 -03:00
Mikhail Korobov 39b01b6892
Merge pull request #4469 from elacuesta/fix-pycodestyle-e502
Fix pycodestyle E502 ("the backslash is redundant between brackets")
2020-04-10 22:03:39 +05:00
Andrey Rahmatullin 49357cccbd
Merge pull request #4472 from elacuesta/remove-request-body-producer-empty-body
Remove empty _RequestBodyProducer for POST requests
2020-04-06 19:48:20 +05:00