Closed (outdated)
Project:
Drupal core
Version:
9.2.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 May 2017 at 18:16 UTC
Updated:
22 Apr 2021 at 06:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
scott_euser commentedThanks for the hotfix tip! I've tested this with
./vendor/bin/phpunit -c core --group Serializationand all tests pass. Uploading patch to get full suite of tests to run on it.Comment #3
eric_a commented@scott_euser, would our serialization component also be compatible with symfony/yaml 2.8? Given that symfony 3 is supposed to be symfony 2.8 with BC layers removed?
Comment #4
eric_a commentedComment #5
scott_euser commentedI don't know enough to give a good answer, but I'm hoping that the existing Yaml tests have coverage and will return some clues. It's running at the moment
Comment #6
eric_a commented@scott_euser, thanks for chiming in.
You might be interested in #2867960: Merge Component composer.json files to account for them during build. There's some background on the fact that these constraints are not taken into account currently. Also, your patch uses just ~3.2, which is the one that we have some test coverage for in drupal 8.4. Drupal 8.3 has some coverage for symfony/yaml 2.8. It seems likely that the component works fine with both symfony/yaml 3.2 and symfony/yaml 2.8 :-) It's symfony 2.7 and 3.0, 3.1 that are the really interesting constraints here. For example, would
>=2.7 <=4.0.0be expressing the truth.Comment #7
scott_euser commentedI suppose we'd need someone who really understands the difference between the different yaml versions + what the plans are up to 4.x
For reference, throwing in the link to the changelog from 2.8-3.2:
https://github.com/symfony/yaml/blob/master/CHANGELOG.md
Comment #15
quietone commented@scott_euser, thanks for the patch.
This no longer relevant, Drupal 8.9 is using a later version,
"symfony/yaml": "~3.4.5",. closing as outdated.