Package Details: python-hat-doit 0.16.2-1

Git Clone URL: https://aur.archlinux.org/python-hat-doit.git (read-only, click to copy)
Package Base: python-hat-doit
Description: Hat build utility functions
Upstream URL: https://github.com/hat-open/hat-doit
Licenses: Apache
Submitter: bkopic
Maintainer: bkopic
Last Packager: bkopic
Votes: 0
Popularity: 0.000000
First Submitted: 2023-01-01 21:58 (UTC)
Last Updated: 2025-03-23 18:14 (UTC)

Latest Comments

bkopic commented on 2025-07-17 20:57 (UTC) (edited on 2025-07-17 20:58 (UTC) by bkopic)

i think that problem here is dependencies version numbers

for example: flake8 7.1.2 depends on pycodestyle >=2.12.0, but flake8 7.2.0 depends on pycodestyle >=2.13.0

at this time, extra repository includes flake8 7.2.0 and pycodestyle 2.12.0 which are not officially compatible. when flake8 is used as dependency of other packages (as is case for hat-doit), "python -m build" tries to resolve all transitive dependencies and include pycodestyle >=2.13.0 into list. because this version of pycodestyle is not available, error is reported.

until pycodestyle in extra repo is updated to 2.13.0, i can suggest one of these solutions:

  • if flake8 7.1.2 is available in /var/cache/pacman/pkg, use "pacman -U" to downgrade flake8

  • you can temporary disable dependency checking in "python -m build" by adding -x flag

baronmog commented on 2025-07-16 23:21 (UTC) (edited on 2025-07-16 23:22 (UTC) by baronmog)

Build fails because it can't find dependencies that are already installed:

ERROR Missing dependencies: doit>=0.36.0 importlib-metadata>=4.4 flake8>=7.1.2 pycodestyle>=2.13.0