Skip to content
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

Could not parse version constraint >=~2: Invalid version string "~2" when installing fullcalendar-scheduler #277

Closed
senguttuvang opened this issue Feb 19, 2017 · 14 comments
Milestone

Comments

@senguttuvang
Copy link

I encountered this issue when attempting to install fullcalendar-scheduler package.

[UnexpectedValueException]
Could not parse version constraint >=~2: Invalid version string "~2"

I tried several variations of the following command to workaround the version issue but nothing helps.

composer require bower-asset/fullcalendar-scheduler

@francoispluchino francoispluchino added this to the 1.3.0 milestone Feb 19, 2017
@francoispluchino
Copy link
Member

It's fixed in the 1.3.0@dev version of this plugin (see 623fe6b).

@dxops
Copy link

dxops commented Feb 27, 2017

@francoispluchino it has an impact on all packages, require dev-master is not so good solution, are you able to tag new release?

@francoispluchino
Copy link
Member

Use the dev-master#2b652ae00f9a59e013d5359301e0bda9ec8be873 version with the SHA to lock the version. The release of the 1.3.0 version is not for tomorrow, but not in a very long time (see the milestone).

@dxops
Copy link

dxops commented Feb 27, 2017

So, I have to make a patch release with dev-master ref and another one for 1.3.0 release? It's not so easy in our case. We are waiting for a release for a week already. Can we tag 1.2.3 or 1.3.0 and 1.4.0 for issue in current milestone?

@francoispluchino
Copy link
Member

Probably for the next versions but not for the 1.2 version. I will not patch and maintain a old branch just for a few days. I understand your point of view, and I also prefer to use a stable version instead of a branch, but you can consider the 1.3.x-dev version as stable. It just lacks a feature. Thanks for your understanding.

@holtkamp
Copy link

Thanks for your understanding.
I understand and can live with it, already happy it was fixed very quick!

Just a question though, this is where the PATCH version of Semantic Versioning is for, right? So dev-master#2b652ae00f9a59e013d5359301e0bda9ec8be873 can be tagged as 1.2.3 and pronto? No need for maintenance etc? Or am I thinking too simple / missing some aspects of version management?

@dxops
Copy link

dxops commented Feb 27, 2017

@holtkamp commits before the fix v1.2.2...master are not semver compatible with 1.2.3 version. Configuration was changed and looks like that is a BC, so requires major version IMO

@francoispluchino
Copy link
Member

@holtkamp See the difference between the v1.2.2 and v1.3.0@dev.

@francoispluchino
Copy link
Member

@SergeyZ YES!

@francoispluchino
Copy link
Member

Several new features have been added, as well as the change to the configuration (with retrocompatibility and depreciation message). I can to postpone the last feature in progress to release the stable version, but I don't want to start maintaining 2 branches.

@holtkamp
Copy link

ok, understood!

@dxops
Copy link

dxops commented Mar 16, 2017

@francoispluchino lets tag 1.3.0 right now and 1.4.0 once #278 merged. This issue is a blocker in most cases and already took almost a month for fix.

@francoispluchino
Copy link
Member

@SergeyZ I am thinking of doing it.

@francoispluchino
Copy link
Member

@SergeyZ The v1.3.0 version is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants