View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004143 | FreeCAD | Bug | public | 2019-09-24 12:49 | 2019-10-20 15:11 |
Reporter | hobbes1069 | Assigned To | wmayer | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Fedora | OS Version | 32 (Rawhide) |
Product Version | 0.18 | ||||
Summary | 0004143: Build error on Fedora with Python 3.8 | ||||
Description | Per the discussion on another Fedora issue: https://www.freecadweb.org/tracker/view.php?id=4132#c13672 It looks like something to do with thread management was changed in Python 3.8 which is incompatible with current freecad code.
| ||||
Steps To Reproduce | Attempt to build FreeCAD 0.18.3 with Fedora Rawhide (32) which has Python 3.8 | ||||
Tags | python | ||||
FreeCAD Information | |||||
|
Looks like PyInterpreterState was effectively made private. Temporary workaround suggested here: https://bugs.python.org/issue35886 |
|
I implemented this fix for Fedora... Replace "interp->modules" with PyImport_GetModuleDict() Pull request submitted: https://github.com/FreeCAD/FreeCAD/pull/2632 |
|
Thanks hobbes1069 for the fix! side note: hmm wonder why merging the PR didn't auto close this issue. FreeCAD master 6eacb17b I'll do it manually. |
FreeCAD: master 6eacb17b 2019-10-17 16:20:10 Committer: wwmayer Details Diff |
Update swigpyrun.in for Python 3.8 In Python 3.8 some functions related to thread state were intentionally made private. This fix (specific to FreeCAD) was suggested here: https://bugs.python.org/issue35886 |
Affected Issues 0004143 |
|
mod - src/Base/swigpyrun.inl | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-24 12:49 | hobbes1069 | New Issue | |
2019-09-24 20:59 | hobbes1069 | Note Added: 0013685 | |
2019-10-10 18:27 | Kunda1 | Tag Attached: python | |
2019-10-17 16:23 | hobbes1069 | Note Added: 0013764 | |
2019-10-20 15:09 | Kunda1 | Note Added: 0013769 | |
2019-10-20 15:09 | Kunda1 | Changeset attached | => FreeCAD master 6eacb17b |
2019-10-20 15:10 | Kunda1 | Fixed in Version | => 0.19 |
2019-10-20 15:11 | Kunda1 | Assigned To | => wmayer |
2019-10-20 15:11 | Kunda1 | Status | new => closed |
2019-10-20 15:11 | Kunda1 | Resolution | open => fixed |