Skip to content

add to distributions #18

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

Open
dmd opened this issue Jan 20, 2025 · 12 comments
Open

add to distributions #18

dmd opened this issue Jan 20, 2025 · 12 comments
Labels
help wanted Extra attention is needed

Comments

@dmd
Copy link
Contributor

dmd commented Jan 20, 2025

It's probably too early to start working on this - you want some more stability first - but here's an issue to track getting this incredible tool added to the major distributions.

@isd-project
Copy link
Owner

isd-project commented Jan 20, 2025

Thank you for the kind words!

I must admit that I am a bit... Let's say hesitant to advocate for it.
I will always support nix and AppImage, which (should) allow all different Distro users to use this tool. This is very important to me.
But that almost every Distro has its own packaging standard/style is not fun. Especially if the time to move from upstream to the user can be years.

Though, I will always be grateful for all users who make it easier to install this tool on their favorite distro 👍

@isd-project isd-project added the help wanted Extra attention is needed label Jan 20, 2025
@septatrix
Copy link

Maybe also publish it on pypi, most distros have tools that allow simple generation of dpkg/rpm/etc. specs for python packages

@isd-project
Copy link
Owner

Good to know. Thanks! 👍

I will add it to the list and publish it to pypi once isd has stabilized a bit.
I have quite a few breaking updates planned, and I would prefer non-rolling distros to wait until then.

@kseistrup
Copy link

Copied from #31:

ArchLinux users can use an AUR helper to install isd directly from AUR with these package names:


If isd make it from AUR to ArchLinux proper, they will build the package from the source code, and not take the nix or appimage road. As with the AUR release, the maintainers of the package will follow the stable releases and ensure they are still buildable, installable, and runnable before upgrading the package.

isd-project added a commit that referenced this issue Feb 1, 2025
This release mainly focuses on improving the packaging side.
`isd` now provides a desktop file and uses a standard size for the icon (fixes #29).

This release will also be available on PyPI. The main reason for publishing
to PyPI is to better support packaging for distros as mentioned in #18.
Due to a naming clash on PyPI, the Python project has been renamed
to `isd-tui`. However, the project will continue to be named `isd`
and the executable will continue to be called `isd`!

The Python wheel only includes the necessary files, including
the `.desktop` file and icon.
The `nix` derivation propagates the `.desktop` file and the icon and makes them
available for Desktops of `nix` users.
Due to a bug in `isd-appimage`, identical `nixpkgs` pins cannot be used for `isd`
(#37 is blocked).

This release also introduces _EXPERIMENTAL_ arm support!
I do _not_ have access to an arm-based machine, and as such, I cannot actually
test the arm-based `AppImage`. The `AppImage` was created by cross-compiling. 
However, I cannot run a cross-platform `AppImage` (should fix #36).
Please let me know if it works for you or not 🙏

At least the arm-based `nix` derivation can be run with QEMU, and it seems to work.

PS: This release also includes a workaround for a `Zellij` bug (fixes #34).
Though upstream already has a bug-fix available until a new version has
been published, `isd` will work around the Zellij issue.
@isd-project
Copy link
Owner

@rpardini
Copy link

rpardini commented Feb 1, 2025

Excellent, thanks.

Worth noting that isd-tui requires Python 3.12, and eg pipx fails to mention this as a reason to fail to install it. That's the case in Debian Bookworm, at least.

pipx install isd-tui works fine on Debian Trixie ("testing", which has 3.13) and also on arm64 🥇

@dmd
Copy link
Contributor Author

dmd commented Feb 1, 2025

Odd - any idea why? You are specifying requires-python = ">=3.12" right?

@isd-project
Copy link
Owner

Probably because pipx doesn manage the Python version (and is one of the reasons why uv > pipx).
What Python version is Debian Bookworm running?
I think I should be able to relax the Python version somewhat.

@dmd
Copy link
Contributor Author

dmd commented Feb 1, 2025

root@f1a748a2b742:/# cat /etc/debian_version
12.9
root@f1a748a2b742:/# apt info python3
Package: python3
Version: 3.11.2-1+b1
Priority: optional
Section: python
Source: python3-defaults (3.11.2-1)
Maintainer: Matthias Klose <doko@debian.org>
Installed-Size: 82.9 kB
Provides: python3-profiler, python3-supported-max (= 3.11), python3-supported-min (= 3.11)
Pre-Depends: python3-minimal (= 3.11.2-1+b1)
Depends: python3.11 (>= 3.11.2-1~), libpython3-stdlib (= 3.11.2-1+b1)
Suggests: python3-doc (>= 3.11.2-1+b1), python3-tk (>= 3.11.2-1~), python3-venv (>= 3.11.2-1+b1)
Replaces: python3-minimal (<< 3.1.2-2)
Homepage: https://www.python.org/
Tag: devel::interpreter, devel::lang:python, devel::library,
 implemented-in::c, implemented-in::python, role::devel-lib,
 role::program, role::shared-lib
Download-Size: 26.3 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian bookworm/main amd64 Packages
Description: interactive high-level object-oriented language (default python3 version)

@isd-project
Copy link
Owner

Python version has been relaxed to 3.11 👍

@rpardini
Copy link

rpardini commented Feb 1, 2025

Confirm. pipx install isd-tui works on Debian Bookworm now

@isd-project
Copy link
Owner

Nice, thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants