Skip to content

Commit

Permalink
Remove unnecessary targets from BUILD file in superhello_testproject
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Livingston committed Jan 30, 2018
1 parent 4fd1567 commit d41e7ee
Showing 1 changed file with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,39 +21,3 @@ python_binary(
':superhello',
]
)


# The targets below are for testing purposes only.
# Their purpose is to expose an error that arises when a python_dist
# contains a requirement that conflicts with the same requirement of
# a different version in the consuming target. In this case, the pants
# goal will fail and indicate that incomptible requirements exist.

python_dist(
name='superhello_with_conflicting_dep',
sources=[
'super_greet.c',
'hello_package/hello.py',
'hello_package/__init__.py',
'setup.py'
],
dependencies=[
':pex_lib'
]
)

python_binary(
name='main_with_conflicting_dep',
source='main.py',
dependencies=[
':superhello_with_conflicting_dep',
'3rdparty/python:pex'
]
)

python_requirement_library(
name='pex_lib',
requirements=[
python_requirement('pex==1.2.11'),
]
)

0 comments on commit d41e7ee

Please sign in to comment.