hundreds-breakfast-49010
03/13/2020, 11:46 PMhappy-kitchen-89482
03/14/2020, 1:44 AMrepr
of a digest had what I neededhappy-kitchen-89482
03/15/2020, 5:18 AMfiles()
target and a resources()
target?happy-kitchen-89482
03/16/2020, 7:58 PMhappy-river-86081
03/17/2020, 8:53 AMpex
base installation looks promising but I couldn't find any documentation saying how to create one. Given that I have an offline pypi server, do I really need anything other than the pantsbuild.pants
package and its dependencies?
2. Even if I manage to install pants offline, are there any other problems that I might run into later on, being offline? I have experience developing offline, just not with pants
...hundreds-breakfast-49010
03/17/2020, 8:56 AMhundreds-breakfast-49010
03/17/2020, 8:57 AMhundreds-breakfast-49010
03/17/2020, 8:59 AMhundreds-breakfast-49010
03/17/2020, 9:00 AMhundreds-breakfast-49010
03/17/2020, 9:01 AMhundreds-breakfast-49010
03/17/2020, 9:02 AMhundreds-breakfast-49010
03/17/2020, 9:04 AM--binaries-baseurls
optionhappy-river-86081
03/17/2020, 9:35 AMfancy-motherboard-24956
03/17/2020, 4:15 PMmaster
. They come from a runtime error in pex.
Here is a repro:
./pants test tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc:zinc_compile_integration
16:05:07 00:17 [run]
Traceback (most recent call last):
File "/Users/pchevalier/Documents/code/pants/.pants.d/test/pytest-prep/CPython-3.6.4/0de04c112d1f5c996126ea94d80b19cbaccfa5d0/.bootstrap/pex/pex.py", line 391, in execute
working_set = self._activate()
File "/Users/pchevalier/Documents/code/pants/.pants.d/test/pytest-prep/CPython-3.6.4/0de04c112d1f5c996126ea94d80b19cbaccfa5d0/.bootstrap/pex/pex.py", line 89, in _activate
for dist in env.activate():
File "/Users/pchevalier/Documents/code/pants/.pants.d/test/pytest-prep/CPython-3.6.4/0de04c112d1f5c996126ea94d80b19cbaccfa5d0/.bootstrap/pex/environment.py", line 232, in activate
self._working_set = self._activate()
File "/Users/pchevalier/Documents/code/pants/.pants.d/test/pytest-prep/CPython-3.6.4/0de04c112d1f5c996126ea94d80b19cbaccfa5d0/.bootstrap/pex/environment.py", line 393, in _activate
resolved = self._resolve(working_set, all_reqs)
File "/Users/pchevalier/Documents/code/pants/.pants.d/test/pytest-prep/CPython-3.6.4/0de04c112d1f5c996126ea94d80b19cbaccfa5d0/.bootstrap/pex/environment.py", line 275, in _resolve
distributions_by_key[distribution.as_requirement().key].append(distribution)
AttributeError: 'NoneType' object has no attribute 'as_requirement'
tests/python/pants_test/backend/jvm/tasks/jvm_compile/zinc:zinc_compile_integration..... NOT RUN
FAILURE
Has anyone seen this/know what to do about it?fancy-queen-20734
03/17/2020, 4:59 PMhappy-kitchen-89482
03/17/2020, 5:18 PMhappy-kitchen-89482
03/17/2020, 5:48 PMfresh-architect-74417
03/17/2020, 9:11 PMfresh-architect-74417
03/17/2020, 9:11 PMfresh-architect-74417
03/17/2020, 9:11 PMfresh-architect-74417
03/17/2020, 9:12 PMhundreds-father-404
03/17/2020, 9:14 PMhundreds-father-404
03/17/2020, 9:14 PMwitty-crayon-22786
03/17/2020, 9:21 PMpex==2.0
, and still has some bumps to smooth off.gentle-room-19215
03/20/2020, 7:10 AMDEPRECATED: Target.compute_injectable_specs() will be removed in version 1.27.0.dev0
How could I fix it?fancy-queen-20734
03/20/2020, 7:02 PMfancy-queen-20734
03/23/2020, 8:17 PMfancy-queen-20734
03/24/2020, 7:56 PMdry-match-62274
03/25/2020, 6:46 AMconfluent_kafka 1.3.0
as our python requirements and build our binary.
./pants binary src/python/::
......
Exception caught: (pex.vendor._vendored.wheel.wheel.install.BadWheelFile)
......
Exception message: No expected hash for file 'confluent_kafka/.dylibs/monitoring-interceptor.dylib'
we tested package by installing it using pip / pipenv and works fine.
is there any workaround to avoid the build being blocked here?fancy-queen-20734
03/25/2020, 7:28 PM