Adrián Chaves
24ba5a71ac
Maybe the problem is not in the code after all
2020-08-13 06:35:09 +02:00
Adrián Chaves
5f4df622a1
test_utils_iterators.py: support Windows the right way
2020-08-13 05:41:06 +02:00
Ajay Mittur
1c4b4cc6b0
Support defining file path based on item in media pipelines ( #4686 )
2020-08-11 14:12:44 +02:00
Andrey Rahmatullin
0cf1340c29
Merge pull request #4663 from ajaymittur28/scrapy-check-test
...
Add Tests to `scrapy check` command
2020-08-10 16:18:29 +05:00
Andrey Rahmatullin
702de0480b
Merge pull request #4564 from jacty/patch-1
...
Unnecessary update when value is None
2020-08-10 16:14:42 +05:00
Andrey Rahmatullin
cad84458ac
Merge pull request #4714 from linchiwei123/fix
...
Remove duplicated install_requires
2020-08-06 12:17:04 +05:00
linchiwei123
4dc09f09aa
Update setup.py
2020-08-05 22:23:19 +08:00
Andrey Rahmatullin
1f0722c87e
Merge pull request #4701 from kshitijcode/weakkeycache-cleanup-4684
...
Code cleanup scrapy.utils.python.WeakKeyCache #4684
2020-08-05 17:48:41 +05:00
Kshitij Sharma
983b7ddf2e
aesthetic fixes
2020-08-05 16:13:52 +05:30
Kshitij Sharma
b35d1f2b2c
deleted tester.py
2020-08-05 09:14:04 +05:30
Kshitij Sharma
9d84289109
deprecated weakkeycache by specifying in __init__
2020-08-05 09:11:59 +05:30
Marc Hernández
336f19f5cc
Change super syntax ( #4707 )
2020-08-04 20:42:01 +02:00
Adrián Chaves
4ee538e44b
Update unicode references from Python 2 times in the documentation ( #4703 )
2020-08-04 20:34:11 +02:00
Adrián Chaves
1278e76d90
Bump version: 2.2.0 → 2.3.0
2020-08-04 20:07:02 +02:00
Adrián Chaves
3600582f56
Cover Scrapy 2.2.1 and 2.3 in the release notes ( #4708 )
2020-08-04 20:05:56 +02:00
Mikhail Korobov
015b71d89f
Merge pull request #4704 from Gallaecio/python2-u-prefixes
...
Remove the u prefix from strings
2020-07-31 01:23:00 +05:00
Adrián Chaves
890b2138a6
Remove the u prefix from strings
2020-07-30 13:39:30 +02:00
Kshitij Sharma
49337bd2ae
Code cleanup scrapy.utils.python.WeakKeyCache #4684 and fixing ci alerts
2020-07-30 12:25:21 +05:30
Kshitij Sharma
33ddc3d4f3
Trigger CI
2020-07-30 09:47:08 +05:30
Mikhail Korobov
5e2d1bd187
Merge pull request #4434 from BroodingKangaroo/ISSUE-4250-add_batch_deliveries
...
Feed exports: add batch deliveries
2020-07-29 23:03:28 +05:00
Kshitij Sharma
403bc7020a
Code cleanup scrapy.utils.python.WeakKeyCache #4684 and fixing ci alerts
2020-07-29 18:05:33 +05:30
Kshitij Sharma
e7a58fe157
Code cleanup scrapy.utils.python.WeakKeyCache #4684
2020-07-29 10:16:18 +05:30
Eugenio Lacuesta
5265853937
Use ItemAdapter.field_names when writing header in CsvItemExporter ( #4668 )
2020-07-28 11:15:14 +02:00
BroodingKangaroo
a6c1d79b7c
pep8 tiny changes
2020-07-28 11:53:05 +03:00
Mikhail Korobov
ce0c25fc85
Merge pull request #4690 from elacuesta/typing-setup-remove-monkeypatches
...
Remove monkeypatches module from mypy section in setup.cfg
2020-07-23 17:56:08 +05:00
Eugenio Lacuesta
8fae3d5bb7
Remove monkeypatches module from mypy section in setup.cfg
2020-07-22 16:08:35 -03:00
Andrey Rahmatullin
f3372a3753
Merge pull request #4254 from elacuesta/spider.parse
...
Change Scraper API to call internal `_parse` method
2020-07-21 17:37:54 +05:00
Akshay Sharma
de297a3a16
enable ANSI color (instead of ANSI color codes) in the Windows terminal #4393 ( #4403 )
...
* changed ie. -> i.e.(spelling error) on lines 667, 763 (issue scrapy#4332)
* updated all text files for issue #4332 (ie. -> i.e.)
* Apply ie. → i.e. in source comments
* ie → e.g.
* modified scrapy/utils/display.py to stop ANSI color sequences in the Windows terminal (issue #4393 )
* modified scrapy/utils/display.py to stop ANSI color sequences in the Windows terminal (issue #4393 )
* enabled virtual terminal processing (pr #4403 )
* check for specific windows 10 version (pr #4403 )
* fixing flake-8 test (pr #4403 )
* added error handling for terminal info (pr #4403 )
* corrected stderr (pr #4403 )
* changed orientation, removed unwanted spaces (pr #4403 )
* no need for style variable (pr #4403 )
* fixing trailing whitespaces
* commenting windows check
* Update scrapy/utils/display.py
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* Update scrapy/utils/display.py
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* Update scrapy/utils/display.py
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* Update scrapy/utils/display.py
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* small fixes
* Shifting _color_support_info() function
* enabled virtual terminal processing (pr #4403 )
* check for specific windows 10 version (pr #4403 )
* fixing flake-8 test (pr #4403 )
* added error handling for terminal info (pr #4403 )
* corrected stderr (pr #4403 )
* changed orientation, removed unwanted spaces (pr #4403 )
* no need for style variable (pr #4403 )
* fixing trailing whitespaces
* commenting windows check
* Update scrapy/utils/display.py
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* Update scrapy/utils/display.py
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* Update scrapy/utils/display.py
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* Update scrapy/utils/display.py
Co-Authored-By: Adrián Chaves <adrian@chaves.io>
* small fixes
* Shifting _color_support_info() function
* error handling
* error handlingy
* raise ValueError
* added in-built function for version comparison
* recommit changes
* changed check -> parse
* version comparison -> parse_version
* added scrapy/utils/display.py in pytest.ini
* Trigger
* Add simple test for scrapy.utils.display._colorize
* Flake8: E501 for tests/test_utils_display.py
* assertEquals -> assertEqual
* Normal formatter for all platforms
* separate test for windows
* all curses under try block
* added global TestStr
* more test added
* small fix
* covering exceptions
* windows test failing
* Refactor output color handling
* Fix pprint test
* fix flake8
Co-authored-by: Adrián Chaves <adrian@chaves.io>
Co-authored-by: Eugenio Lacuesta <eugenio.lacuesta@gmail.com>
2020-07-20 17:23:38 +05:00
BroodingKangaroo
3e0492741d
Another try to fix test errors on Windows
2020-07-19 00:10:29 +03:00
BroodingKangaroo
86f7ac2f2b
Try to fix error at Windows
2020-07-17 18:22:47 +03:00
Artur Shellunts
62a4ede5e9
Remove deprecated classes BaseSgmlLinkExtractor, RegexLinkExtractor and SgmlLinkExtractor ( #4356 )
2020-07-17 12:40:04 +02:00
Adrián Chaves
d29bec60d7
Upgrade PyPy for CI, and test both 3.5 (oldest) and 3.6 (newest) ( #4504 )
...
* Upgrade PyPy for CI, and test both 3.5 (oldest) and 3.6 (newest)
* Log a detailed error message to discover why MockServer is not working
* Go for all lines!
* Disable tests based on mitmproxy while running on PyPy
* Fix test_get_func_args for PyPy 3.6+
* Make testPayloadDefaultCiphers work regardless of OpenSSL default ciphers
* Crossing fingers…
* Rename: testPayloadDefaultCiphers → testPayloadDisabledCipher
* Test the PyPy version currently documented as the minimum required version
* Fix the PYPY_VERSION tag
* Update the documentation about supported PyPy versions
* Also test the latest 3.5 Python version with PyPy
* Fix the PYPY_VERSION value for the latest 3.5 version
* Use pinned dependencies for asyncio and PyPy tests against oldest supported Python versions
* Fix PyPy installation for the pypy3-pinned Tox environment
* Try installing Cython
* Maybe PyPy requires lxml 3.6.0?
* install.rst: minor clarification
* lxml 4.0.0 is required on PyPy
* Require setuptools 18.5+
* Revert "Require setuptools 18.5+"
This reverts commit 017ec33ac2 .
* Maintain lxml as a dependency if setuptools < 18.5 is used
2020-07-17 02:19:24 +05:00
Mikhail Korobov
9a74a71c63
Merge pull request #4682 from noviluni/remove_python2_reminiscence
...
remove python 2 reminiscence in cookies
2020-07-16 23:58:58 +05:00
Adrián Chaves
c4f9250220
Merge branch 'master' into ISSUE-4250-add_batch_deliveries
2020-07-16 17:44:18 +02:00
BroodingKangaroo
41263f61c6
Change single quotes to double in example in docs
2020-07-16 18:41:45 +03:00
Marc Hernández
b97a39fda0
deprecate retry_on_eintr ( #4683 )
2020-07-16 17:38:22 +02:00
Mikhail Korobov
07470e1a3c
Merge pull request #3608 from ejulio/feat-685
...
[MRG+1] Fix for #685 Add Google Cloud Storage Feed Export
2020-07-16 18:11:19 +05:00
Mikhail Korobov
0f2f1acf04
Merge pull request #4458 from scrapy/azure-pipelines
...
Set up CI with Azure Pipelines
2020-07-16 18:09:31 +05:00
Marc
0e0d1ad643
remove python 2 reminiscence in cookies
2020-07-16 14:25:46 +02:00
BroodingKangaroo
8bdcdb0a76
Add quotes to example in docs
2020-07-16 09:13:54 +03:00
Júlio César Batista
38496a00b7
Use the itemlaoders library ( #4516 )
2020-07-15 12:08:36 +02:00
Andrey Rahmatullin
eb1bc74417
Merge pull request #4674 from ashellunts/delete_deprecated_htmlparserlinkextractor
...
Remove deprecated class HtmlParserLinkExtractor
2020-07-15 12:51:42 +05:00
Artur Shellunts
ed5247ca4c
Remove htmlparser.py from tests/ignore.txt
2020-07-14 18:06:11 +02:00
Adrián Chaves
6e119bd3e3
Merge branch 'master' into azure-pipelines
2020-07-14 11:26:19 +02:00
Adrián Chaves
53c323b19d
_is_path → _is_filesystem_path
2020-07-13 15:29:30 +02:00
Adrián Chaves
d54c4496ee
Refactor guess_scheme
2020-07-13 14:37:08 +02:00
Andrey Rahmatullin
0ebba175ea
Merge pull request #4666 from Gallaecio/execution-access
...
Fix permission handling on project generation from template files
2020-07-13 16:01:06 +05:00
Andrey Rahmatullin
b6f8693db9
Merge pull request #4673 from elacuesta/remove-backslash
...
Remove backslash
2020-07-13 11:14:00 +05:00
Aditya Kumar
3f7e8635f4
Allow the parse command to write data to a file ( #4377 )
2020-07-11 08:48:24 +02:00
Artur Shellunts
a6a5fa91da
Remove deprecated class HtmlParserLinkExtractor
...
Issue #4356
2020-07-10 23:10:49 +02:00