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

Remove submodule, and update pybind11 #903

Merged
merged 12 commits into from
Dec 10, 2024
Merged

Remove submodule, and update pybind11 #903

merged 12 commits into from
Dec 10, 2024

Conversation

HugoKulesza
Copy link
Collaborator

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Technical upgrade

What is the current behavior?

pybind11 is currently used as a git submodule in the cpp folder, and the setuptools build is configured using setup.cfg.

What is the new behavior (if this is a feature change)?
This PR moves the configuration of the build in a pyproject.toml file (more modern and that uses an isolated environment to build), and removes the git submodule by replacing it using a python dependency and cmake find_package directive.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

@HugoKulesza HugoKulesza self-assigned this Nov 26, 2024
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
@HugoKulesza HugoKulesza changed the title Remove pybind submodule, move to pyproject.toml Remove submodule, and update pybind11 Nov 27, 2024
HugoKulesza and others added 11 commits November 27, 2024 15:47
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
…into update-pybind

Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Copy link

sonarcloud bot commented Dec 10, 2024

Copy link

sonarcloud bot commented Dec 10, 2024

@geofjamg geofjamg merged commit 7dc98a7 into main Dec 10, 2024
9 checks passed
@geofjamg geofjamg deleted the update-pybind branch December 10, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants