-
Notifications
You must be signed in to change notification settings - Fork 615
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
Dependency issue #487
Comments
I guess bd5d098 caused the issue. Probably it then reduces to a situation where something is a bug for someone and feature for someone else. |
Im also seeing this:
|
Me too. It is getting a little bit annoying because other gems start to depend on nokogiri >=1.6 (for example blather). This causes incompatibility issues with gems depending on savon 2.3. I do not know of any workaround, even forking savon is not an option in this case. Wouldn't it be much easier to allow current versions of nokogiri and mentioning the issue for users of ruby 1.8 in the README? At least it would be possible for them to work around the problem. |
thanks for reporting this problem. i will revert this change with the next release. |
@joshsmith is this an issue on supported versions of ruby? (eg: 1.9.x, 2.0). The discussion on PR #496 (which spawned PR #511) seems to have come to the conclusion that this only affects ruby 1.8, which is now at EOL. Full disclaimer : I haven't used savon on ruby 1.8 or 1.9 for a while, and haven't seen this issue crop up at all. A quick perusal of my Gemfile.lock files indicates that nothing else I use has a dependency on nokogiri, which is kind of surprising. |
@tjarratt I'm on 2.0 and definitely having this issue. |
@tjarratt The fix in PR #496 removes the dependency on nokogiri versions smaller than 1.6. So this is currently an issue on every ruby version. The only reason this limitation was added in the first place is the incompatibility of nokogiri => 1.6 with ruby 1.8.7. The PR adds an warning message displayed during installation with rubgems for users of ruby 1.8.7 to avoid nokogiri. This is imho the much much better way of handling the issue than disallowing it for all current of ruby. PR #496 solves this issue and #511 @rubii Any changes we can get #496 in a new patch version of savon? Anything I could do to make that happen? |
Thanks @tjarratt for merging in the changes. This fixes the issue. But I am still waiting for an gem release, because i am using savon as a dependecy in other gems, so the Gemfile is not an option. Any idear when/how you'll be able to release a new gem version? |
Alas, I do not have access to the rubygems.org account for Savon. Hoping @rubiii or some other maintainer with those creds will pop into this thread and release a new gem version. |
Oddly using this in my Gemfile still doesnt fix the issue: It still tells me that i need a specific version of nokogiri: What gives, what am I missing here? |
@tanelsuurhans I think the problem is the "wasabi" dependency, which has the same nokogiri 1.5 lockdown in its gemspec. |
@tanelsuurhans There is a pending pull request for wasabi, which fixes this in the same manner as in savon. Have a look at savonrb/wasabi#35 and https://github.com/hooroo/wasabi |
Yeah I saw it and had to checkout it straight from git. Perhaps we could get both changes properly merged in and released as a minor version bump? |
Is there any reason why we're maintaining ruby 1.8 compatibility? AFAIK it's been EOL for a while. ie: why bother with these weird workarounds for 1.8, just remove the check and make a reasonable assertion what version of Nokogiri we require? |
@rubiii any update on a new gem version being released on rubygems.org to fix this issue? |
There should be a release later this week. Details forthcoming. Sent From A Very Small Keyboard
|
Good news everybody! Savon v2.3.1 and Wasabi 3.2.1 were released last night. These versions don't require Nokogiri <= 1.6, and I explicitly tested that it works with @yolk, @davidsantoso, @amitavmohanty01, @tanelsuurhans, @joshsmith, @lephyrius -- can you try that version out and let me know if it fixes this issue? |
@tjarratt Works. But im starting to see some other issues. |
@lephyrius are you seeing more other than issue #520 where tags in requests have |
@tjarratt That error looks really similar to what im getting. |
@davidsantoso weird, I was able to create a new project with this Gemfile
I'm going to close this issue out and move discussion of bugs in 2.3.1 to the relevant issues. Please re-open this issue or chime back in if this is still unresolved for you. request tags are no longer correct: #529 |
try |
I was able to use savon 2.2.0 with sanitize 2.0.4; but with savon 2.3.0 there is a dependency issue regarding Nokogiri.
The text was updated successfully, but these errors were encountered: