purcell / package-lint

A linting library for elisp package metadata
GNU General Public License v3.0
194 stars 34 forks source link

org-mode package-requires lint errors #236

Open gsingh93 opened 2 years ago

gsingh93 commented 2 years ago

The org package ships with Emacs, but there is a newer version on ELPA that can be download

In my package, I have set Package-Requires: ((emacs "25.1") (org "9.4")), which has all the org APIs I need. But package-lint is giving errors saying that I should depend on a higher version of emacs:

45:14: error: You should depend on (emacs "27.1") if you need `org-timestamp-from-string'.
46:22: error: You should depend on (emacs "27.1") if you need `org-timestamp-to-time'.
77:11: error: You should depend on (emacs "26.1") if you need `org-duration-from-minutes'.
96:3: error: You should depend on (emacs "26.1") if you need `org-duration-to-minutes'.
128:5: error: You should depend on (emacs "27.2") if you need `org-back-to-heading-or-point-min'.

What's the right way to fix this?