we are developed Custom App by using version 15 and while hosting in frappe cloud (Version 15) showing the below error.
Invalid version format for app ‘appname’. Please use NPM-style semver ranges (e.g. ‘>=15.0.0 <16.0.0’).
lms:develop branch is no longer compatible with bench of Version 15
Frappe Cloud recently introduced stricter versioning rules for all apps → both Marketplace and private/custom apps. All apps must now use a pyproject.toml file and declare a bounded Frappe dependency in it. Frappe
Your app is missing this declaration (or has it in the wrong format), so Frappe Cloud rejects it.
Open your app’s pyproject.toml (in the root of your repo) and add this section: [tool.bench.frappe-dependencies]
frappe = “>=15.0.0,<16.0.0”
Use the version range that matches the Frappe version you’re targeting — e.g. >=15.0.0,<16.0.0 for v15, or >=16.0.0,<17.0.0 for v16.
Important Syntax Note
A bounded version must specify both a lower bound (minimum) and an upper bound (maximum). Frappe Also, for semantic checks, multiple restrictions must be separated by a comma → a space is invalid.