Enhance & Re-Work Snap

Bug #2030319 reported by Sameer Sharma
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Thonny-Snap
In Progress
Medium
Sameer Sharma

Bug Description

(TO-DO)

1) Build Snap Atop Core24. ✅ (Best Efforts Only)
2) Build for arm64 ❌ (Not an Urgent Priority)
3) Build from source. ⛔ (May not be technically feasible)

(Justification)

1) Older cores doesn't support newer devices and components due to lack of newer graphics software.
2) Slower and uses bases that aren't prevalent.
3) Increased maintenance & users need to download older extensions and cores.
4) Support for arm64.
5) End of dependence on Upstream tar-balls.

Changed in thonny-snap:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Sameer Sharma (capecrusader-121)
Revision history for this message
Sameer Sharma (sameersharma2006) wrote :

Not a current priority.

Changed in thonny-snap:
importance: Medium → Low
Revision history for this message
Sameer Sharma (sameersharma2006) wrote (last edit ):

We need to prepare for some tough conditions as the upstream has confirmed to stop tar balls for thonny releases from V5+ , this will put the snap packaging at jeopardy.

We will have to use the script provided by the upstream to make tar balls or do some magic by ourselves to fit thonny in snap sandbox.

Changed in thonny-snap:
importance: Low → High
status: Triaged → In Progress
summary: - Use Core20 As Snap Base
+ Use Core20/core22 As Snap Base
description: updated
description: updated
summary: - Use Core20/core22 As Snap Base
+ Use Core20/Core22 As Snap Base
description: updated
summary: - Use Core20/Core22 As Snap Base
+ Use Core22 As Snap Base
description: updated
summary: - Use Core22 As Snap Base
+ Enhance & Re-Work Snap
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Sameer Sharma (sameersharma2006) wrote :

Plan B;

Build thonny tar ball by self & then re-package it as snap.

Changed in thonny-snap:
importance: High → Medium
Revision history for this message
Sameer Sharma (sameersharma2006) wrote (last edit ):

Plan C;

```
Alternative installation method

If you want more control, then you can do the installation steps separately.

Download the file with tar.gz extension. If you have 64-bit x86 Linux, then use file with x86_64 suffix, otherwise use the one with i686 suffix. (Run uname -m in the terminal if you are not sure which you have). NB! Since Thonny 4.0 we only provide only 64-bit bundles for x84 Linux!.

Unpack the file and run the installation script. For example, in the Ubuntu command line you could execute the following commands:

none

> tar -zxvf thonny-1.1.0b7-x86_64.tar.gz > cd thonny > ./install
```

Edit: Invalid plan, as its the same one through which snap is being built.

Changed in thonny-snap:
importance: Medium → High
Revision history for this message
Sameer Sharma (sameersharma2006) wrote (last edit ):

Plan D;

```
#First, make sure you have tkinter and pip (and optionally venv):

    Debian based: sudo apt install python3-tk python3-pip python3-venv
    Fedora: sudo dnf install python3-tkinter python3-pip

# Create a virtual environment (optional)

    cd suitable_location_for_thonny_venv
    python3 -m venv thonny_venv
    . thonny_venv/activate

# Install pip3 install thonny

# Run thonny
```

Changed in thonny-snap:
importance: High → Medium
Revision history for this message
Sameer Sharma (sameersharma2006) wrote :

Building for arm64 & building from source/scratch is being de-prioritised, as their feasibility is not certain.

description: updated
Changed in thonny-snap:
importance: Medium → Low
description: updated
Revision history for this message
Sameer Sharma (sameersharma2006) wrote :

New Release(v5) is Approaching and has dropped support for bundled tar-packages.🙃

Changed in thonny-snap:
importance: Low → Medium
Revision history for this message
Sameer Sharma (sameersharma2006) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.