[MacPorts] #61065: py-virtualenv @20.0.27_0 virtualenv script exits with an error
MacPorts
noreply at macports.org
Tue Aug 25 18:18:20 UTC 2020
#61065: py-virtualenv @20.0.27_0 virtualenv script exits with an error
----------------------------+----------------------
Reporter: mainka | Owner: larryv
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: py-virtualenv |
----------------------------+----------------------
Changes (by jmroot):
* cc: reneeotten (added)
Old description:
> Steps to reproduce:
>
> {{{
> $ sudo port install py37-virtualenv
> $ virtualenv-3.7 --help
> Traceback (most recent call last):
> File "/opt/local/bin/virtualenv-3.7", line 33, in <module>
> sys.exit(load_entry_point('virtualenv==20.0.27', 'console_scripts',
> 'virtualenv')())
> File "/opt/local/bin/virtualenv-3.7", line 25, in
> importlib_load_entry_point
> return next(matches).load()
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages/importlib_metadata/__init__.py", line 107, in load
> return functools.reduce(getattr, attrs, module)
> AttributeError: module 'virtualenv' has no attribute 'main'
> }}}
>
> Notice that {{{python3.7 -mvirtualenv --help}}} works.
>
> This defects seems to appear in version @20.0.25 (commit:
> 50bb3d174374cc817521a909d89ae430854e98a0).
New description:
Steps to reproduce:
{{{
$ sudo port install py37-virtualenv
$ virtualenv-3.7 --help
Traceback (most recent call last):
File "/opt/local/bin/virtualenv-3.7", line 33, in <module>
sys.exit(load_entry_point('virtualenv==20.0.27', 'console_scripts',
'virtualenv')())
File "/opt/local/bin/virtualenv-3.7", line 25, in
importlib_load_entry_point
return next(matches).load()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/site-packages/importlib_metadata/__init__.py", line 107, in load
return functools.reduce(getattr, attrs, module)
AttributeError: module 'virtualenv' has no attribute 'main'
}}}
Notice that {{{python3.7 -mvirtualenv --help}}} works.
This defects seems to appear in version @20.0.25 (commit:
[50bb3d174374cc817521a909d89ae430854e98a0/macports-ports]).
--
--
Ticket URL: <https://trac.macports.org/ticket/61065#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list