NatLabRockies / NatLabRockies/OpenStudio

Upgrade initializiation of PythonEngine to use PyConfig

Open
#5,294 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component - Python bindings Enhancement Request
Dominant language
C++
Stars
646
Forks
237
Avg merge
3d 11h
Merged PRs (30d)
10

Description

Contributor guide

Open the contributing guide

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.

Research direction

Start in python/engine/PythonEngine.cpp at the TODO around lines 74–75, then read the Python 3.13 PyConfig initialization documentation and the linked commit. Replace the removed Py_SetPath-based initialization with PyConfig usage, and confirm PythonEngine initializes correctly with the supported Python API.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.