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

Strip out code that depends on PyProto_API when exporting from Google codebase to GitHub. #165

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jun 19, 2024

Strip out code that depends on PyProto_API when exporting from Google codebase to GitHub.

For context see #161, in particular #161 (comment).

Intentionally not stripping out the check_unknown_fields.h,cc sources:

  1. For simplicity, and

  2. so that it is more obvious externally what the corresponding code in
    pybind11_protobuf/tests/extension_test.py is about
    (stripping out the test code would lead to distracting clutter).

@copybara-service copybara-service bot force-pushed the cl/644613416 branch 3 times, most recently from 38b7df6 to dbe3f58 Compare June 19, 2024 07:03
@copybara-service copybara-service bot changed the title copybara: strip out code that depends on PyProto_API. Strip out code that depends on PyProto_API when exporting from Google codebase to GitHub. Jun 19, 2024
@rwgk
Copy link
Contributor

rwgk commented Jun 19, 2024

@StefanBruens What I have at the moment passes project-level testing Google-internally, and GitHub testing here. I still have to run Google-internal global testing. That'll take 12+ hours probably. Then I need to get the changes reviewed internally.

If you get a chance to test this PR for your purposes in the meantime, that would be great.

Note that I did not adopt the CMakeLists.txt SHARED to STATIC changes in this PR. I believe it'll be best to make those changes separately, even if it's only a tiny PR.

@copybara-service copybara-service bot force-pushed the cl/644613416 branch 3 times, most recently from 7187683 to d229c15 Compare June 21, 2024 19:00
…le codebase to GitHub.

For context see #161, in particular #161 (comment).

Intentionally not stripping out the check_unknown_fields.h,cc sources:

1. For simplicity, and

2. so that it is more obvious externally what the corresponding code in
   pybind11_protobuf/tests/extension_test.py is about
   (stripping out the test code would lead to distracting clutter).

PiperOrigin-RevId: 645462442
@copybara-service copybara-service bot merged commit e90f33e into main Jun 21, 2024
@copybara-service copybara-service bot deleted the cl/644613416 branch June 21, 2024 19:08
rwgk pushed a commit to StefanBruens/pybind11_protobuf that referenced this pull request Jun 21, 2024
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.

1 participant