Comments

catch created an issue. See original summary.

klausi’s picture

In this case we can't upgrade because guzzle is not there yet, so we are up to date. I don't think this should be critical then, because there is nothing we can do now on the Drupal side of things and this should not block an RC of D8.

@catch: can we downgrade to major?

aspilicious’s picture

I think there will be a guzzle release tomorrow, so why not keeping this critical for a day. :)

stefan.r’s picture

Only one issue open anymore before they'll tag a new release: https://github.com/guzzle/guzzle/pull/1202#issuecomment-138116978

catch’s picture

@klausi we decided to use tagged releases of vendor libraries, and also the latest tagged release. We're on a commit hash because when we tried to update to Guzzle 6 it wasn't possible without that issue fixed, and we expected there to be a tagged release before we got to this point. Guzzle not having had a tagged release for a couple of months and having to release with a git hash is something I'd want to discuss before downgrading, since it's not a good sign for future updates to Guzzle (and past updates to Guzzle haven't been particularly smooth either). However given it looks like there'll be a tagged release this week we can save all that discussion and just wait for https://github.com/guzzle/guzzle/pull/1202#issuecomment-138116978

If that goes on longer than expected let's revisit though.

lawxen’s picture

I don't think the updatting of guzzle shuould prevent the RC release of drupal8. It will make some people like me who are building website through drupal 8 very worry.If we want drupal 8 be perfect with nothing being said nod good ,The Drupal 8 won't be release for ever.

dawehner’s picture

@lxsnzx
I would relax. There are still other criticals which needs to be solved first. Once those are done we can worry about this issue again, which though I think will be resolved until then anyway.

davidlark’s picture

This could be an ongoing issue. With so many components used under the "proudly found elsewhere" philosophy, it is likely that one of them would be close to a new release at any moment. While waiting for that release, another component would approach a release date. A policy of postponing Drupal releases for component releases could mean that Drupal releases never happen. Another downside would be the occasional need for Drupal developers to get sidetracked into working on these component projects.

I'm assuming that there has been some broader discussion elsewhere, and that I probably shouldn't even be posting this here. The correct policy, it seems to me, would be to postpone releases only to cure critical issues.

Anyway, I've decided to postpone work with D8 until RC time, so I've been watching the issue queue daily. Thanks to all for your hard work.

dawehner’s picture

This could be an ongoing issue. With so many components used under the "proudly found elsewhere" philosophy, it is likely that one of them would be close to a new release at any moment.

I think some people don't really understand the actual issue here, so let's describe it clearer:

We need a specific version of guzzle (unlike all other dependencies). That specific version (commit ID) is not yet backed by a release.
This is not about every every external dependency we have.

dawehner’s picture

Status: Postponed » Needs review
StatusFileSize
new42.3 KB

As said, we worried way too much on that particular issue.
IMHO that worrying energy should be put directly into solving more major bugs, I mean seriously, there are many issues to help out, its a much better investment of your time to work on an issue than to discuss these kind of things.

dawehner’s picture

Issue tags: +D8 Accelerate

.

stefan.r’s picture

Status: Needs review » Reviewed & tested by the community

composer.json/composer.lock look good, composer require guzzlehttp/guzzle still works, tests are green, and no differences in src files with a git checkout of guzzle 6.1.0. Seems ready to me :)

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Awesome, thanks.

Committed and pushed to 8.0.x.

  • webchick committed 472403c on 8.0.x
    Issue #2563799 by dawehner: Upgrade Guzzle to a tagged release
    
xano’s picture

Thanks! Is there a reason we don't want Guzzle 6.2 once it is released?

webchick’s picture

AFAIK ~6.1.0 means "Anything between 6.1.0 and 7.0." We would update to 6.2.0 once it becomes available, and/or once we start on the 8.0.0 checklist, if it were available by then.

dawehner’s picture

AFAIK ~6.1.0 means "Anything between 6.1.0 and 7.0." We would update to 6.2.0 once it becomes available, and/or once we start on the 8.0.0 checklist, if it were available by then.

Exactly, the ~ is the magic. http://qpleple.com/understand-composer-versions/ is a really great piece of documentation about which versions to use

longwave’s picture

I think what @Xano was getting at is that "~6.1.0" means >=6.1.0 and <6.2. We probably want "~6.1" to indicate >=6.1 and <7.0?

plach’s picture

Status: Fixed » Needs review
StatusFileSize
new946 bytes

It seems 6.1.0 was tagged only a few minutes ago:

https://github.com/guzzle/guzzle/releases/tag/6.1.0

Here's a patch to fix that.

I didn't address #15 - #18 yet, since the current choice may be intentional. @dawehner?

plach’s picture

Sorry, I missed #17 which seems to imply this was an oversight.

dawehner’s picture

Status: Needs review » Fixed

OH I see, the tag was there, but the package on packagist wasn't updated yet. I always run into that.
Note: This patch will do the same as #2565337: Upgrade to Symfony 2.7.4 given that the composer.json file is updated there as well. I'll mark the issue as fixed, I hope this is okay.

xano’s picture

Status: Fixed » Needs review

I think what @Xano was getting at is that "~6.1.0" means >=6.1.0 and <6.2. We probably want "~6.1" to indicate >=6.1 and <7.0?

Exactly. With ~6.1.0, we basically lock the minor version as well. ~6.1 only locks the major version. See @plach's patch in #20 for this fix, and https://getcomposer.org/doc/articles/versions.md#next-significant-releas... for the official documentation.

I am setting this back to needs review, because comments #16 and #17 indicate we may have accidentally committed the wrong version constraint, and #20 fixes that. @webchick, @dawehner, can you confirm?

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Ah interesting point, thank you @xano

hussainweb’s picture

@Xano, @dawehner: I think that we should review the version constraints for various components anyway. For instance, I don't think we are using PHPUnit 4.8.*. See my comment in #2400407-141: [meta] Ensure vendor (PHP) libraries are on latest stable release. Should we deal with this in a new issue? I don't think any of this blocks anything but composer workflow (we maintain a composer.lock).

dawehner’s picture

Well, at least IMHO this patch is now no longer critical ... given that it does not update code which is what we should care about?

hussainweb’s picture

@dawehner: Yes, that's the point. We can deal with all version constraints in another non-critical issue.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Going to only the minor (vs. patch) release is more consistent with what other libs are doing, so agreed with this change, but any further of tweaking of version values in composer.json, let's do in a non-critical follow-up.

Committed and pushed to 8.0.x. Thanks!

  • webchick committed bcea789 on 8.0.x
    Issue #2563799 follow-up by plach, dawehner, Xano: Upgrade Guzzle to a...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.