Fixed. Bloody weird error!

On 2022/09/12 14:00, Antoine Jacoutot wrote:
> On Mon, Sep 12, 2022 at 02:56:37AM -0600, Stuart Henderson wrote:
> > CVSROOT:    /cvs
> > Module name:        ports
> > Changes by: [email protected]   2022/09/12 02:56:37
> > 
> > Modified files:
> >     security/pass-import: Makefile distinfo 
> >     security/pass-import/patches: patch-setup_py 
> >     security/pass-import/pkg: PLIST 
> > 
> > Log message:
> > update to pass-import-3.3
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.9/site-packages/setuptools/config/expand.py", 
> line 191, in read_attr
>     return getattr(StaticModule(module_name, spec), attr_name)
>   File "/usr/local/lib/python3.9/site-packages/setuptools/config/expand.py", 
> line 87, in __getattr__
>     raise AttributeError(f"{self.name} has no attribute {attr}") from e  
> AttributeError: pass_import has no attribute __version__
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/exopi-obj/pobj/pass-import-3.3/pass-import-3.3/./setup.py", line 51, 
> in <module>
>     setup(   
>   File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 
> 87, in setup
>     return distutils.core.setup(**attrs)
>   File 
> "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 
> 159, in setup
>     dist.parse_config_files()
>   File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 864, 
> in parse_config_files
>     setupcfg.parse_configuration(
>   File 
> "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 
> 174, in parse_configuration
>     meta.parse()
>   File 
> "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 
> 496, in parse
>     section_parser_method(section_options)
>   File 
> "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 
> 470, in parse_section
>     self[name] = value  
>   File 
> "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 
> 278, in __setitem__
>     value = parser(value)
>   File 
> "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 
> 602, in _parse_version
>     return expand.version(self._parse_attr(value, self.package_dir, 
> self.root_dir))
>   File 
> "/usr/local/lib/python3.9/site-packages/setuptools/config/setupcfg.py", line 
> 412, in _parse_attr
>     return expand.read_attr(attr_desc, package_dir, root_dir)
>   File "/usr/local/lib/python3.9/site-packages/setuptools/config/expand.py", 
> line 195, in read_attr
>     return getattr(module, attr_name)
> AttributeError: module 'pass_import' has no attribute '__version__'
> Warning: 'pypandoc' is required to generate the manual pages.
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.9/site-packages/setuptools/config/expand.py", 
> line 81, in __getattr__
>     return next(
> StopIteration
> 
> 
> 
> -- 
> Antoine

Reply via email to