Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Py_SetProgramName #220

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019]
python-version: [3.7, 3.8, 3.9]
python-version: ['3.9', '3.11', '3.13']
timeout-minutes: 15

steps:
Expand Down
3 changes: 1 addition & 2 deletions pythonfmu/pythonfmu-export/src/pythonfmu/PyState.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ namespace pythonfmu
auto const mainPyThread = []() -> PyThreadState* {
auto const justInitialized = !Py_IsInitialized();
if (justInitialized) {
Py_SetProgramName(L"./PythonFMU");
Py_Initialize();
#if PY_VERSION_HEX < 0x03070000
PyEval_InitThreads();
Expand Down Expand Up @@ -82,4 +81,4 @@ namespace pythonfmu

} // namespace pythonfmu

#endif //PYTHONFMU_PYTHONSTATE_HPP
#endif //PYTHONFMU_PYTHONSTATE_HPP
Loading