From 5dfb2408238b2cc4b00f97e45a1841033288e8e2 Mon Sep 17 00:00:00 2001 From: Jeremy Volkman Date: Wed, 12 Oct 2022 21:57:55 -0700 Subject: [PATCH] Make deps build on macos --- examples/pdm/BUILD.bazel | 8 ++++++++ examples/pdm/example_lock.bzl | 13 ++++++++++++- examples/poetry/BUILD.bazel | 4 ++++ examples/poetry/example_lock.bzl | 7 ++++++- 4 files changed, 30 insertions(+), 2 deletions(-) diff --git a/examples/pdm/BUILD.bazel b/examples/pdm/BUILD.bazel index 31ca4283..f3d6bff9 100644 --- a/examples/pdm/BUILD.bazel +++ b/examples/pdm/BUILD.bazel @@ -123,6 +123,14 @@ pycross_lock_file( "setuptools", "wheel", ], + "greenlet": [ + "setuptools", + "wheel", + ], + "sqlalchemy": [ + "setuptools", + "wheel", + ], }, pypi_index = "https://pypi.org", out = "example_lock.bzl", diff --git a/examples/pdm/example_lock.bzl b/examples/pdm/example_lock.bzl index edcbb67d..21121975 100644 --- a/examples/pdm/example_lock.bzl +++ b/examples/pdm/example_lock.bzl @@ -448,10 +448,16 @@ def targets(): wheel = "@example_lock_wheel_graphql_core_3.2.3_py3_none_any//file", ) + _greenlet_1_1_3_post0_build_deps = [ + ":setuptools_59.2.0", + ":wheel_0.37.0", + ] + pycross_wheel_build( name = "_build_greenlet_1.1.3.post0", sdist = "@example_lock_sdist_greenlet_1.1.3.post0//file", target_environment = _target, + deps = _greenlet_1_1_3_post0_build_deps, tags = ["manual"], ) @@ -944,11 +950,16 @@ def targets(): ":greenlet_1.1.3.post0", ] + _sqlalchemy_1_4_41_build_deps = [ + ":setuptools_59.2.0", + ":wheel_0.37.0", + ] + pycross_wheel_build( name = "_build_sqlalchemy_1.4.41", sdist = "@example_lock_sdist_sqlalchemy_1.4.41//file", target_environment = _target, - deps = _sqlalchemy_1_4_41_deps, + deps = _sqlalchemy_1_4_41_deps + _sqlalchemy_1_4_41_build_deps, tags = ["manual"], ) diff --git a/examples/poetry/BUILD.bazel b/examples/poetry/BUILD.bazel index b8563a44..ddc0238a 100644 --- a/examples/poetry/BUILD.bazel +++ b/examples/poetry/BUILD.bazel @@ -108,6 +108,10 @@ pycross_lock_file( "setuptools", "wheel", ], + "sqlalchemy": [ + "setuptools", + "wheel", + ], }, pypi_index = "https://pypi.org", remote_wheels = { diff --git a/examples/poetry/example_lock.bzl b/examples/poetry/example_lock.bzl index ce1e42d3..2c70a7f8 100755 --- a/examples/poetry/example_lock.bzl +++ b/examples/poetry/example_lock.bzl @@ -862,11 +862,16 @@ def targets(): ":greenlet_1.1.3", ] + _sqlalchemy_1_4_41_build_deps = [ + ":setuptools_59.2.0", + ":wheel_0.37.0", + ] + pycross_wheel_build( name = "_build_sqlalchemy_1.4.41", sdist = "@example_lock_sdist_sqlalchemy_1.4.41//file", target_environment = _target, - deps = _sqlalchemy_1_4_41_deps, + deps = _sqlalchemy_1_4_41_deps + _sqlalchemy_1_4_41_build_deps, tags = ["manual"], )