Skip to content

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented May 10, 2018

We've upgraded a dependency and got test failures.

name version specification new version
faraday < 0.15.0, >= 0.8 0.15.1

It looks like this version isn't compatible with your project right now. Please take a look at the exact failure to figure out if this is something you need to work on.

What changed?

✳️ faraday ( → 0.15.1) · Repo · Changelog

Release Notes

From the Github release:

  • NetHttpPersistent adapter better reuse of SSL connections (#793)
  • Refactor: inline cached_connection (#797)
  • Logger middleware: use $stdout instead of STDOUT (#794)
  • Fix: do not memoize/reuse Patron session (#796)

Also in this release:

  • Allow setting min/max ssl version for Net::HTTP (#792)
  • Allow setting min/max ssl version for Excon (#795)
Commits

See the full diff on Github. The new version differs by 7 commits:


Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

Depfu Status

@coveralls
Copy link

coveralls commented May 10, 2018

Pull Request Test Coverage Report for Build 620

  • 0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at ?%

Totals Coverage Status
Change from base Build 618: 0.0%
Covered Lines:
Relevant Lines: 0

💛 - Coveralls


Gem::Specification.new do |spec|
spec.add_dependency 'faraday', ['>= 0.8', '< 0.15.0']
spec.add_dependency 'faraday', ['>= 0.8', '<= 0.15.1']

Choose a reason for hiding this comment

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

Please don't do this. Use at least < 0.16.0 (as it was before) so when a new bugfix-version 0.15.2 is released you don't need to change and release a new version again.

Copy link
Member

Choose a reason for hiding this comment

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

This is a POC PR from depfu, which does a kind of Gemfile spot check upgrading, to see if the build will pass with a very specific version constraint. We won't be merging it. No worries!

Copy link

@Ch4s3 Ch4s3 May 11, 2018

Choose a reason for hiding this comment

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

Yeah, a hard less than requirement on the current minor version is really frustrating for upstream gems that depend on oauth2. For example Sorcery depends on this gem, and anyone using that is currently blocked from using any Faraday version > 0.12.2, but there are bug fixes in 0.13 and 0.14 that are fairly important. I understand your adherence to semver, and desire not to push breaking changes, but I'm not sure it would be so terrible to relax the version requirements on Faraday.

Copy link
Member

@pboling pboling May 11, 2018

Choose a reason for hiding this comment

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

@Ch4s3 @SuperTux88 This PR, or one like it, will be used as a basis to update, and possibly loosen, the faraday dependency. We are working on a new release, but all maintainers are time constrained, and none of us are in "pain" over this issue at the moment. If someone using this gem has time to switch their local dev env to their own fork, and make the changes, and validate the functionality, and push a PR that updates all the appraisal gemfiles and the gemspec, and update specs... that would be awesome.

Copy link
Contributor

Choose a reason for hiding this comment

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

@pboling @Ch4s3 @SuperTux88 take a look @ #385. It works for us.

@pboling pboling added the DO NOT MERGE Do. Not. Merge. label May 10, 2018
@depfu
Copy link
Contributor Author

depfu bot commented May 23, 2018

Closed in favor of #384.


Automated by Depfu.

@depfu depfu bot closed this May 23, 2018
@depfu depfu bot deleted the depfu/update/faraday-0.15.1 branch May 23, 2018 17:15
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.

6 participants