Release 2.1.0 dropped support for Debian 11

Open
#2,559 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, python

Research direction

Start with the linked reproduction repository and run python main.py in its Debian 11 Codespace to confirm the GLIBCXX_3.4.30 import failure. Inspect how DearPyGui 2.1.0 produces and packages dearpygui/_dearpygui.so; done means the example starts on Debian 11 with Python 3.12 without requiring the missing library version.

Written by the indexing model from the issue text.

Description

state: pending type: bug

Version of Dear PyGui

Version: 2.1.0
Operating System: Debian 11 (Bullseye) and Python 3.12

My Issue/Question

I use a GitHub Codespace for testing a graphical application. It appears that DearPyGUI 2.1.0 is not compatible with Python 3.12 and Debian 11 (Bullseye) anymore. When starting the application, I get the following error message:

$ python main.py
Traceback (most recent call last):
  File "/workspaces/dearpygui-bullseye11-glibcxx/main.py", line 1, in <module>
    import dearpygui.dearpygui as dpg
  File "/home/vscode/.local/lib/python3.12/site-packages/dearpygui/dearpygui.py", line 22, in <module>
    import dearpygui._dearpygui as internal_dpg
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/vscode/.local/lib/python3.12/site-packages/dearpygui/_dearpygui.so)

Downgrading to DearPyGui 2.0.0 resolves the issue.

To Reproduce

Steps to reproduce the behavior:

  1. Go to this repository
  2. Build the a Codespace from the repository
  3. Open a terminal and start the example application python main.py
  4. The error message is printed

Expected behavior

The application starts up without any error messages.

Standalone, minimal, complete and verifiable example

You can create a codespace and run the code example (first steps example from the DearPyGui documentation) from this repository: https://github.com/ajaust/dearpygui-bullseye11-glibcxx/tree/main

Dominant language
C++
Stars
15.7k
Forks
790
PR merge metrics
No merged PRs in 30d

Getting set up

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 hoffstadt/DearPyGui

All issues in hoffstadt/DearPyGui

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.