Skip to content

Remove deprecated code #169

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

Merged
merged 4 commits into from
Mar 24, 2021
Merged

Conversation

Gallaecio
Copy link
Member

@Gallaecio Gallaecio commented Mar 24, 2021

Closes #150

@codecov
Copy link

codecov bot commented Mar 24, 2021

Codecov Report

Merging #169 (af51c6e) into master (1b6ce31) will decrease coverage by 0.68%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
- Coverage   94.40%   93.72%   -0.69%     
==========================================
  Files           7        6       -1     
  Lines         465      430      -35     
  Branches       92       88       -4     
==========================================
- Hits          439      403      -36     
- Misses         16       19       +3     
+ Partials       10        8       -2     
Impacted Files Coverage Δ
w3lib/html.py 95.32% <ø> (+1.63%) ⬆️
w3lib/url.py 97.90% <100.00%> (-0.07%) ⬇️
w3lib/util.py 46.66% <0.00%> (-13.34%) ⬇️

@Gallaecio Gallaecio changed the title Remove deprecated w3lib.form Remove deprecated code Mar 24, 2021
@wRAR
Copy link
Member

wRAR commented Mar 24, 2021

Should #150 be closed?

@Gallaecio
Copy link
Member Author

Should #150 be closed?

Suffice to say, I had forgotten about it, and I did not bother checking for related pull requests.

@Gallaecio Gallaecio merged commit ef5c110 into scrapy:master Mar 24, 2021
import warnings
from io import BytesIO

from w3lib.util import unicode_to_str
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you mind adding deprecation warnings to these functions? I think this was the only place unicode_to_str is used, and the names are all wrong

@kmike kmike added this to the 2.0.0 milestone Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants