[Pulp-dev] Install Pulp3 rpm plugin (createrepo_c install failure)

Daniel Alley dalley at redhat.com
Mon Jul 29 13:08:58 UTC 2019


There's a couple of suggestions how to fix this in these issues

https://github.com/pypa/setuptools/issues/1694#issuecomment-466010982
https://github.com/pypa/setuptools/issues/1685#issuecomment-462942577

On Mon, Jul 29, 2019 at 7:37 AM Pavel Picka <ppicka at redhat.com> wrote:

> Hey, anyone tried install pulp3 rpm plugin lately? after new bindings
> release I getting issue when trying install rpm plugin.
>
> Trying on our fedora29-source dev env with allowed system-wide packages
> installed pre-req like
>
> *sudo dnf install -y gcc make cmake bzip2-devel expat-devel file-devel
>> glib2-devel libcurl-devel libxml2-devel python3-devel rpm-devel
>> openssl-devel sqlite-devel xz-devel zchunk-devel zlib-devel libmodulemd
>> ninja-build doxygen python3-nose-testconfig graphviz python3-libmodulemd*
>>
>
> but getting
>
>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *$ pip install -e .Obtaining file:///home/vagrant/devel/pulp_rpm
>> Installing build dependencies ... done  Getting requirements to build wheel
>> ... error  ERROR: Command errored out with exit status 1:   command:
>> /usr/local/lib/pulp/bin/python3
>> /usr/local/lib/pulp/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py
>> get_requires_for_build_wheel /tmp/tmpm1syv8g5       cwd:
>> /home/vagrant/devel/pulp_rpm  Complete output (10 lines):  Traceback (most
>> recent call last):    File
>> "/usr/local/lib/pulp/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
>> line 207, in <module>      main()    File
>> "/usr/local/lib/pulp/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
>> line 197, in main      json_out['return_val'] =
>> hook(**hook_input['kwargs'])    File
>> "/usr/local/lib/pulp/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
>> line 48, in get_requires_for_build_wheel      backend = _build_backend()
>> File
>> "/usr/local/lib/pulp/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py",
>> line 39, in _build_backend      obj = getattr(obj, path_part)
>> AttributeError: module 'setuptools.build_meta' has no attribute
>> '__legacy__'  ----------------------------------------ERROR: Command
>> errored out with exit status 1: /usr/local/lib/pulp/bin/python3
>> /usr/local/lib/pulp/lib64/python3.7/site-packages/pip/_vendor/pep517/_in_process.py
>> get_requires_for_build_wheel /tmp/tmpm1syv8g5 Check the logs for full
>> command output.*
>>
>
> Same output for direct pip install createrepo_c.
> Any ideas if something missing or where to look?
>
> --
> Pavel Picka
> Red Hat
> _______________________________________________
> Pulp-dev mailing list
> Pulp-dev at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20190729/82f9122c/attachment.htm>


More information about the Pulp-dev mailing list