[MacPorts] #68070: py37-panedr @0.5.2: error in setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: ''>=2.7'

MacPorts noreply at macports.org
Mon Aug 28 10:12:27 UTC 2023


#68070: py37-panedr @0.5.2: error in setup command: 'python_requires' must be a
string containing valid version specifiers; Invalid specifier: ''>=2.7'
------------------------+---------------------------
 Reporter:  ryandesign  |      Owner:  GiovanniBussi
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  py-panedr
------------------------+---------------------------
 https://build.macports.org/builders/ports-
 12_x86_64-builder/builds/79985/steps/install-port/logs/stdio
 {{{
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning:
 Invalid dash-separated options
 !!

 ********************************************************************************
         Usage of dash-separated 'author-email' will not be supported in
 future
         versions. Please use the underscore name 'author_email' instead.

         By 2023-Sep-26, you need to update your project and remove
 deprecated calls
         or your builds will no longer be supported.

         See
 https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
 details.
 ********************************************************************************

 !!
   opt = self.warn_dash_deprecation(opt, section)
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning:
 Invalid dash-separated options
 !!

 ********************************************************************************
         Usage of dash-separated 'description-file' will not be supported
 in future
         versions. Please use the underscore name 'description_file'
 instead.

         By 2023-Sep-26, you need to update your project and remove
 deprecated calls
         or your builds will no longer be supported.

         See
 https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
 details.
 ********************************************************************************

 !!
   opt = self.warn_dash_deprecation(opt, section)
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning:
 Invalid dash-separated options
 !!

 ********************************************************************************
         Usage of dash-separated 'home-page' will not be supported in
 future
         versions. Please use the underscore name 'home_page' instead.

         By 2023-Sep-26, you need to update your project and remove
 deprecated calls
         or your builds will no longer be supported.

         See
 https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
 details.
 ********************************************************************************

 !!
   opt = self.warn_dash_deprecation(opt, section)
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning:
 Invalid dash-separated options
 !!

 ********************************************************************************
         Usage of dash-separated 'requires-python' will not be supported in
 future
         versions. Please use the underscore name 'requires_python'
 instead.

         By 2023-Sep-26, you need to update your project and remove
 deprecated calls
         or your builds will no longer be supported.

         See
 https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
 details.
 ********************************************************************************

 !!
   opt = self.warn_dash_deprecation(opt, section)
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/__init__.py:84: _DeprecatedInstaller:
 setuptools.installer and fetch_build_eggs are deprecated.
 !!

 ********************************************************************************
         Requirements should be satisfied by a PEP 517 installer.
         If you are using pip, you can try `pip install --use-pep517`.
 ********************************************************************************

 !!
   dist.fetch_build_eggs(dist.setup_requires)
 WARNING: The wheel package is not available.
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/command/develop.py:40:
 EasyInstallDeprecationWarning: easy_install command is deprecated.
 !!

 ********************************************************************************
         Please avoid running ``setup.py`` and ``easy_install``.
         Instead, use pypa/build, pypa/installer, pypa/build or
         other standards-based tools.

         See https://github.com/pypa/setuptools/issues/917 for details.
 ********************************************************************************

 !!
   easy_install.initialize_options(self)
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/setuptools/_distutils/cmd.py:66:
 SetuptoolsDeprecationWarning: setup.py install is deprecated.
 !!

 ********************************************************************************
         Please avoid running ``setup.py`` directly.
         Instead, use pypa/build, pypa/installer, pypa/build or
         other standards-based tools.

         See https://blog.ganssle.io/articles/2021/10/setup-py-
 deprecated.html for details.
 ********************************************************************************

 !!
   self.initialize_options()
 error in setup command: 'python_requires' must be a string containing
 valid version specifiers; Invalid specifier: ''>=2.7'
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 panedr/py37-panedr/work/panedr-0.5.2" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7
 setup.py --no-user-cfg build -j4
 Exit code: 1
 }}}

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


More information about the macports-tickets mailing list