johannesjh / req2flatpak

Convert Python package requirements to Flatpak build manifests
https://johannesjh.github.io/req2flatpak/
MIT License
19 stars 2 forks source link

Error - Specify version as 'package==version' #69

Closed EvilSupahFly closed 3 months ago

EvilSupahFly commented 3 months ago

So, I have my requirements.txt file, which has some packages listed as package>=version which is normally fine. However, req2flatpak seems to want fixed package numbers (package==version). Is that by design, or just an oversight?

cbm755 commented 3 months ago

I think that's by design: req2flatpak is not a dependency resolver.

cbm755 commented 3 months ago

Here's what is says in the docs:

...whereas req2flatpak.py asks the user to provide a fully resolved list of dependencies with frozen dependency versions. Various tools exist which make this easy, e.g., pip, pip-compile and poetry.

https://johannesjh.github.io/req2flatpak/main/introduction.html#related-work