This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gunicorn_binary( | |
name = "hello", | |
args = ["hello:app"], | |
deps = [ | |
"@pypi_flask//:pkg", | |
], | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkg_tar( | |
name = "interpreter", | |
srcs = [ | |
"@python3_9//:files", | |
], | |
mode = "0644", | |
package_dir = "/usr/local/python", | |
strip_prefix = ".", | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import inspect | |
import itertools | |
from python.nplusone.core import signals | |
from sqlalchemy.engine import ScalarResult | |
from sqlalchemy.orm import attributes, loading, query, strategies | |
def to_key(instance): | |
model = type(instance) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/internal_setup.bzl b/internal_setup.bzl | |
index a80099f..56eb486 100644 | |
--- a/internal_setup.bzl | |
+++ b/internal_setup.bzl | |
@@ -21,7 +21,7 @@ load("@rules_bazel_integration_test//bazel_integration_test:deps.bzl", "bazel_in | |
load("@rules_bazel_integration_test//bazel_integration_test:repo_defs.bzl", "bazel_binaries") | |
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains") | |
load("//:version.bzl", "SUPPORTED_BAZEL_VERSIONS") | |
-load("//python/pip_install:repositories.bzl", "pip_install_dependencies") | |
+load("//python/pip_install:repositories.bzl", "pip_install_dependencies", "uv_dependencies") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_files") | |
load("@bazel_skylib//lib:paths.bzl", "paths") | |
load("@io_bazel_rules_go//go:def.bzl", "gomock") | |
_MOCKGEN_TOOL = Label("@org_uber_go_mock//mockgen") | |
_MOCKGEN_MODEL_LIB = Label("@org_uber_go_mock//mockgen/model") | |
def go_mock(name, deps, interfaces = [], **kwargs): | |
""" | |
Macro to create a Go mock of a given interface(s) and copy the file back |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PC=0x18d6b05cc m=0 sigcode=0 | |
goroutine 0 gp=0x100789720 m=0 mp=0x10078a160 [idle]: | |
SIGQUIT: quit | |
SIGQUIT: quitPC= | |
0x18d6b05cc m=runtime.pthread_cond_wait0( sigcode=0 | |
0x10078a6a0 | |
, 0x10078a660goroutine 0 gp=0x107440020PC=0x18d6b9304) | |
m=0 sigcode=0 | |
m=0 mp=0x1074422c0 [idle]: |
OlderNewer