Skip to content

deprecating fake user agent and installing from github#83

Merged
vsoch merged 3 commits into
masterfrom
deprecate-fake-useragent
Aug 22, 2022
Merged

deprecating fake user agent and installing from github#83
vsoch merged 3 commits into
masterfrom
deprecate-fake-useragent

Conversation

@vsoch

@vsoch vsoch commented Aug 18, 2022

Copy link
Copy Markdown
Collaborator

We are running into an issue (that I anticipated) that the original fake-useragent on pip is no longer working, so switching over to the alternative.

Signed-off-by: vsoch vsoch@users.noreply.github.com

vsoch added 2 commits August 18, 2022 17:25
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch

vsoch commented Aug 18, 2022

Copy link
Copy Markdown
Collaborator Author

Testing container is here urlstechie/urlchecker-action#100 and will link to issue that was opened on the action.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Comment thread setup.py
install_requires=INSTALL_REQUIRES,
install_requires=INSTALL_REQUIRES
+ [
"fake-useragent @ git+https://github.com/danger89/fake-useragent@master#egg=fake-useragent"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

cant we just use pip instead of a link to gh here? or why are we using github instead of pip? is the dev version better than the released?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Since the setup.py is controlling how pip installs the entire package, it needs to be in this format to work. Otherwise the installing user would have to run two separate commands, which is weird. You can try it out locally to see how it works!

@SuperKogito SuperKogito left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks good to me with the exception of the specified link. However, if you deem that needed then it is all good.

@vsoch

vsoch commented Aug 19, 2022

Copy link
Copy Markdown
Collaborator Author

Awesome! I’m going to verify that this fixes the bug that was opened on the action (where I have another PR branch for a user to test) and then I’ll merge here, likely end of day Friday or whenever the person can test!

@vsoch vsoch merged commit 73536c5 into master Aug 22, 2022
@vsoch vsoch deleted the deprecate-fake-useragent branch August 22, 2022 14:46
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.

2 participants