Skip to content

Code consolidation - #28

Draft
vkhodygo wants to merge 1 commit into
calculix:masterfrom
vkhodygo:master
Draft

Code consolidation#28
vkhodygo wants to merge 1 commit into
calculix:masterfrom
vkhodygo:master

Conversation

@vkhodygo

Copy link
Copy Markdown

Hi @fandaL

I've been using your package quite a lot recently, and I noticed I could introduce some minor improvements.
I wonder what your thoughts are regarding this.

@fandaL

fandaL commented Apr 5, 2023

Copy link
Copy Markdown
Collaborator

Thank you for the interest and sorry for the late response.
The modifications look good.
match case statement is easier to read, but it was introduced recently in 2021 in python 3.10, so I'm afraid that many users use older versions, e.g. FreeCAD 0.20 (actual stable release) uses python 3.8

@stefano2734

stefano2734 commented May 8, 2025

Copy link
Copy Markdown

Python 3.8 is end of life since October 2024.
So update to Python 3.9, 3.10 or 3.11 is necessary.
Python 3.9 was no target of FreeCAD.

release 0.20.1 and 0.20.2 are done to Conda with python 3.10
https://github.com/FreeCAD/FreeCAD/releases?page=2

FreeCAD 1.0 with python 3.11 done.
Download 1.0: https://github.com/FreeCAD/FreeCAD/releases/tag/1.0.0
weekly builds for updates actual with python 3.11.
https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds

so new Level possible with Python 3.10 for 0.20.1 and higher
Or python 3.11 to FreeCAD 1.0.0 and higher.

Next greater version will Support Python 3.12.
Python 3.12 will be, python 3.11 and python 3.10 are in security support mode.
https://devguide.python.org/versions/
Downloads:
https://www.python.org/downloads/

@vkhodygo

vkhodygo commented May 9, 2025

Copy link
Copy Markdown
Author

I probably need to review this PR again.

@fandaL fandaL mentioned this pull request Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants