[BUG]: tup.py", line 12, in <module> reqs = [str(ir.req) for ir in install_reqs] File "/private/var/folders/m_/kzyr4q_11cl35ngrj77k28f00000gn/T/pip-install-3r9ticlh/pybind_d9644c99e09448b48a0e70d5fdbaf571/setup.py", line 12, in <listcomp> reqs = [str(ir.req) for ir in install_reqs] AttributeError: 'ParsedRequirement' object has no attribute 'req' [end of output]
lucasjinreal opened this issue · comments
Required prerequisites
- Make sure you've read the documentation. Your issue may be addressed there.
- Search the issue tracker and Discussions to verify that this hasn't already been reported. +1 or comment there if it has.
- Consider asking first in the Gitter chat room or in a Discussion.
What version (or hash if on master) of pybind11 are you using?
tup.py", line 12, in reqs = [str(ir.req) for ir in install_reqs] File "/private/var/folders/m_/kzyr4q_11cl35ngrj77k28f00000gn/T/pip-install-3r9ticlh/pybind_d9644c99e09448b48a0e70d5fdbaf571/setup.py", line 12, in reqs = [str(ir.req) for ir in install_reqs] AttributeError: 'ParsedRequirement' object has no attribute 'req' [end of output]
Problem description
tup.py", line 12, in
reqs = [str(ir.req) for ir in install_reqs]
File "/private/var/folders/m_/kzyr4q_11cl35ngrj77k28f00000gn/T/pip-install-3r9ticlh/pybind_d9644c99e09448b48a0e70d5fdbaf571/setup.py", line 12, in
reqs = [str(ir.req) for ir in install_reqs]
AttributeError: 'ParsedRequirement' object has no attribute 'req'
[end of output]
Reproducible example code
tup.py", line 12, in <module>
reqs = [str(ir.req) for ir in install_reqs]
File "/private/var/folders/m_/kzyr4q_11cl35ngrj77k28f00000gn/T/pip-install-3r9ticlh/pybind_d9644c99e09448b48a0e70d5fdbaf571/setup.py", line 12, in <listcomp>
reqs = [str(ir.req) for ir in install_reqs]
AttributeError: 'ParsedRequirement' object has no attribute 'req'
[end of output]
Is this a regression? Put the last known working version here if it is.
Not a regression