-
Notifications
You must be signed in to change notification settings - Fork 20
Support zend-expressive-authentication alpha3 #15
Support zend-expressive-authentication alpha3 #15
Conversation
@@ -26,10 +26,10 @@ | |||
"psr/container": "^1.0", | |||
"psr/http-message": "^1.0.1", | |||
"psr/http-server-middleware": "^1.0", | |||
"zendframework/zend-expressive-authentication": "^1.0.0alpha1 || ^1.0" | |||
"zendframework/zend-expressive-authentication": "^1.0.0alpha3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove ^1.0?
Check last commit and build before that commit.
…On 24 Feb 2018, 14:11 +0000, Geert Eltink ***@***.***>, wrote:
@xtreamwayz commented on this pull request.
In composer.json:
> @@ -26,10 +26,10 @@
"psr/container": "^1.0",
"psr/http-message": "^1.0.1",
"psr/http-server-middleware": "^1.0",
- "zendframework/zend-expressive-authentication": "^1.0.0alpha1 || ^1.0"
+ "zendframework/zend-expressive-authentication": "^1.0.0alpha3"
Why did you remove ^1.0?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I agree with increasing the minimum requirement to Edit: Let me explain... The build was failing because the minimum requirement was |
How about `1.0.x-dev`?
… Le 24 févr. 2018 à 10:27, Geert Eltink ***@***.***> a écrit :
I agree with increasing the minimum requirement to ^1.0.0alpha3. I don't understand why you need to remove the ^1.0 constraint.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Not sure if that works with the lowest test. What we have in other expressive packages is like this:
I'd like to see some consistency across all packages :) |
Let’s make it happen then ^^
… Le 24 févr. 2018 à 10:34, Geert Eltink ***@***.***> a écrit :
How about 1.0.x-dev?
Not sure if that works with the lowest test. What we have in other expressive packages is this:
"zendframework/zend-expressive-router": "^3.0.0alpha1 || ^3.0",.
I'd like to see some consistency across all packages :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It's not gonna work, please check travis build with lowest deps.
…On 24 Feb 2018, 14:35 +0000, Julien Guittard ***@***.***>, wrote:
Let’s make it happen then ^^
> Le 24 févr. 2018 à 10:34, Geert Eltink ***@***.***> a écrit :
>
> How about 1.0.x-dev?
>
> Not sure if that works with the lowest test. What we have in other expressive packages is this:
>
> "zendframework/zend-expressive-router": "^3.0.0alpha1 || ^3.0",.
>
> I'd like to see some consistency across all packages :)
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or mute the thread.
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I've created that issue: composer/composer#7137 |
Or our numbering of alpha versions is wrong: https://semver.org/spec/v2.0.0.html#spec-item-9
|
I've never seen alpha, beta, or rc use anything other than `/(a|alpha|b|beta|rc)\d+/i' syntax; that semver doc is an outlier. :-/ With regards to prefer-lowest, I recall seeing that with the skeleton's alpha3 release when I was preparing it. My recollection is that it only downgraded to a previous alpha if the In the meantime, surprisingly, |
That usage is the problematic usage. As @webimpress notes (I've confirmed locally), Composer is erroneously selecting an earlier alpha release when we include the What works as a workaround is only including the constraint that lists the minimum alpha release we allow. What's interesting about that is that this will continue to pick up any stable releases as well, as if we'd pinned to |
The same trait from zend-expressive-authentication is used Fixes #14
If we have "^1.0.0alpha3 || ^1.0" also alpha1 is accepted when install lowest dependencies
Thanks, @webimpress |
Fixes #14 by removing unused trait.