AddonManager: should check version of python and detect if installed addons require update to libraries or downloading/removing of others

Open
#53 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start with the initialization failure reported from InitGui.py and compare the listed Python 3.11.11 and 3.13.0 environments. Then trace the Addon Manager's handling of installed add-ons and their dependencies; the work is done when it can identify incompatible or missing libraries and determine required add-on changes across supported Python versions.

Written by the indexing model from the issue text.

Description

Is there an existing issue for this?
  • I have searched the existing issues
Problem description

My self-built pixi versions of FreeCAD work fine with the Telemetry Add-on, but I receive an error message with the most recent weekly build. One difference noted is the version of Python is 3.13.0 for the self-built versions, and 3.11.11 for the most recent weekly build.

08:35:31  During initialization the error "Posthog Python package is not installed: pip install posthog" occurred in /Users/osh/Library/Application Support/FreeCAD/Mod/FreeCAD-Telemetry/./InitGui.py
08:35:31  Please look into the log file for further information
Full version info
Failing version info:


OS: macOS Sequoia (15.3)
Architecture: arm64
Version: 1.1.0dev.40971 (Git) Conda
Build date: 2025/03/24 18:02:34
Build type: Release
Branch: main
Hash: b33c2363226a5fc1e8222a02659118c95e1a5119
Python 3.11.11, Qt 6.7.3, Coin 4.0.3, Vtk 9.3.1, IfcOpenShell 0.8.1, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: OpenDark.qss/OpenDark/
Logical DPI/Physical DPI/Pixel Ratio: 72/127.5/2
Installed mods: 
  * FreeCAD-Telemetry 1.0.0
  * OpenTheme 2024.9.1
  * Render
  * fasteners 0.5.37


Working version info:


OS: macOS Sequoia (15.3)
Architecture: arm64
Version: 1.1.0dev.40996 (Git) Conda
Build date: 2025/03/25 09:24:27
Build type: Release
Branch: main
Hash: 40ace3241a3b01db680944e649c3f0b04a60ff72
Python 3.13.0, Qt 6.7.3, Coin 4.0.3, Vtk 9.3.1, OCC 7.8.1
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: OpenDark.qss/OpenDark/
Logical DPI/Physical DPI/Pixel Ratio: 72/127.5/2
Installed mods: 
  * FreeCAD-Telemetry 1.0.0
  * OpenTheme 2024.9.1
  * Render
  * fasteners 0.5.37
Subproject(s) affected?

Addon Manager

Anything else?

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Dominant language
Python
Stars
24
Forks
36
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FreeCAD/AddonManager

All issues in FreeCAD/AddonManager

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.