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

chore: bump rules_python and rules_fuzzing #404

Merged
merged 3 commits into from
Aug 13, 2024

Conversation

martijneken
Copy link
Contributor

@martijneken martijneken commented Aug 6, 2024

Fixes macOS CI #384

Upgrade rules_python (0.34.0) and rules_fuzzing (0.5.2)

This requires extracting more WORKSPACE phases:

  • dependencies -- py_repositories() and toolchains
  • dependencies_python() -- pip_parse module loading
  • dependencies_import() -- python/fuzzing/other deps

The new structure roughly matches Envoy WORKSPACE:

  • envoy_dependencies()
  • envoy_dependencies_extra() -- not needed here
  • envoy_python_dependencies()
  • envoy_dependency_imports()

@martijneken martijneken changed the title [WIP] Bump rules_python and rules_fuzzing chore: Bump rules_python and rules_fuzzing Aug 6, 2024
@martijneken martijneken changed the title chore: Bump rules_python and rules_fuzzing chore: bump rules_python and rules_fuzzing Aug 6, 2024
@PiotrSikora
Copy link
Member

This requires extracting more WORKSPACE phases:

  • dependencies -- py_repositories() and toolchains
  • dependencies_python() -- pip_parse module loading
  • dependencies_import() -- python/fuzzing/other deps

Do we need all 3 phases? Could it be 2? Note that this leaks into dependent projects (i.e. Envoy).

@martijneken
Copy link
Contributor Author

Do we need all 3 phases? Could it be 2?

It cannot be 2:

this leaks into dependent projects (i.e. Envoy)

ACK, it's unfortunate. Envoy should be easy since it has matching/more phases. Longer term bzlmod will fix all of this?

This requires extracting WORKSPACE phases into more phases:
- dependencies -- py_repositories() and toolchains
- dependencies_python() -- pip_parse module loading
- dependencies_import() -- python/fuzzing/other deps

The new structure roughly matches Envoy WORKSPACE:
- envoy_dependencies()
- envoy_dependencies_extra() -- not needed here
- envoy_python_dependencies()
- envoy_dependency_imports()

Signed-off-by: Martijn Stevenson <[email protected]>
Signed-off-by: Martijn Stevenson <[email protected]>
This addresses a `getsectdatafromheader_64` build error

Signed-off-by: Martijn Stevenson <[email protected]>
@martijneken martijneken merged commit e38c8ce into proxy-wasm:main Aug 13, 2024
30 of 31 checks passed
@martijneken martijneken deleted the bump-bazel-rules branch August 13, 2024 00:06
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.

3 participants