Problem/Motivation
A Drupal 10 alpha is coming very soon #3251854: [META] Requirements for tagging Drupal 10.0.0-alpha1!
It'd be great if token could mark itself as compatible with D10so we can begin the transition. Marking it as D10 compatible means that we intend for the current major (or new major if you prefer?!) to be compatible with D10, even if it is not truely compatible as is.
Steps to reproduce
With a Drupal 10 project, try to composer require drupal/token
Proposed resolution
Update constraints in composer.json and info.yml
Issue fork token-3259259
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
dpiI'm opening this since Token is a very common dependency, and to get discussion started.
You can see Drupal CI errors when token is required, as per https://www.drupal.org/pift-ci-job/2298120
Comment #4
BerdirThanks, yes, this is helpful to check progress. But I don't think I'll be committing this before the tests are actually passing. Caused some weird edge cases in the past where you could install certain versions of the module before it was really compatible. There is an issue for the setUp change that needs review, and also one for the $modules definitions that is already RTBC, after that we should already be able to see some progress with this.
Comment #5
dpiThanks @Berdir,
Has there been any consideration for a new major version new dev could be based off?
This should counter the concern where there aren't any 100% compatible versions with a certain dependency, since there would be no stable releases based off this theoretical new major.
Comment #6
BerdirNo, I don't plan to do a new major version. If you want to help push this forward then help with the blocking issues that people are working on.
Comment #7
BerdirCommitted two issues, this needs a rebase as 8.x is no longer supported now.
Comment #8
BerdirComment #10
BerdirYay, green, committed.
Comment #11
dpiThanks @Berdir, appreciated.
Comment #12
dpiAnother thanks, I'm able to make projects Drupal 10 compatible by getting up to date by removing deprecations, and since these dependencies are declared-ready, I can have an automated runner remind me of new incompatibilities on a weekly basis.