Ammar Najjar
defeaacbc2
Merge branch 'master' into 4307-use-f-strings
...
Conflicts resolved:
- delete tests/py36/_test_crawl.py
2020-08-29 07:12:44 +02:00
Mikhail Korobov
7e6476ff0a
Merge pull request #4764 from scrapy/test_crawl-move-py36
...
Merge back tests/py36/_test_crawl.py.
2020-08-29 00:12:53 +05:00
Andrey Rahmatullin
59a0157ef1
Merge pull request #4722 from Gallaecio/umask
...
Do not let umask affect the permissions of startproject-generated files
2020-08-28 18:41:02 +05:00
Andrey Rakhmatullin
de640f41ec
Merge back tests/py36/_test_crawl.py.
2020-08-28 18:27:36 +05:00
Ammar Najjar
0e57918231
test(Slot): cover __repr__
...
Issue: #4324
2020-08-28 13:58:32 +02:00
Mikhail Korobov
64905e3397
Merge pull request #4691 from elacuesta/typing-spider-attributes
...
Typing: annotate a few Spider attributes
2020-08-28 00:03:40 +05:00
Adrián Chaves
3f0a677c04
Cover version directive usage in the documentation policy ( #4310 )
...
* Cover version directives in the documentation policy
* Remove version directives in preparation for Scrapy 2.0
* Update the policy based on the deprecation policy
* Only remove version directives after 3 years
2020-08-27 23:56:58 +05:00
Adrián Chaves
195f738bba
Update Python version references after dropping support for 3.5 ( #4742 )
...
* Update Python version references after dropping support for 3.5
* Remove outdated test
* Undo change affecting collect_asyncgen
* Undo change to be handled by #4743
* Remove unused import
* Remove unused import
* Update tests/requirements-py3.txt
Co-authored-by: Mikhail Korobov <kmike84@gmail.com>
Co-authored-by: Mikhail Korobov <kmike84@gmail.com>
2020-08-27 15:43:43 +05:00
Mikhail Korobov
a6b67cf4a1
Merge pull request #4755 from maranqz/csv-item-exporter-errors
...
Add errors parameter for CsvItemExporter with tests
2020-08-27 12:51:53 +05:00
Ammar Najjar
5ab1a318e8
test: list appears in ValueError Exception message
...
Issue #4324
2020-08-26 15:11:46 +02:00
Eugenio Lacuesta
a8114d3731
Typing: annotate a few Spider attributes
2020-08-26 09:00:36 -03:00
Ammar Najjar
2ca8dfb4b0
revert f-string changes for files under sep/
...
Issue #4324
2020-08-26 13:49:39 +02:00
Ammar Najjar
7597193dbe
Merge branch 'master' into 4307-use-f-strings
...
Resolve Conflicts:
tests/test_middleware.py
2020-08-26 13:46:46 +02:00
Ammar Najjar
9aaddcde0a
Update scrapy/utils/conf.py
...
Co-authored-by: Adrián Chaves <adrian@chaves.io>
2020-08-26 11:44:20 +00:00
Ammar Najjar
ea03e4254f
Update scrapy/http/request/form.py
...
Co-authored-by: Adrián Chaves <adrian@chaves.io>
2020-08-26 11:43:52 +00:00
Ammar Najjar
92dfa7176d
Update scrapy/extensions/statsmailer.py
...
Co-authored-by: Adrián Chaves <adrian@chaves.io>
2020-08-26 11:43:40 +00:00
Ammar Najjar
c77450990d
Update scrapy/commands/version.py
...
Co-authored-by: Adrián Chaves <adrian@chaves.io>
2020-08-26 11:41:24 +00:00
maranqz
29725e4b58
Fix tabulation of rst and change documentation link.
2020-08-26 14:38:37 +03:00
nyov
cf50561b86
Allow passing classes directly in Settings ( #3873 )
...
Co-authored-by: Adrián Chaves <adrian@chaves.io>
2020-08-26 13:08:14 +02:00
maranqz
560c335c07
Add errors parameter in documentation.
2020-08-26 14:00:51 +03:00
Ammar Najjar
58ca8bbf6d
Use f-strings ( #4307 )
2020-08-26 07:11:05 +02:00
Mikhail Korobov
0ccaf89a6f
Merge pull request #4756 from ivanprado/master
...
Support for delegated methods as callbacks
2020-08-26 00:10:43 +05:00
Iván de Prado
0524df8669
Code simplification.
...
Thanks @victor-torres for the suggestion
2020-08-25 14:37:10 +01:00
Andrey Rahmatullin
067125c303
Merge pull request #4752 from drs-11/master
...
DOWNLOAD_MAXSIZE logger level changed from Error to Warning
2020-08-25 18:35:50 +05:00
Adrián Chaves
39affea93c
Fix style issues
2020-08-25 13:57:48 +02:00
maranqz
a2d6fa5adc
Add errors parameter for CsvItemExporter with tests
2020-08-25 13:34:43 +03:00
Iván de Prado
3e726b9df7
Support for delegated methods as callbacks
...
It can be useful to structure the spiders code around some helper classes.
2020-08-25 11:31:20 +01:00
Andrey Rahmatullin
64e0ea4ee5
Merge pull request #4735 from wRAR/ciphers-tests
...
Re-enable TLS 1.2 in cipher tests.
2020-08-25 11:48:31 +05:00
drs-11
0b3881d65e
Reverted maxsize warning log message
2020-08-24 20:37:40 +05:30
WinterComes
2d8ec9d44f
Change DOWNLOAD_MAXSIZE logger level from Error to Warning
2020-08-24 20:37:40 +05:30
Eugenio Lacuesta
f1250177dc
Remove Python 3.5 from CI ( #4743 )
2020-08-22 09:33:35 +02:00
Mikhail Korobov
ba0e7f3c85
Merge pull request #4747 from Gallaecio/pylint-update
...
Skip checks introduced in Pylint 2.6.0
2020-08-21 23:18:51 +05:00
Adrián Chaves
7c076122eb
Skip checks introduced in Pylint 2.6.0
2020-08-21 17:06:54 +02:00
Andrey Rahmatullin
07b0c591e0
Merge pull request #4745 from Yogendra0Sharma/fix4741
...
Removed appveyor.xml no longer needed
2020-08-21 12:36:13 +05:00
yogendra0sharma
2fbfe2c214
Removed appveyor.xml no longer needed
2020-08-21 12:18:15 +05:30
Grisha Temchenko
d68aab992e
Smarter generator check for combined return/yield statements ( #4721 )
2020-08-20 10:22:07 -03:00
Hugo van Kemenade
a57db9e302
Bitbucket no longer supports Mercurial repositories ( #4738 )
2020-08-19 17:45:24 +02:00
sakshamb2113
42383cc267
Add a setting to customize the asyncio event loop ( #4414 )
2020-08-19 09:18:14 +02:00
Andrey Rakhmatullin
d9e69bfb51
Re-enable TLS 1.2 in cipher tests.
2020-08-17 19:46:24 +05:00
Adrián Chaves
e70975f0bb
Allow overwriting feeds ( #4512 )
...
Co-authored-by: Yuval Hager <yhager@yhager.com>
2020-08-17 15:10:08 +02:00
Mikhail Korobov
282a6d4fc1
Merge pull request #4727 from wRAR/mitmproxy-ca
...
Use a longer key in mitmproxy-ca.pem.
2020-08-17 14:06:58 +05:00
Mikhail Korobov
61459de476
Merge pull request #4688 from ashellunts/obsolete-s3feednokeys
...
Remove obsolete S3FeedStorage instancing without AWS credentials
2020-08-17 13:58:32 +05:00
Adrián Chaves
792d29380e
Merge Twisted’s deprecated HTTPClientFactory into ScrapyHTTPClientFactory ( #4165 )
...
* Port code from Twisted’s deprecated HTTPClientFactory into ScrapyHTTPClientFactory
* Mention that ScrapyHTTPClientFactory has Twisted code
2020-08-17 10:54:58 +02:00
Mikhail Korobov
5ac135f036
Merge pull request #4718 from Gallaecio/support-pinned-3.6
...
Upgrade minimum dependencies for Python 3.6 support
2020-08-17 13:54:45 +05:00
Grammy Jiang
55edf8d3b8
Add typing hint to httpcache downloadermiddlewares ( #4243 )
2020-08-17 10:50:52 +02:00
Ajay Mittur
a8e08d51cd
Check if file is already present on running `scrapy genspider` and terminate if so ( #4623 )
2020-08-17 10:45:52 +02:00
Eugenio Lacuesta
2aa4f3cbf9
Conditional request attribute binding for responses ( #4632 )
2020-08-17 10:39:59 +02:00
Andrey Rakhmatullin
756c368a6b
Use a longer key in mitmproxy-ca.pem.
2020-08-14 22:09:24 +05:00
Andrey Rahmatullin
acb3b4433a
Merge pull request #4724 from Gallaecio/feed-uri-params
...
Document FEED_URI_PARAMS
2020-08-14 14:47:55 +05:00
Mikhail Korobov
61653418ff
Merge pull request #4090 from Gallaecio/documentation-build
...
Fix references to Python types in parameter type fields
2020-08-14 00:58:06 +05:00