Package Details: erpnext 15.42.0-1

Git Clone URL: https://aur.archlinux.org/erpnext.git (read-only, click to copy)
Package Base: erpnext
Description: Free and open source Enterprise Resource Planning (ERP).
Upstream URL: https://github.com/frappe/erpnext
Licenses: GPL-3.0-or-later
Submitter: Spixmaster
Maintainer: Spixmaster
Last Packager: Spixmaster
Votes: 3
Popularity: 0.007134
First Submitted: 2023-03-03 12:58 (UTC)
Last Updated: 2024-11-13 17:09 (UTC)

Latest Comments

1 2 Next › Last »

Spixmaster commented on 2024-09-12 19:50 (UTC)

In that case, I have no idea why your error message mentioned here appears.

Spixmaster commented on 2024-09-12 19:50 (UTC)

In that case, I have no idea why your error message mentioned here appears.

wakamoto commented on 2024-09-12 17:31 (UTC)

yes i already downgraded it and tried two helpers and both have the same error

Spixmaster commented on 2024-09-12 16:51 (UTC) (edited on 2024-09-12 16:54 (UTC) by Spixmaster)

Look at the PKGBUILD of frappe-bench. python-hatchling is already stated as a make dependency. I do not know why it is not installed for you. This has to be an issue with your AUR helper.

When I install frappe-bench the error is:

==> Starting build()...
* Getting build dependencies for wheel...

ERROR Missing dependencies:
    hatchling<=1.21.0,>=1.6.0
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'frappe-bench-5.22.9-1':
error: packages failed to build: frappe-bench-5.22.9-1

The installed version on my system is 1.24.2 which is to new. You have to downgrade it.

wakamoto commented on 2024-09-12 11:22 (UTC)

@Spixmaster yes its the frappe-bench and thats the rest of the error i get

 ERROR Backend 'hatchling.build' is not available.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'frappe-bench-5.22.9-1':
error: can't build erpnext-15.35.0-1, deps not satisfied: frappe-bench
error: packages failed to build: frappe-bench-5.22.9-1  erpnext-15.35.0-1

Spixmaster commented on 2024-09-12 10:14 (UTC)

@wakamto, python-hatchling is neither defined as a dependeny here nor can I find any import of hatchling in the source code.

Are you sure that frappe-bench does not produce the error while building it?

Please show me exactly where ERPNext required python-hatchling.

wakamoto commented on 2024-09-11 23:54 (UTC)

Please add python-hatchling to the makedepends array:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
pyproject_hooks._impl.BackendUnavailable: Cannot import 'hatchling.build'

ERROR Backend 'hatchling.build' is not available.
==> ERROR: A failure occurred in build().

Spixmaster commented on 2024-06-29 05:57 (UTC)

That is an issue with frappe-bench. An old version of python-hatchling is expected. Downgrade and it should work as expected. Alternatively, you could modify the required version to have to upper limit but that might cause issues.

There is nothing I can fix about that. This is how Python on Arch Linux works. Dependencies are installed system wide.

vncvx commented on 2024-06-29 01:09 (UTC)

For some reason I have this error that couldn´t resolve all dependencies:

ERROR Missing dependencies: hatchling<=1.21.0,>=1.6.0 ==> ERROR: A failure occurred in build(). Aborting... -> Failed to install layer, rolling up to next layer.error:error making: frappe-bench - exit status 4


But, the following pkg is installed: Packages (1) python-hatchling-git-1.25.0.r2.g72e09428-1

pullmoll commented on 2023-05-05 20:03 (UTC)

Understood, perfect! Thank you very much for the information about the wiki entry, which I wasn't aware of and did not search for it I must admit. Perhaps leave a sticky note in the comment list where you refer directly to the wiki article if someone else discovers your work.