Commit Graph

307 Commits (main)

Author SHA1 Message Date
Sandy Zhang ce026abf92 Work around windows path length limitations by moving immutable -> full in open source (new generator paths) and shortening long file names.
Re-enable windows bazel test.

PiperOrigin-RevId: 633224191
2024-05-13 08:48:40 -07:00
Mike Kruskal be99767a69 Clear repository cache between bazel runs
PiperOrigin-RevId: 632621361
2024-05-10 15:42:33 -07:00
Sandy Zhang 94cf1e9446 Add 27.x to staleness check
PiperOrigin-RevId: 631532649
2024-05-07 13:39:43 -07:00
Bastien Jacot-Guillarmod 7b3682fcf2 Pin the rev of googletest to the GitHub main branch
PiperOrigin-RevId: 630417312
2024-05-03 09:54:29 -07:00
Seth Vargo 4f23cafa02 Cancel in-progress workflow runs for pull requests and dispatches (#16601)
This will reduce unnecessary resource consumption by cancelling running workflows when new commits are pushed to a PR or workflow dispatch. It does not cancel pushes to main or branches.

Closes #16601

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16601 from sethvargo:sethvargo/actions-concurrency 82fd070dba
PiperOrigin-RevId: 629805311
2024-05-01 12:43:01 -07:00
Mike Kruskal b28d9d4144 Migrate bazel tests to protobuf-ci.
This will allow them to reuse our bazelrc and remote caching setup.  This also silences the non-bzlmod windows test that's hitting the windows path length.

PiperOrigin-RevId: 626390416
2024-04-19 10:00:00 -07:00
Mike Kruskal 89118ba9d4 Fix bazel cache issues in 7.0.0
We're seeing a high flake rate due to remote cache-misses only on Bazel 7 builds.  The key change here seems to be adding the remote_download_output flag, but this also upgrades us to 7.1.1 and adds some retry behavior to caching issues.

PiperOrigin-RevId: 625892332
2024-04-17 20:19:24 -07:00
Jason Lunn 801049a43e Update JRuby from 9.4.3.0 to 9.4.6.0. (#16381)
Closes #16381

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16381 from protocolbuffers:jruby_9.4.6.0 e9d1244efa
PiperOrigin-RevId: 621364008
2024-04-02 19:25:11 -07:00
Mike Kruskal a916d447c0 Update dependency on setup-php
PiperOrigin-RevId: 621030474
2024-04-01 20:11:29 -07:00
Mike Kruskal b497787aef Enable visionos tests after GH runner update
PiperOrigin-RevId: 620965206
2024-04-01 15:10:43 -07:00
Alex Eagle 71e4061ace feat: test bzlmod usage on CI (#16319)
Closes #16319

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/16319 from protocolbuffers:bcr d66845cfcb
PiperOrigin-RevId: 619939078
2024-03-28 08:33:48 -07:00
Adam Cozzette 0641202bcc Fix syntax error in test_objectivec.yml
I'm not sure why exactly but GitHub Actions is complaining about the reference
to `matrix.PLATFORM`. Let's just delete that and the visionos builds until
we're ready to turn visionos back on.

PiperOrigin-RevId: 617922287
2024-03-21 12:20:28 -07:00
Mike Kruskal 61a079ff0b Automated rollback of commit c076f9d874.
PiperOrigin-RevId: 617678321
2024-03-20 18:10:22 -07:00
YoloMao c076f9d874 ci: add visionOS pod lib lint check (#15903)
as title

Closes #15903

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15903 from YoloMao:feat/visionos_support 62474c592c
PiperOrigin-RevId: 617382097
2024-03-19 20:47:59 -07:00
Mike Kruskal 6898451f5e Setup upb installation with cmake.
This installs a upb's static library, headers, and three protoc plugin binaries (upb, upbdefs, upb_minitable).  These will now be enabled by default, but can be disabled by setting protobuf_BUILD_LIBUPB=OFF.

To qualify this, we hook into our existing install test infrastructure which attempts to build and run our tests without any of the installation artifacts available from the source tree.  Public headers are deleted, and builds of exported libraries/binaries are disabled.

PiperOrigin-RevId: 617376961
2024-03-19 20:17:58 -07:00
Mike Kruskal 0176f8a72a Downgrade our sanitized builds to ubuntu-20.
The latest github runner image of ubuntu-22 includes a kernel update that breaks the sanitizers we use in our docker images.  Long-term, we'll likely need to upgrade the images to new sanitizers and clang.

PiperOrigin-RevId: 616319042
2024-03-15 20:21:32 -07:00
Mike Kruskal c17b102148 Disable TSAN tests due to what appears to be a sanitizer bug
PiperOrigin-RevId: 616138585
2024-03-15 08:33:46 -07:00
Mike Kruskal b6032d72e3 Add basic upb cmake support.
libupb will always be statically linked, and currently doesn't ever install itself.

PiperOrigin-RevId: 615136389
2024-03-12 12:43:16 -07:00
Sandy Zhang 9a262c2091 Update setup-php to 2.30.0 and re-enable macOS PHP 8.2 tests.
setup-php 2.30.0 should fix https://github.com/shivammathur/setup-php/issues/823

PiperOrigin-RevId: 612882408
2024-03-05 10:14:03 -08:00
Sandy Zhang 360531cd08 Drop Ruby 2.7.
This updates the required ruby version to >= 3.0 and removes Ruby 2.7 tests from main branch, in anticipation for end of Ruby 2.7 support on 3/31 in 27.x

See https://cloud.google.com/ruby/getting-started/supported-ruby-versions

PiperOrigin-RevId: 612841114
2024-03-05 08:06:23 -08:00
Mike Kruskal 119e71c40a Run C# tests with non-Bazel protobuf-ci actions.
The Bazel action currently isn't setup to regenerate the proto gencode itself, meaning that it won't actually be running on changes in the pending PR.  Long-term, we should migrate this back to Bazel after enabling proto codegen properly.

PiperOrigin-RevId: 611238217
2024-02-28 14:56:38 -08:00
Mike Kruskal bda13f3bfa Add back error message unconditionally
PiperOrigin-RevId: 611105036
2024-02-28 08:12:40 -08:00
Mike Kruskal fc6adb6c0e Actually fail if staleness fail
PiperOrigin-RevId: 610833812
2024-02-27 12:21:19 -08:00
Mike Kruskal 396e26b475 Enable C++ tests for Bazel 7 on mac
PiperOrigin-RevId: 610573579
2024-02-26 17:13:47 -08:00
Mike Kruskal 4dc2c07025 Disable Mac PHP 8.2 test
PiperOrigin-RevId: 610520746
2024-02-26 14:10:40 -08:00
Adam Cozzette 8ca628db61 Update error message to clarify what needs to happen for tests to run
When we get a pull request from outside the protobuf repository, the tests will
not run until a protobuf team member adds the `safe for tests` tag. This change
updates the error message to make it more clear what has to happen to get the
tests to run.

Fixes #15847.

PiperOrigin-RevId: 608660908
2024-02-20 10:50:41 -08:00
Sandy Zhang 2f9b5e1204 Add 26.x to staleness checks
PiperOrigin-RevId: 606443838
2024-02-12 19:07:11 -08:00
Sandy Zhang 9252b64ef3 Automated rollback of commit 0ee34d35de.
PiperOrigin-RevId: 603802046
2024-02-02 15:28:26 -08:00
Mike Kruskal 54931ca45e Disable test that seems to be using pre-Java 8
PiperOrigin-RevId: 603746010
2024-02-02 11:48:18 -08:00
Thomas Van Lenten a892c20578 [ObjC] Re-enable watchOS cocoapods validations
The image used for this actions has a new enough CocoaPods that
this should now work.

PiperOrigin-RevId: 601855822
2024-01-26 13:43:57 -08:00
Mike Kruskal f6812b7d6d Bump python version to 3.9 for gcloud 460.0.0
PiperOrigin-RevId: 599953322
2024-01-19 15:44:33 -08:00
Sandy Zhang 3c8a3d27f7 Raise minimum PHP version to 8.1, due to PHP 8.0 EOL per https://cloud.google.com/php/getting-started/supported-php-versions
Drops tests for PHP 8.0, and adds tests for PHP 8.3. See https://www.php.net/supported-versions.php.

PiperOrigin-RevId: 599636473
2024-01-18 15:07:25 -08:00
Protobuf Team Bot 1581e72425 Disable linkage-monitor test in anticipation of a breaking (major version) java release: 4.26
PiperOrigin-RevId: 597629358
2024-01-11 12:49:12 -08:00
Marcel Hlopko 648c20d602 Pass crate mapping from Bazel to protoc
This will enable us to get the correct crate names for Rust gencode. The actual
reading of the mapping file in protoc happens in the followup.

PiperOrigin-RevId: 597509582
2024-01-11 03:57:18 -08:00
Eric Salo 33080e9917 upb: disable the Fast Table CI tests on GH
PiperOrigin-RevId: 597310347
2024-01-10 11:39:59 -08:00
Adam Cozzette a7b0421c78 Breaking change: make protobuf comply with the C++ layering check
This check enforces that each C++ build target has the correct dependencies for
all headers that it includes. We have many targets that were not correct with
respect to this check, so I fixed them up.

I also cleaned up the C++ targets related to the well-known types. I created a
cc_proto_library() target for each one and removed the :wkt_cc_protos target,
since this was necessary to satisfy the layering check. I deleted the
//src/google/protobuf:protobuf_nowkt target and deprecated :protobuf_nowkt,
because the distinction between the :protobuf and :protobuf_nowkt targets was
not really correct. Neither one exposed the headers for the well-known types in
a way that was valid with respect to the layering check, and the idea of
bundling all the well-known types together is not idiomatic in Bazel anyway.
This is a breaking change, because the //:protobuf target no longer bundles the
well-known types. From now on they should be accessed through the new
//:*_cc_proto aliases in our top-level package.

I renamed the :port_def target to :port, which simplifies things a bit by
matching our internal name.

The original motivation for this change was that to move utf8_range onto our CI
infrastructure, we needed to make its dependency rules_fuzzing compatible with
Bazel 6. The rules_fuzzing project builds with the layering check, and I found
that the process of upgrading it to Bazel 6 made it take a dependency on
protobuf, which caused it to break due to layering violations. I was able to
work around this, but it would still be nice to comply with the layering check
so that we don't have to worry about this kind of thing in the future.

PiperOrigin-RevId: 595516736
2024-01-03 15:20:05 -08:00
Mike Kruskal 807f00b4db Fix typo in cache-clearing workflow
PiperOrigin-RevId: 595424484
2024-01-03 09:35:56 -08:00
Sandy Zhang 0317875286 Update Ruby GHA to test against Ruby 3.3 in Linux / MacOS / Install and FFI combinations.
PiperOrigin-RevId: 594132729
2023-12-27 18:20:06 -08:00
Joshua Haberman 36bb6fb0dd Disable MacOS C++ Cmake test for now.
PiperOrigin-RevId: 594102279
2023-12-27 14:50:28 -08:00
Sandy Zhang 2f7b2832b6 Update Ruby GHA to test against Ruby 3.3.
Fixes #15182

PiperOrigin-RevId: 593899707
2023-12-26 19:46:27 -08:00
Sandy Zhang 9f96118e1e Pin bundler version to 2.4.22 for Ruby 2.7 support.
Latest bundler 2.5.0 release results in the following error: `The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with gem install bundler -v 2.4.22 bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.3.183.`

PiperOrigin-RevId: 591288515
2023-12-15 10:10:11 -08:00
Mike Kruskal eea39d6f53 Add Bazel 7 test points.
This adds tests for C++ under linux, and windows, and upb on linux.

PiperOrigin-RevId: 591056302
2023-12-14 14:44:39 -08:00
dependabot[bot] 92619cdd43 Bump ossf/scorecard-action from 2.1.2 to 2.3.1 (#14554)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.2 to 2.3.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/ossf/scorecard-action/releases">ossf/scorecard-action's releases</a>.</em></p>
<blockquote>
<h2>v2.3.1</h2>
<h2>What's Changed</h2>
<ul>
<li>🌱 Bump github.com/ossf/scorecard/v4 from v4.13.0 to v4.13.1 by <a href="https://github.com/spencerschrock"><code>@​spencerschrock</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1282">ossf/scorecard-action#1282</a>
<ul>
<li>Adds additional Fuzzing detection and fixes a SAST bug related to detecting CodeQL. For a full changelist of what this includes, see the  <a href="https://github.com/ossf/scorecard/releases/tag/v4.13.1">v4.13.1</a> release notes</li>
</ul>
</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.3.0...v2.3.1">https://github.com/ossf/scorecard-action/compare/v2.3.0...v2.3.1</a></p>
<h2>v2.3.0</h2>
<h2>What's Changed</h2>
<ul>
<li>🌱 Bump github.com/ossf/scorecard/v4 from v4.11.0 to v4.13.0 by <a href="https://github.com/spencerschrock"><code>@​spencerschrock</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1270">ossf/scorecard-action#1270</a>
<ul>
<li>For a full changelist of what this includes, see the <a href="https://github.com/ossf/scorecard/releases/tag/v4.12.0">v4.12.0</a> and <a href="https://github.com/ossf/scorecard/releases/tag/v4.13.0">v4.13.0</a> release notes</li>
</ul>
</li>
<li> Send rekor tlog index to webapp when publishing results by <a href="https://github.com/spencerschrock"><code>@​spencerschrock</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1169">ossf/scorecard-action#1169</a></li>
<li>🐛 Prevent url clipping for GHES instances by <a href="https://github.com/rajbos"><code>@​rajbos</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1225">ossf/scorecard-action#1225</a></li>
</ul>
<h3>Documentation</h3>
<ul>
<li>📖 Update access rights needed to see the results in code scanning by <a href="https://github.com/rajbos"><code>@​rajbos</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1229">ossf/scorecard-action#1229</a></li>
<li>📖 Add package comments. by <a href="https://github.com/spencerschrock"><code>@​spencerschrock</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1221">ossf/scorecard-action#1221</a></li>
<li>📖 Add SECURITY.md file by <a href="https://github.com/david-a-wheeler"><code>@​david-a-wheeler</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1250">ossf/scorecard-action#1250</a></li>
<li>📖 Fix typo in token input docs by <a href="https://github.com/aabouzaid"><code>@​aabouzaid</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1258">ossf/scorecard-action#1258</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/david-a-wheeler"><code>@​david-a-wheeler</code></a> made their first contribution in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1250">ossf/scorecard-action#1250</a></li>
<li><a href="https://github.com/aabouzaid"><code>@​aabouzaid</code></a> made their first contribution in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1258">ossf/scorecard-action#1258</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.2.0...v2.3.0">https://github.com/ossf/scorecard-action/compare/v2.2.0...v2.3.0</a></p>
<h2>v2.2.0</h2>
<h2>What's Changed</h2>
<ul>
<li>🌱 Bump github.com/ossf/scorecard/v4 from v4.10.5 to v4.11.0 by <a href="https://github.com/spencerschrock"><code>@​spencerschrock</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1192">ossf/scorecard-action#1192</a></li>
</ul>
<h2>Scorecard Result Viewer</h2>
<p>Thanks to contributions from <a href="https://github.com/cynthia-sg"><code>@​cynthia-sg</code></a> and <a href="https://github.com/tegioz"><code>@​tegioz</code></a> at <a href="https://github.com/cncf/clomonitor">CLOMonitor</a>, there is a new Scorecard Result visualization page at <code>https://securityscorecards.dev/viewer/?uri=&lt;project-url&gt;</code>.</p>
<ul>
<li><a href="https://redirect.github.com/ossf/scorecard-webapp/pull/406">ossf/scorecard-webapp#406</a></li>
<li><a href="https://redirect.github.com/ossf/scorecard-webapp/pull/422">ossf/scorecard-webapp#422</a></li>
</ul>
<p>As an example, you can see our own score visualized <a href="https://securityscorecards.dev/viewer/?uri=github.com/ossf/scorecard">here</a>
Checkout our <a href="08b4669551/README.md (scorecard-badge)">README</a> to learn how to link your README badge to the new visualization page.</p>
<h2>Publishing Results</h2>
<p>This release contains two fixes which will improve the user experience when <code>publish_results</code> is <code>true</code></p>
<ul>
<li>Runs that fail our <a href="08b4669551/README.md (workflow-restrictions)">workflow restrictions</a> will fail with a 400 response indicating the problem, instead of a vague 500 status. (<a href="https://redirect.github.com/ossf/scorecard-action/pull/1156">ossf/scorecard-action#1156</a>, resolved <a href="https://redirect.github.com/ossf/scorecard-action/issues/1150">ossf/scorecard-action#1150</a>)</li>
<li>Scorecard action will retry when signing results and submitting them to our web API. This should help with flakiness from connection failures. (<a href="https://redirect.github.com/ossf/scorecard-action/pull/1191">ossf/scorecard-action#1191</a>)</li>
</ul>
<h2>Docs</h2>
<ul>
<li>📖 Update README to accept fine-grained tokens by <a href="https://github.com/pnacht"><code>@​pnacht</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1175">ossf/scorecard-action#1175</a></li>
<li>📖 Update installation instructions to match current GitHub UI  by <a href="https://github.com/joycebrum"><code>@​joycebrum</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1153">ossf/scorecard-action#1153</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0864cf1902"><code>0864cf1</code></a> 🌱 Bump docker tag to for v2.3.1 release (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1284">#1284</a>)</li>
<li><a href="72df3bff66"><code>72df3bf</code></a> 🌱 Bump github.com/ossf/scorecard/v4 from v4.13.0 to v4.13.1 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1282">#1282</a>)</li>
<li><a href="0ea411f94a"><code>0ea411f</code></a> 🌱 Bump the docker-images group with 1 update (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1281">#1281</a>)</li>
<li><a href="dbfd042453"><code>dbfd042</code></a> 🌱 Bump the github-actions group with 1 update (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1280">#1280</a>)</li>
<li><a href="2fa1e2fa15"><code>2fa1e2f</code></a> 🌱 Bump golang.org/x/net from 0.16.0 to 0.17.0 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1278">#1278</a>)</li>
<li><a href="652ddd06c8"><code>652ddd0</code></a> 🌱 Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1277">#1277</a>)</li>
<li><a href="28d0c92b8b"><code>28d0c92</code></a> 🌱 Group Dependabot updates for GitHub Actions and Dockerfiles (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1276">#1276</a>)</li>
<li><a href="cb50491a46"><code>cb50491</code></a> 🌱 Bump distroless/base from <code>a35b652</code> to <code>b31a6e0</code> (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1275">#1275</a>)</li>
<li><a href="87157ac77d"><code>87157ac</code></a> 🌱 Bump github/codeql-action from 2.21.9 to 2.22.1 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1274">#1274</a>)</li>
<li><a href="7c1648b23e"><code>7c1648b</code></a> 🌱 Bump step-security/harden-runner from 2.5.1 to 2.6.0 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1273">#1273</a>)</li>
<li>Additional commits viewable in <a href="e38b1902ae...0864cf1902">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ossf/scorecard-action&package-manager=github_actions&previous-version=2.1.2&new-version=2.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Closes #14554

COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/14554 from protocolbuffers:dependabot/github_actions/ossf/scorecard-action-2.3.1 543f85ba25
PiperOrigin-RevId: 581438189
2023-11-10 20:11:17 -08:00
Mike Kruskal 8699fde0a9 Enable upb editions conformance testing.
This also cleans up some pre-existing bugs and adds a Fasttable/ASAN build.

PiperOrigin-RevId: 581408568
2023-11-10 17:07:12 -08:00
Adam Cozzette 5ca84008fc Move utf8_range into the protobuf repo
This makes third_party/utf8_range no longer a Git subtree, but instead the
permanent location and source of truth for utf8_range. It is also now
incorporated into the @com_google_protobuf Bazel repo. Utf8_range still has its
own separate CMake build for now, though.

PiperOrigin-RevId: 580682733
2023-11-08 15:43:35 -08:00
Adam Cozzette 24fef03259 Add support and partial CI coverage for Python 3.12
There's a test run in test_python.yml that is non-trivial to get working with
Python 3.12 due to some refactoring of our Docker images that would be needed.
But this change updates everything else to add coverage for Python 3.12.

The main changes necessary to get the builds working were to upgrade some Pip
packages via requirements.txt, including in a patch to `rules_fuzzing` that I
plan to upstream soon. I also had to take an explicit dependency on
`setuptools`.

I removed tox.ini, since it was outdated and we have not been actively
maintaining it.

PiperOrigin-RevId: 580548224
2023-11-08 08:53:27 -08:00
Mike Kruskal 62f4888824 Bump mac PHP version to 8.2 to fix non-hermetic breakages.
This was likely either a change in macos or the github runners

PiperOrigin-RevId: 580245853
2023-11-07 11:31:23 -08:00
Deanna Garcia 7463878e35 Give protobuf janitor access to edit prs/issues and exempt issues with the 'help wanted' tag.
The initial job ran and found stale PRs/issues, but lacked the permission to comment on them, add labels, or close issues/PRs.

Any issues with 'help wanted' shouldn't be auto-closed as we want them to be able to sit inactive.

PiperOrigin-RevId: 580209299
2023-11-07 09:41:37 -08:00
Adam Cozzette f247630a10 Add CI coverage for utf8_range
We will soon be moving utf8_range into the protobuf repo, not as a subtree
anymore but as the real source of truth. This change adds CI coverage in
advance so that there will not be a lapse in coverage.

I also upgraded our pinned versions of rules_fuzzing and rules_python, to fix
some errors that came up with Bazel 6 and Python 3.12. I had to patch
rules_fuzzing but I am working on upstreaming the fixes.

PiperOrigin-RevId: 579987379
2023-11-06 16:12:05 -08:00
Deanna Garcia 25f28ee6ca Fix typo with janitor GHA, close-pr-message was accidentally defined twice.
PiperOrigin-RevId: 579213119
2023-11-03 09:55:01 -07:00