FreeSimpleGUI icon indicating copy to clipboard operation
FreeSimpleGUI copied to clipboard

[Question] change version number ?

Open arminposchmann opened this issue 8 months ago • 1 comments

Type of Issue (Enhancement, Error, Bug, Question)

Question


Environment

Operating System

Linux version ('glibc', '2.35')

PySimpleGUI Port (tkinter, Qt, Wx, Web)

tkinter


Versions

Python version (sg.sys.version)

3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]

PySimpleGUI Version (sg.__version__)

5.2.0.post1

GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)

8.6.12

Project details


Your Experience In Months or Years (optional)

2 Years Python programming experience 20 Years Programming experience overall Yes Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • [X] Searched main docs for your problem www.PySimpleGUI.org
  • [X] Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
  • [ ] If not tkinter - looked for Demo Programs for specific port
  • [ ] For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • [X] Run your program outside of your debugger (from a command line)
  • [X] Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
  • [X] Upgraded to the latest official release of PySimpleGUI on PyPI
  • [ ] Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released

Detailed Description

Can you please change the version in init.py to the version of METADATA

maybe : from importlib import metadata version = version = metadata.version('FreeSimpleGUI')

Code To Duplicate

# Paste your code here


Screenshot, Sketch, or Drawing

arminposchmann avatar Mar 26 '25 02:03 arminposchmann

Thanks for pointing this out. I'm not a fan of __version__ being in __init__.py to begin with, I think partially for this reason.

I'll look at getting this fixed soon.

spyoungtech avatar Mar 26 '25 08:03 spyoungtech