-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
removed support for tor #2200
base: master
Are you sure you want to change the base?
removed support for tor #2200
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps, instead of removing it completely like this, wouldn't it be better to start notifying in the terminal that this feature is deprecated and will be removed in a future version? Just a smoother process for removing the feature so as not to catch users by surprise.
@matheusfelipeog This is part of the backlog for the bump to 0.15.0 and deprecation would be in the release notes alongside other planned breaking changes (i.e. importable module name changed for parity with package) Thoughts on sufficiency? Note that users can still use --proxy to route requests through a tor proxy (for the very few users that may exist) |
@sdushantha Was this just a simple application of the patch or are there additional changes on top? Linting seems to fail but that's minor enough |
@ppfeister Yes, I understand that. I think I wasn't very clear about the idea; I'll improve it:
We already do something similar to inform that there is a new update of Sherlock, for example. This makes the transition smooth and doesn't surprise the users. And realistically, very few people read the release notes. |
Apparently because of this:
|
@ppfeister This was a simple application of the patch |
@matheusfelipeog I follow what you're saying. I lean slightly towards the "remove it now" side of the fence for this specific flag, but I'm not opposed to keeping it with a deprecation warning. One thing I'd change, however... If keeping it around for another version, I think we should adjust the import behavior to make it optional, as described in #2130. Prompt on first Thoughts? |
Not sure why it's not in my patch file, but I was removing via sed in my spec instead.
@ppfeister I agree. We can set it as optional in the [tool.poetry.dependencies]
torrequest = { version = "^0.1.0", optional = true }
[tool.poetry.extras]
torrequest = ["torrequest"] Users can install with: pip install 'sherlock-project[torrequest]' The remaining handling should be done in the code to avoid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes approved for rel 0.16.0
PR assigned to new issue on 0.16.0 project board
Support for Tor has been removed. If users want to use Tor, it can be done using
--proxy