Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Composer update to 2.4-RC3 #7369

Merged
merged 1 commit into from
Mar 26, 2015

Conversation

weierophinney
Copy link
Member

During composer update I get:

[RuntimeException]                                                                                                                                                             
  Could not load package zendframework/zendframework in http://packagist.org: [UnexpectedValueException] Could not parse version constraint ^1.0: Invalid version string "^1.0"

Dash is new composer feature available in master branch. In our company we use only last "stable" version (current alpha9). I think we should also define supported composer version in zf2. Currently we are not able to test RC or switch to 2.4 in future :(

@snapshotpl
Copy link
Contributor Author

Related commit: 126f91c

@weierophinney
Copy link
Member

I was unaware that the ^ notation had not been released in a stable version of Composer; I'll update immediately; thanks for the report!

@weierophinney weierophinney added this to the 2.4.0 milestone Mar 26, 2015
@weierophinney weierophinney self-assigned this Mar 26, 2015
Per zendframework#7369, the "dash" operator (`^`) has not yet been released in a stable
composer version, and we cannot therefore use it to define version constraints.
@snapshotpl
Copy link
Contributor Author

Thank @weierophinney for fast feedback and fix! Looks good for me 👍

weierophinney added a commit that referenced this pull request Mar 26, 2015
@weierophinney weierophinney merged commit c007855 into zendframework:master Mar 26, 2015
weierophinney added a commit that referenced this pull request Mar 26, 2015
@weierophinney weierophinney deleted the hotfix/7369 branch March 26, 2015 17:19
@weierophinney
Copy link
Member

@snapshotpl I've tagged 2.4.0rc4 at this time with this change; please let me know if you have any further issues!

@snapshotpl
Copy link
Contributor Author

@weierophinney Unfortunately we still get issue. After research we have found that in file .composer/cache/repo/https---packagist.org/provider-zendframework$zendframework.json in rc3 ^ exists and fails composer update. Possible solution for that is remove affected tag (rc3) from packagist.

@snapshotpl
Copy link
Contributor Author

@weierophinney any chance to remove RC3?

@Ocramius
Copy link
Member

Removing tags is not an option
On Mar 30, 2015 8:43 AM, "Witold Wasiczko" [email protected] wrote:

@weierophinney https://github.com/weierophinney any chance to remove
RC3?


Reply to this email directly or view it on GitHub
#7369 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants