[MacPorts] #70287: py-constantly does not build and should be updated

MacPorts noreply at macports.org
Tue Jun 25 01:38:54 UTC 2024


#70287: py-constantly does not build and should be updated
--------------------------+---------------------------------
 Reporter:  barracuda156  |      Owner:  MarcusCalhoun-Lopez
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.3
 Keywords:                |       Port:  py-constantly
--------------------------+---------------------------------
 Looks like it does not build:
 {{{
 --->  Building py312-constantly
 Executing:  cd "/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_python_py-
 constantly/py312-constantly/work/constantly-15.1.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_python_py-constantly/py312-constantly/work
 * Getting build dependencies for wheel...
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_python_py-
 constantly/py312-constantly/work/constantly-15.1.0/versioneer.py:467:
 SyntaxWarning: invalid escape sequence '\s'
   LONG_VERSION_PY['git'] = '''
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in
 <module>
     main()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in
 main
     json_out["return_val"] = hook(**hook_input["kwargs"])
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/pyproject_hooks/_in_process/_in_process.py", line 134, in
 get_requires_for_build_wheel
     return hook(config_settings)
            ^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/setuptools/build_meta.py", line 327, in
 get_requires_for_build_wheel
     return self._get_build_requires(config_settings, requirements=[])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
     self.run_setup()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/setuptools/build_meta.py", line 497, in run_setup
     super().run_setup(setup_script=setup_script)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
 /site-packages/setuptools/build_meta.py", line 313, in run_setup
     exec(code, locals())
   File "<string>", line 41, in <module>
   File "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_python_py-
 constantly/py312-constantly/work/constantly-15.1.0/versioneer.py", line
 1405, in get_version
     return get_versions()["version"]
            ^^^^^^^^^^^^^^
   File "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_python_py-
 constantly/py312-constantly/work/constantly-15.1.0/versioneer.py", line
 1339, in get_versions
     cfg = get_config_from_root(root)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_python_py-
 constantly/py312-constantly/work/constantly-15.1.0/versioneer.py", line
 399, in get_config_from_root
     parser = configparser.SafeConfigParser()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 AttributeError: module 'configparser' has no attribute 'SafeConfigParser'.
 Did you mean: 'RawConfigParser'?

 ERROR Backend subprocess exited when trying to invoke
 get_requires_for_build_wheel
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_python_py-
 constantly/py312-constantly/work/constantly-15.1.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_python_py-constantly/py312-constantly/work
 Exit code: 1
 Error: Failed to build py312-constantly: command execution failed
 }}}

 Perhaps time to update it?

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


More information about the macports-tickets mailing list