Skip to content
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

Update the requests library version to latest (2.22.0) in requirements #4689

Merged
merged 2 commits into from
May 29, 2019

Conversation

VineeshJain
Copy link
Contributor

@VineeshJain VineeshJain commented May 21, 2019

This PR updates the requests package version to the latest (2.22.0) - Closes #4680

@CLAassistant
Copy link

CLAassistant commented May 21, 2019

CLA assistant check
All committers have signed the CLA.

@VineeshJain VineeshJain changed the title Updating the requirements version to latest (2.22.0) Update the requirements version to latest (2.22.0) May 21, 2019
Copy link
Contributor

@m4dcoder m4dcoder left a comment

Choose a reason for hiding this comment

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

@VineeshJain Please fix the commits here. You should have rebased the first commit, amend the title for the commit, and then push it back into the feature branch. This is such a small change. The additional commits are needless and pollutes the commit history. Also, please fix the PR title appropriately. Which module are you updating in requirements? The PR title doesn't mention which module we are updating.

@Kami Kami added this to the 3.1.0 milestone May 22, 2019
@VineeshJain VineeshJain self-assigned this May 24, 2019
@VineeshJain VineeshJain changed the title Update the requirements version to latest (2.22.0) Update the requests library version to latest (2.22.0) in requirements May 24, 2019
@VineeshJain VineeshJain force-pushed the issue-4680/DependencyUpgradeRequests branch 2 times, most recently from ba270e3 to 4a507b5 Compare May 28, 2019 18:46
@m4dcoder
Copy link
Contributor

@VineeshJain Can you run make distclean and make requirements locally and see if additional files are updated. There are other requirements.txt that gets updated automatically when running make requirements. Those auto updated files need to be included in the PR.

@VineeshJain
Copy link
Contributor Author

VineeshJain commented May 28, 2019

@m4dcoder I did make requirements which gave me 3 additional files other than the fixed-requirements.txt file. I committed all 4 of them. Just now I again did make distclean and then make requirements. No new files came in. This is the output after make distclean and make requirements

vagrant@ubuntu-xenial:~/st2$ git status
On branch issue-4680/DependencyUpgradeRequests
Your branch is up-to-date with 'origin/issue-4680/DependencyUpgradeRequests'.
nothing to commit, working directory clean
vagrant@ubuntu-xenial:~/st2$

@m4dcoder
Copy link
Contributor

@VineeshJain Ok thanks for confirming.

@m4dcoder
Copy link
Contributor

Please rebase this feature branch with master and then push again. I will approve after.

@m4dcoder
Copy link
Contributor

Please also add a CHANGELOG entry.

@VineeshJain VineeshJain force-pushed the issue-4680/DependencyUpgradeRequests branch from 4a507b5 to 9dd3574 Compare May 28, 2019 20:21
issue #4680 - This commit updates the requests library to the latest version (2.22.0) in the requirements
@VineeshJain VineeshJain force-pushed the issue-4680/DependencyUpgradeRequests branch from 9dd3574 to 2b671cb Compare May 28, 2019 23:35
issue #4680 - This commit adds a CHANGELOG.rst entry for upgrade of requests
library in requirements
@VineeshJain VineeshJain force-pushed the issue-4680/DependencyUpgradeRequests branch from de65f0d to 6b44258 Compare May 29, 2019 00:02
@VineeshJain VineeshJain requested a review from m4dcoder May 29, 2019 16:12
Copy link
Contributor

@m4dcoder m4dcoder left a comment

Choose a reason for hiding this comment

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

LGTM. Please also get an approval from @Kami since he may have other concerns.

@VineeshJain
Copy link
Contributor Author

Thanks. Will request @Kami for a review before merging.

@VineeshJain VineeshJain requested a review from Kami May 29, 2019 16:40
@Kami
Copy link
Member

Kami commented May 29, 2019

LGTM.

Let's please just make sure it's tested end to end on all the supported distros (RHEL 6, RHEL 7, Ubuntu 14.04, 16.04 and 18.04).

Please also test it in combination with some packs which explicitly specify version of requests in requirements.txt to make sure that there are no conflicts.

On a related note - we may just want to remove version specifier from all the pack requirements.txt files to make sure it doesn't conflict with StackStorm one..

kami ~/w/stackstorm/exchange-all $ ag requests | grep requirements
stackstorm-newrelic/requirements.txt:2:requests
stackstorm-octopusdeploy/requirements.txt:1:requests
stackstorm-lastline/requirements.txt:1:requests>=2.7.0,<3.0
stackstorm-check_mk/requirements.txt:1:requests
stackstorm-gitlab/requirements.txt:1:requests
stackstorm-mistral/requirements.txt:1:requests>=2.5.1
stackstorm-salt/requirements-tests.txt:1:requests-mock
stackstorm-salt/requirements.txt:3:requests
stackstorm-tuleap/requirements.txt:1:requests>=2.7.0,<3.0
stackstorm-cloudshark/requirements.txt:1:requests
stackstorm-reamaze/requirements.txt:1:requests>=2.8.1,<3.0
stackstorm-webpagetest/requirements.txt:1:requests>=2.6.0,<3.0
stackstorm-smartthings/requirements.txt:1:requests>=2.5,<3.0
stackstorm-exos/requirements.txt:1:requests
stackstorm-github/requirements.txt:3:#requests>=2.5.1,<2.6
stackstorm-opsgenie/requirements-tests.txt:1:requests-mock
stackstorm-mmonit/requirements.txt:1:requests>=2.6.0,<3.0
stackstorm-opscenter/requirements.txt:2:requests
stackstorm-dripstat/requirements.txt:1:requests>=2.5.1
stackstorm-puppet/requirements.txt:1:requests>=2.5.0,<3.0
stackstorm-ipcam/requirements.txt:1:requests
stackstorm-network_essentials/requirements.txt:3:requests==2.18.4
stackstorm-travis_ci/requirements.txt:1:requests
stackstorm-hubot/requirements.txt:1:requests
stackstorm-vadc/requirements.txt:1:requests
stackstorm-fireeye/requirements.txt:1:requests>=2.7.0,<3.0
stackstorm-google/requirements.txt:1:requests
stackstorm-prometheus/requirements.txt:1:requests
stackstorm-mailgun/requirements.txt:1:requests>=2.5.0,<3.0
stackstorm-circle_ci/requirements.txt:1:requests
stackstorm-slack/requirements.txt:1:requests>=2.5.0,<3.0
stackstorm-packagecloud/requirements.txt:1:requests
stackstorm-device42/requirements.txt:1:requests>=2.11.1
stackstorm-windows/requirements.txt:4:requests_ntlm
stackstorm-ghost2logger/requirements.txt:3:requests
stackstorm-netbox/requirements.txt:1:requests
stackstorm-nagios/requirements.txt:2:requests[security]>=2.7.0

@VineeshJain VineeshJain merged commit b5baaae into master May 29, 2019
@VineeshJain VineeshJain deleted the issue-4680/DependencyUpgradeRequests branch May 29, 2019 17:34
@VineeshJain
Copy link
Contributor Author

Yes, I tested end to end explicitly for RHEL6, RHEL7. Commit tested end to end for centos7, Ubuntu 16 and Ubuntu 18. I will run the test explicitly for Ubuntu 14

@blag blag mentioned this pull request Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dependency Upgrade: Requests
4 participants