Skip to content

fix: Update payments dependency version range - #3386

Closed
saurabh6790 wants to merge 1 commit into
version-15-hotfixfrom
saurabh6790-patch-1
Closed

saurabh6790 wants to merge 1 commit into
version-15-hotfixfrom
saurabh6790-patch-1

Conversation

@saurabh6790

Copy link
Copy Markdown
Member

Payments app version 15 branch: the version is 15.0.1, but LMS is looking for >=0.0.1,<1.0.0. Thus, when the user chooses the payments app version-15 branch instead of develop, the deployment fails while validating the dependencies

Traceback

Traceback (most recent call last):
  File "/home/frappe/agent/repo/agent/job.py", line 168, in wrapper
    result = wrapped(*args, **kwargs)
  File "/home/frappe/agent/repo/agent/builder.py", line 369, in validate
    self._validate()
  File "/home/frappe/agent/repo/agent/builder.py", line 376, in _validate
    self._validate_frappe_dependencies()
  File "/home/frappe/agent/repo/agent/builder.py", line 462, in _validate_frappe_dependencies
    self._check_frappe_dependencies(app, frappe_deps)
  File "/home/frappe/agent/repo/agent/builder.py", line 471, in _check_frappe_dependencies
    raise Exception(
Exception: ('Incompatible app version found', 'lms', 'payments', '15.0.1', '>=0.0.1,<1.0.0')

Payments app version 15 branch: the version is 15.0.1, but LMS is looking for `>=0.0.1,<1.0.0`. Thus, when the user chooses the payments app version-15 branch instead of develop, the deployment fails while validating the dependencies 

Traceback
```
Traceback (most recent call last):
  File "/home/frappe/agent/repo/agent/job.py", line 168, in wrapper
    result = wrapped(*args, **kwargs)
  File "/home/frappe/agent/repo/agent/builder.py", line 369, in validate
    self._validate()
  File "/home/frappe/agent/repo/agent/builder.py", line 376, in _validate
    self._validate_frappe_dependencies()
  File "/home/frappe/agent/repo/agent/builder.py", line 462, in _validate_frappe_dependencies
    self._check_frappe_dependencies(app, frappe_deps)
  File "/home/frappe/agent/repo/agent/builder.py", line 471, in _check_frappe_dependencies
    raise Exception(
Exception: ('Incompatible app version found', 'lms', 'payments', '15.0.1', '>=0.0.1,<1.0.0')
```
@saurabh6790
saurabh6790 changed the base branch from version-15 to version-15-hotfix November 23, 2026 10:30
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.75%. Comparing base (bc65a59) to head (c9046f5).
⚠️ Report is 873 commits behind head on version-15-hotfix.

Additional details and impacted files
@@                  Coverage Diff                   @@
##           version-15-hotfix    #3386       +/-   ##
======================================================
+ Coverage              72.43%   82.75%   +10.31%     
======================================================
  Files                    106      110        +4     
  Lines                   8954    10574     +1620     
======================================================
+ Hits                    6486     8750     +2264     
+ Misses                  2468     1824      -644     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants