How to restrict a module to a specific core version? Drupal 8.3 introduced some changes, which broke a custom module; fixing the changes causes the module to break in previous Drupal versions. One way to handle this would be to require Drupal core to above version 8.3+ for this module. However, the following changes to YAML file does not work.

core: '8.3'
core: '8.3.x'


Drupal shows the following incompatibility message.


  This version is not compatible with Drupal 8.x and should be replaced.


The official documentation does not provide useful information for core keyword. 

So how should Drupal core version requirement specified in the .info file? If not, is there any other way to specify such requirement?
Using core only supports the major version, but you can add a dependency on the system.module with a specific version.

dependencies:
 - system (&gt;=8.3)


Due to a bug in version parsing, you can only do this with the minor version. You can't specify a patch release like 8.3.1.