In composer require-dev many modules are required.
"require-dev": {
"drupal/address": "~1.4",
"drupal/bootstrap": "~3.0",
"drupal/captcha": "~1.0",
"drupal/chosen": "~2.4",
"drupal/entity_print": "^2.1",
"drupal/group": "~1.0",
"drupal/mailsystem": "~4.1",
"drupal/select2": "~1.1",
"drupal/smtp": "~1.0",
"drupal/telephone_validation": "^2.2",
"drupal/token": "~1.3"
}
The version numbers of these modules are going out of date and are quite restrictive, which makes it very difficult for composer to resolve stuff without the --no-dev flag.
Comments
Comment #2
jrockowitz commentedOkay, let's update these version numbers and make them more flexible.
Comment #3
jrockowitz commentedComment #4
jrockowitz commentedLet's try using the latest dev versions.
Comment #5
matslats commentedthat's exactly what I had in mind thanks.
Not sure what there is to review here.
Comment #6
jrockowitz commentedComment #7
jrockowitz commentedI have to test these dev dependency combinations locally.
Comment #8
WagnerMelo commentedHi, i'll try work in this issue. XD
Comment #9
WagnerMelo commentedHI, i worked in this issues, and the patch sended by @jrockowitz at #6 look like that work correctly.
I tried do some test in my local enviroment and everything work ok, all dependencies was downloaded right.
I only notice a stuff, i look in other composer.json file from other modules, and when it requires some modules with the flag -dev, there was writte following this pattern, for exemple "drupal/devel": "5.x-dev@dev". So i'll send a new patch for review.
I expect helped in this issues.
Comment #10
WagnerMelo commentedHi, i'm still working in this issue, to try solve the tests failures.
I found some mistakes on patch, so i'll send other patch to see if we get another result in tests.
Comment #11
WagnerMelo commentedComment #12
lucienchalom commentedI tried to change bartik and seven to alpha releases to see if they now match the constrain for dev.
also used from patch #6 and patch #10, so added an interdiff for both.
Comment #14
jrockowitz commentedThis looks pretty close, and we need to figure out the Bartik css issue.
Comment #15
hmendes commentedI don't understand why we added bartik and seven to this composer.json, removing it to see if the tests pass.
If those 2 lines are needed, please ignore this patch (and if someone can explain to me why to use them I would appreciate it)
Comment #16
jrockowitz commentedBartik and Seven are needed for testing Drupal 10.0.x but we might be able to remove that dependency/
Comment #17
elberHi I was able to install the dependencies putting them in composer.json at the root of directory.
I ran
lando composer installthe installation was cleanly but I don't know if it's enough to switch to RTBCI'm using drupal 9.5 version.
Comment #18
jrockowitz commentedComment #22
jrockowitz commented