1. I ran a test install against CentOS 7.6. Now we do not support CentOS 7.6 and earlier anymore, 7.7 & 7.8 work. RHEL is in the same situation. I disabled the check CentOS version task, and newer packages from the CentOS 7.8 repos were installed (like those for python3 and for libmodulem2), so it actually succeeded. I did not get the error like we would expect on the old distro (due to the newer packages on top), and I did not get your error either: https://pastebin.com/uBtQ9UTv
2. My apologies, I mistyped it. It is pyvenv.cfg , with a v: [vagrant@pulp3-sandbox-centos7 ~]$ cat /usr/local/lib/pulp/pyvenv.cfg home = /usr/bin include-system-site-packages = false version = 3.6.8 Please run that. 3. I'm going to have to think about any other steps we can take to reproduce your problem. Can you run the following? $ source /usr/local/lib/pulp/bin/activate (pulp) $ pip list On Fri, May 29, 2020 at 4:17 PM Bin Li (BLOOMBERG/ 120 PARK) < [email protected]> wrote: > Mike, > 1. The pulp server is on rhel7.6 > 2. pulp_use_system_wide_pkgs is not defined. I run a find to grep > pulp_use_system_wide_pkgs and didn't see it defined in ansible roles > I don't find this file /usr/local/lib/pulp/pyenv.cfg either. I also run a > find and didn't have a file named pyenv.cfg. > > > From: [email protected] At: 05/29/20 15:09:42 > To: Bin Li (BLOOMBERG/ 120 PARK ) <[email protected]> > Cc: [email protected] > Subject: Re: [Pulp-list] pulp 3.2 to 3.3.1 pip-compile error > > Your pulp_instal_plugins looks correct for Pulp 3.3.1. > > Interesting error, I will try to reproduce. > > 2 questions: > 1. What distro are you installing Pulp on? > 2. pulp_use_system_wide_pkgs is undefined or set to false, correct? If > true, it causes all sorts of problems with our pip-compile check, is no > longer needed for pulp-rpm to install, and we are about to remove it. > If you previously set it to true, and are upgrading a system, it would > still be effectively true as well. In fact, until 3.3.0, we were setting it > to true in the pulp_rpm_prerequisites role, even if you didn't set it. So > that would be another reason for it to be effectively true. You can check > by viewing the file /usr/local/lib/pulp/pyenv.cfg . > > -Mike > > On Fri, May 29, 2020 at 11:52 AM Bin Li (BLOOMBERG/ 120 PARK) < > [email protected]> wrote: > >> I have both pulp-file and pulp-rpm pined to compatible version. >> pulp_install_plugins: >> pulp-file: >> version: '0.3.0' >> pulp-rpm: >> version: '3.3.2' >> >> Still got an error as below. Please advise >> >> TASK [pulp : Run pip-compile to check pulpcore/plugin compatibility] >> **************************************************************** >> [WARNING]: conditional statements should not include jinja2 templating >> delimiters such as {{ }} or {% %}. Found: {{ failed_condition >> | default("compatibility.rc != 0") }} >> fatal: [myhost]: FAILED! => {"changed": false, "cmd": >> ["/opt/utils/venv/pulp/3.7.3/bin/pip-compile"], "delta": "0:00:00.393598", >> "end": "2020-05-29 11:46:09.917436", "failed_when_result": true, "msg": >> "non-zero return code", "rc": 1, "start": "2020-05-29 11:46:09.523838", >> "stderr": "Traceback (most recent call last):\n File >> \"/opt/utils/venv/pulp/3.7.3/bin/pip-compile\", line 8, in <module>\n >> sys.exit(cli())\n File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/core.py\", >> line 764, in __call__\n return self.main(*args, **kwargs)\n File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/core.py\", >> line 717, in main\n rv = self.invoke(ctx)\n File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/core.py\", >> line 956, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/core.py\", >> line 555, in invoke\n return callback(*args, **kwargs)\n File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/decorators.py\", >> line 17, in new_func\n return f(get_current_context(), *args, **kwargs)\n >> File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/piptools/scripts/compile.py\", >> line 304, in cli\n for ireq in filter(is_pinned_requirement, ireqs):\n File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/piptools/utils.py\", >> line 122, in is_pinned_requirement\n if ireq.editable:\nAttributeError: >> 'ParsedRequirement' object has no attribute 'editable'", "stderr_lines": >> ["Traceback (most recent call last):", " File >> \"/opt/utils/venv/pulp/3.7.3/bin/pip-compile\", line 8, in <module>", " >> sys.exit(cli())", " File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/core.py\", >> line 764, in __call__", " return self.main(*args, **kwargs)", " File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/core.py\", >> line 717, in main", " rv = self.invoke(ctx)", " File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/core.py\", >> line 956, in invoke", " return ctx.invoke(self.callback, **ctx.params)", " >> File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/core.py\", >> line 555, in invoke", " return callback(*args, **kwargs)", " File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/click/decorators.py\", >> line 17, in new_func", " return f(get_current_context(), *args, **kwargs)", >> " File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/piptools/scripts/compile.py\", >> line 304, in cli", " for ireq in filter(is_pinned_requirement, ireqs):", " >> File >> \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/piptools/utils.py\", >> line 122, in is_pinned_requirement", " if ireq.editable:", "AttributeError: >> 'ParsedRequirement' object has no attribute 'editable'"], "stdout": "", >> "stdout_lines": []} >> >> >> _______________________________________________ >> Pulp-list mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/pulp-list > > > > -- > > Mike DePaulo > > He / Him / His > > Service Reliability Engineer, Pulp > > Red Hat <https://www.redhat.com/> > > IM: mikedep333 > > GPG: 51745404 > <https://www.redhat.com/> > > > -- Mike DePaulo He / Him / His Service Reliability Engineer, Pulp Red Hat <https://www.redhat.com/> IM: mikedep333 GPG: 51745404 <https://www.redhat.com/>
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
