Bug 275759 - devel/thonny: missing needed runtime dependencies
Summary: devel/thonny: missing needed runtime dependencies
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-14 09:09 UTC by Scott Furry
Modified: 2023-12-14 13:31 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (wen)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Furry 2023-12-14 09:09:28 UTC
Current Version (4.1.3) will throw exceptions if the user accesses Tools->Manage Plugins... 

The last line of the returned exception message:

"pkg_resources.DistributionNotFound: The 'wheel' distribution was not found and is required by thonny"

indicates the "wheel" package is missing.

After installing py39-wheel (NOTE: do not install devel/wheel as that will install MULTIPLE VERSIONS of python as well [3.8, 3.9, 3.10...]), plugin management dialog will appear as expected.

However, any attempt to install a plugin will produce the error:

"/usr/local/bin/python3.9: No module named pip
Error: process returned with code 1"

Problem was resolved with installing py39-pip.


It appears that thonny package is missing needed dependencies (pyver)-wheel and (pyver)-pip in order to be fully utilized.
Comment 1 Scott Furry 2023-12-14 09:14:00 UTC
devel/wheel should be devel/py-wheel. Same caveat applies -> will trigger installation of multiple python versions.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-12-14 13:25:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9528b6a977333c0a41d2f8ada19e84f1d25fef43

commit 9528b6a977333c0a41d2f8ada19e84f1d25fef43
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2023-12-14 13:23:02 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-12-14 13:23:02 +0000

    devel/thonny: Add missing RUN_DEPENDS

    PR:             275759
    Reported by:    scott.wl.furry@gmail.com

 devel/thonny/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)