[MacPorts] #69489: py37-importlib-resources @6.1.2: TypeError: Expected maxsize to be an integer or None

MacPorts noreply at macports.org
Wed Mar 13 05:26:12 UTC 2024


#69489: py37-importlib-resources @6.1.2: TypeError: Expected maxsize to be an
integer or None
------------------------+--------------------------------------
 Reporter:  ryandesign  |      Owner:  rdbisme
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.9.1
 Keywords:              |       Port:  py37-importlib-resources
------------------------+--------------------------------------
 https://build.macports.org/builders/ports-
 12_arm64-builder/builds/120331/steps/install-port/logs/stdio
 {{{
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in
 <module>
     main()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in
 main
     json_out['return_val'] = hook(**hook_input['kwargs'])
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 252, in
 build_wheel
     metadata_directory)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/build_meta.py", line 417, in build_wheel
     wheel_directory, config_settings)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/build_meta.py", line 401, in
 _build_with_temp_dir
     self.run_setup()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/build_meta.py", line 338, in run_setup
     exec(code, locals())
   File "<string>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/__init__.py", line 107, in setup
     return distutils.core.setup(**attrs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/_distutils/core.py", line 172, in setup
     ok = dist.parse_command_line()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/_distutils/dist.py", line 475, in
 parse_command_line
     args = self._parse_command_opts(parser, args)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/dist.py", line 1142, in _parse_command_opts
     nargs = _Distribution._parse_command_opts(self, parser, args)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/_distutils/dist.py", line 534, in
 _parse_command_opts
     cmd_class = self.get_command_class(command)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/dist.py", line 989, in get_command_class
     self.cmdclass[command] = cmdclass = ep.load()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/_vendor/importlib_metadata/__init__.py", line
 208, in load
     module = import_module(match.group('module'))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py",
 line 127, in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
   File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
   File "<frozen importlib._bootstrap>", line 983, in _find_and_load
   File "<frozen importlib._bootstrap>", line 967, in
 _find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 728, in exec_module
   File "<frozen importlib._bootstrap>", line 219, in
 _call_with_frames_removed
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/wheel/bdist_wheel.py", line 28, in <module>
     from .metadata import pkginfo_to_metadata
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/wheel/metadata.py", line 16, in <module>
     from .vendored.packaging.requirements import Requirement
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/wheel/vendored/packaging/requirements.py", line 7, in
 <module>
     from ._parser import parse_requirement as _parse_requirement
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/wheel/vendored/packaging/_parser.py", line 10, in <module>
     from ._tokenizer import DEFAULT_RULES, Tokenizer
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/wheel/vendored/packaging/_tokenizer.py", line 6, in
 <module>
     from .specifiers import Specifier
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/wheel/vendored/packaging/specifiers.py", line 16, in
 <module>
     from .utils import canonicalize_version
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/wheel/vendored/packaging/utils.py", line 8, in <module>
     from .tags import Tag, parse_tag
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/wheel/vendored/packaging/tags.py", line 26, in <module>
     from . import _manylinux, _musllinux
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/wheel/vendored/packaging/_manylinux.py", line 171, in
 <module>
     def _get_glibc_version() -> Tuple[int, int]:
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/functools.py",
 line 490, in lru_cache
     raise TypeError('Expected maxsize to be an integer or None')
 TypeError: Expected maxsize to be an integer or None
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69489>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list