pantheon-systems / pantheon-systems/terminus-conversion-tools-plugin
Release-to-dev fails when core constraint uses tilde (~)
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
The workaround is to change instances of ~10.3 to ^10.3.0.
Error:
<snip>
drupal/core-recommended (~10.3) is added
[warning] Failed adding and/or installing Drupal 8 dependencies: Failed executing Composer command: The command "'composer' 'require' 'pantheon-systems/drupal-integrations:^' '--no-update'" failed.
Exit Code: 1(General error)
Working directory: /Users/andreangelantoni/Sites/pl-performant-labs-pantheon
Output:
================
Error Output:
================
In VersionParser.php line 521:
Could not parse version constraint ^: Invalid version string "^"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the release-to-dev flow with a dependency using the tilde constraint shown in the issue, then inspect where the Composer require command is assembled. Done means the constraint is preserved or normalized correctly so Composer no longer receives a bare ^ and the release completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100