Closed (fixed)
Project:
Views data export
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2023 at 22:21 UTC
Updated:
16 Nov 2023 at 18:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
acbramley commentedComment #4
elc commentedThis may not be as simple as allowing the extra version - csv_serialization is 3.x branch for D9, and 4.x branch for D10.
Is there a way for this to be specified in composer.json format, or should csv_serialization also be split into two branches?
The require effectively needs to be: (drupal/core:^9, drupal/csv_serialization:^3) || (drupal/core:^10, drupal/csv_serialization:^4) which I don't believe is possible at present.
Another possibility would be hook_requirements informing of the correct version to install.
Comment #5
acbramley commented@ELC composer dependency resolution solves that for us. It won't update to 4.x unless the site is also on D10.
Comment #6
j.b commentedHello,
Can't we have a patch to correct the version in the composer.json while waiting for the merge request to be approved ?
Comment #7
j.b commentedI made the patch for those who can't wait
Comment #8
nagender16 commentedThe patch in #7 working for me
Comment #9
j.b commentedjust add this to your project composer.json
then composer update
Comment #10
markdorison#7 looks good to me.
Comment #11
stijnstroobants+1 RTBC for #7
Comment #12
brooke_heaton commentedThe tip in #9 helped me get this working in composer.json. Thanks @j.b.
Comment #13
solideogloria commentedA patch won't work if applied via Composer, since the composer.json is read prior to patching.
Can we get this committed, please?
Comment #14
solideogloria commentedComment #17
jhedstromThanks all!
Comment #18
acbramley commentedThanks @jhedstrom! Comparing 8.x-1.x to 8.x-1.3, this is the only change so a release would be amazing if possible!
Comment #19
jhedstromDone!