Skip to content

Commit

Permalink
Make deps build on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
jvolkman committed Oct 13, 2022
1 parent 44d61a3 commit 5dfb240
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
8 changes: 8 additions & 0 deletions examples/pdm/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,14 @@ pycross_lock_file(
"setuptools",
"wheel",
],
"greenlet": [
"setuptools",
"wheel",
],
"sqlalchemy": [
"setuptools",
"wheel",
],
},
pypi_index = "https://pypi.org",
out = "example_lock.bzl",
Expand Down
13 changes: 12 additions & 1 deletion examples/pdm/example_lock.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
)

Expand Down Expand Up @@ -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"],
)

Expand Down
4 changes: 4 additions & 0 deletions examples/poetry/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ pycross_lock_file(
"setuptools",
"wheel",
],
"sqlalchemy": [
"setuptools",
"wheel",
],
},
pypi_index = "https://pypi.org",
remote_wheels = {
Expand Down
7 changes: 6 additions & 1 deletion examples/poetry/example_lock.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
)

Expand Down

0 comments on commit 5dfb240

Please sign in to comment.