Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Flatpak #618

Closed
wants to merge 2 commits into from
Closed

Add Flatpak #618

wants to merge 2 commits into from

Conversation

chidiwilliams
Copy link
Owner

@chidiwilliams chidiwilliams commented Oct 29, 2023

No description provided.

@chidiwilliams chidiwilliams changed the title add flatpak Add Flatpak Oct 29, 2023
@chidiwilliams chidiwilliams marked this pull request as draft October 29, 2023 16:34
@chidiwilliams chidiwilliams linked an issue Oct 29, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Oct 29, 2023

Codecov Report

Merging #618 (02443fe) into main (2567d7f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #618   +/-   ##
=======================================
  Coverage   76.63%   76.63%           
=======================================
  Files          56       56           
  Lines        2850     2850           
=======================================
  Hits         2184     2184           
  Misses        666      666           
Flag Coverage Δ
Linux 74.31% <ø> (ø)
Windows 76.08% <ø> (ø)
macOS 74.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@chidiwilliams
Copy link
Owner Author

This is currently blocked because ONNX runtime doesn't publish source distributions (microsoft/onnxruntime#18036, microsoft/onnxruntime#13507).

> python flatpak-pip-generator.py buzz-captions
...
Traceback (most recent call last):
  File "/Users/chidiwilliams/src/buzz/flatpak-pip-generator.py", line 298, in <module>
    url = get_tar_package_url_pypi(name, version)
  File "/Users/chidiwilliams/src/buzz/flatpak-pip-generator.py", line 92, in get_tar_package_url_pypi
    raise Exception(err)
Exception: Failed to get onnxruntime-1.14.1 source from https://pypi.org/pypi/onnxruntime/1.14.1/json

@chidiwilliams chidiwilliams deleted the add-flatpak branch January 10, 2024 09:29
@raivisdejus raivisdejus restored the add-flatpak branch August 3, 2024 18:10
@faveoled
Copy link
Contributor

faveoled commented Dec 8, 2024

You can use --ignore-pkg with flatpak-pip-generator and then install package manually from wheel. Example here:
https://github.com/flathub/org.pgadmin.pgadmin4/blob/7b73f51a39df437c941ac0b9923296ee30f5b72b/org.pgadmin.pgadmin4.yml#L96C1-L110C35

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.

Package as Flatpak and publish at Flathub
2 participants