Skip to content

Incorrectly named Backups result in pip warnings #106

@furgo16

Description

@furgo16

I upgraded ifcopenshell via the Addon Manager's Python Dependency Manager. That worked great. However, it seems some sort of backups of the old versions are left over (notice the missing i in the package name):

  • ~fcopenshell-0.8.1
  • ~fcopenshell-0.8.1.post1.dist-info

Those backups create multiple pip warnings:

WARNING: Ignoring invalid distribution -fcopenshell (/home/me/snap/freecad/common/.local/lib/python3.10/site-packages)

Are these backups intended to be there? What's their use case? Roll back to a previous version?

I notice there is a similar mechanism for workbenches, although the name does seem to be correct there (see fcVM.backup1749448662.6572056 (Disabled) in my About info, it's a workbench I just uninstalled)

OS: Ubuntu Core 22 (ubuntu:GNOME/ubuntu/wayland)
Architecture: x86_64
Version: 1.1.0dev.42113 (Git) Snap 1486
Build date: 2025/06/08 20:11:05
Build type: Release
Branch: main
Hash: a38689b6fb94b1008f91508dd09f32610d7464aa
Python 3.10.12, Qt 5.15.15, Coin 4.0.0, Vtk 9.1.0, boost 1_74, Eigen3 3.4.0, PySide 5.15.11
shiboken 5.15.11, SMESH 7.7.1.0, xerces-c 3.2.3, IfcOpenShell 0.8.2, OCC 7.7.1
Navigation Style/Orbit Style/Rotation Mode: Gesture/Trackball/Drag at cursor
Stylesheet/Theme/QtStyle: FreeCAD Light.qss/FreeCAD Light/Fusion
Logical DPI/Physical DPI/Pixel Ratio: 96/95.1083/1
Installed mods: 
  * OpenTheme 2025.5.20
  * Movie 2025.1.4
  * sheetmetal 0.7.22
  * fcVM.backup1749448662.6572056 (Disabled)
  * fasteners 0.5.38
  * ezydxf
  * Render 2024.12.15
  * Arch
  * Road 2025.2.22
  * Assembly4 0.50.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions