terrapkg / packages

Monorepo for Terra Packages
https://terra.fyralabs.com
GNU General Public License v3.0
36 stars 17 forks source link

add: python3-pillow-heif #1396

Open runlevel5 opened 4 days ago

runlevel5 commented 4 days ago

Motivation

This package is widely used in many Python-based projects and few friends have requested me to package it for them.

Notes

I've successfully got it built with koji but unsure how it would be with anda system. Please kindly provide me guidance if it does not get built successfully

madonuko commented 3 days ago

I think you need python3-rpm-macros as a BuildDependency

runlevel5 commented 3 days ago

I think you need python3-rpm-macros as a BuildDependency

I've just made another commit. Could you please trigger a new build for me? if it works, I will merge 2 commits into 1 and force push

runlevel5 commented 3 days ago

@madonuko to save you time from helping, could you please point me to a doc where I could actually run anda locally to make sure everything works?

madonuko commented 3 days ago

If you have Terra installed, you could install anda via dnf.

https://developer.fyralabs.com/andaman/installation

You will also need to install terra-mock-configs

To manually run anda:

anda build anda/langs/python/python-heif/pkg -c terra-40-x86_64

Make sure your user is in the mock group. (sudo usermod -a -G mock username)

runlevel5 commented 1 day ago

@madonuko it can be built successfully with anda locally. Please help me trigger the CI build

runlevel5 commented 1 hour ago

@madonuko so the issue of the build is related to Python 3.13 (which would be defaulted to on F41). I think for the time-being the package could be built against f40 and f39 only. Possible?

Lastly, how to target f41 build with anda on local machine? Many thanks