You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (ipaddr, pygexf, python-whois, python-docx, httpagentparser)
#1881
Open
MaxKanoe opened this issue
Sep 5, 2024
· 0 comments
Python3.10 and the development build. pip3 install -r requirements.txt unsuccessfully running
`error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [14 lines of output] /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running setup.py directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !!
self.initialize_options() error: [Errno 13] Permission denied: 'build/bdist.linux-aarch64/wheel/./ipaddr-2.2.0-py3.10.egg-info/top_level.txt' [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ipaddr Running setup.py clean for ipaddr Building wheel for pygexf (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [38 lines of output] running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/gexf copying gexf/_gexf.py -> build/lib/gexf copying gexf/init.py -> build/lib/gexf /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
******************************************************************************** Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ********************************************************************************
!! self.initialize_options()
installing to build/bdist.linux-aarch64/wheel running install
running install_lib creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/gexf
copying build/lib/gexf/_gexf.py -> build/bdist.linux-aarch64/wheel/./gexf copying build/lib/gexf/__init__.py -> build/bdist.linux-aarch64/wheel/./gexf running install_egg_info running egg_info writing pygexf.egg-info/PKG-INFO writing dependency_links to pygexf.egg-info/dependency_links.txt
writing top-level names to pygexf.egg-info/top_level.txt reading manifest file 'pygexf.egg-info/SOURCES.txt' writing manifest file 'pygexf.egg-info/SOURCES.txt' Copying pygexf.egg-info to build/bdist.linux-aarch64/wheel/./pygexf-0.2.2-py3.10.egg-info error: [Errno 13] Permission denied: 'build/bdist.linux-aarch64/wheel/./pygexf-0.2.2-py3.10.egg-info/SOURCES.txt' [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pygexf Running setup.py clean for pygexf Building wheel for python-whois (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1 ╰─> [94 lines of output] /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg)
/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/whois copying whois/init.py -> build/lib/whois copying whois/parser.py -> build/lib/whois copying whois/whois.py -> build/lib/whois copying whois/time_zones.py -> build/lib/whois
running egg_info writing python_whois.egg-info/PKG-INFO writing dependency_links to python_whois.egg-info/dependency_links.txt writing requirements to python_whois.egg-info/requires.txt writing top-level names to python_whois.egg-info/top_level.txt
reading manifest file 'python_whois.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'python_whois.egg-info/SOURCES.txt'
/usr/local/lib/python3.10/dist-packages/setuptools/command/build_py.py:218: _Warning: Package 'whois.data' is absent from the packages configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################
Python recognizes 'whois.data' as an importable package[^1], but it is absent from setuptools' packages configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'whois.data' is explicitly added to the packages configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using find_namespace_packages(...)/find_namespace: instead of find_packages(...)/find:). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'whois.data' to be distributed and are already explicitly excluding 'whois.data' via find_namespace_packages(...)/find_namespace or find_packages(...)/find,
you can try to use exclude_package_data, or include-package-data=False in combination with a more fine grained package-data configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any .py files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/whois/data copying whois/data/public_suffix_list.dat -> build/lib/whois/data /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running setup.py directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ********************************************************************************
!! self.initialize_options() installing to build/bdist.linux-aarch64/wheel running install
running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/whois copying build/lib/whois/time_zones.py -> build/bdist.linux-aarch64/wheel/./whois copying build/lib/whois/init.py -> build/bdist.linux-aarch64/wheel/./whois copying build/lib/whois/parser.py -> build/bdist.linux-aarch64/wheel/./whois
copying build/lib/whois/whois.py -> build/bdist.linux-aarch64/wheel/./whois creating build/bdist.linux-aarch64/wheel/whois/data copying build/lib/whois/data/public_suffix_list.dat -> build/bdist.linux-aarch64/wheel/./whois/data running install_egg_info Copying python_whois.egg-info to build/bdist.linux-aarch64/wheel/./python_whois-0.7.3-py3.10.egg-info error: [Errno 13] Permission denied: 'build/bdist.linux-aarch64/wheel/./python_whois-0.7.3-py3.10.egg-info/top_level.txt' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for python-whois Running setup.py clean for python-whois Building wheel for python-docx (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [249 lines of output] /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/docx copying docx/table.py -> build/lib/docx copying docx/init.py -> build/lib/docx copying docx/blkcntnr.py -> build/lib/docx copying docx/exceptions.py -> build/lib/docx
copying docx/shared.py -> build/lib/docx copying docx/settings.py -> build/lib/docx
copying docx/package.py -> build/lib/docx copying docx/compat.py -> build/lib/docx
copying docx/section.py -> build/lib/docx copying docx/shape.py -> build/lib/docx copying docx/api.py -> build/lib/docx copying docx/document.py -> build/lib/docx creating build/lib/docx/oxml copying docx/oxml/numbering.py -> build/lib/docx/oxml copying docx/oxml/init.py -> build/lib/docx/oxml copying docx/oxml/exceptions.py -> build/lib/docx/oxml copying docx/oxml/section.py -> build/lib/docx/oxml copying docx/oxml/shared.py -> build/lib/docx/oxml copying docx/oxml/document.py -> build/lib/docx/oxml copying docx/oxml/styles.py -> build/lib/docx/oxml copying docx/oxml/ns.py -> build/lib/docx/oxml copying docx/oxml/shape.py -> build/lib/docx/oxml copying docx/oxml/coreprops.py -> build/lib/docx/oxml copying docx/oxml/xmlchemy.py -> build/lib/docx/oxml copying docx/oxml/simpletypes.py -> build/lib/docx/oxml copying docx/oxml/settings.py -> build/lib/docx/oxml
copying docx/oxml/table.py -> build/lib/docx/oxml creating build/lib/docx/dml copying docx/dml/init.py -> build/lib/docx/dml copying docx/dml/color.py -> build/lib/docx/dml creating build/lib/docx/opc copying docx/opc/spec.py -> build/lib/docx/opc copying docx/opc/coreprops.py -> build/lib/docx/opc
copying docx/opc/part.py -> build/lib/docx/opc copying docx/opc/init.py -> build/lib/docx/opc
copying docx/opc/exceptions.py -> build/lib/docx/opc
copying docx/opc/constants.py -> build/lib/docx/opc
copying docx/opc/package.py -> build/lib/docx/opc copying docx/opc/shared.py -> build/lib/docx/opc
copying docx/opc/oxml.py -> build/lib/docx/opc copying docx/opc/pkgreader.py -> build/lib/docx/opc copying docx/opc/rel.py -> build/lib/docx/opc copying docx/opc/compat.py -> build/lib/docx/opc copying docx/opc/packuri.py -> build/lib/docx/opc copying docx/opc/phys_pkg.py -> build/lib/docx/opc copying docx/opc/pkgwriter.py -> build/lib/docx/opc creating build/lib/docx/enum copying docx/enum/base.py -> build/lib/docx/enum copying docx/enum/text.py -> build/lib/docx/enum
copying docx/enum/shape.py -> build/lib/docx/enum copying docx/enum/table.py -> build/lib/docx/enum copying docx/enum/style.py -> build/lib/docx/enum copying docx/enum/init.py -> build/lib/docx/enum copying docx/enum/dml.py -> build/lib/docx/enum
copying docx/enum/section.py -> build/lib/docx/enum
creating build/lib/docx/styles copying docx/styles/style.py -> build/lib/docx/styles copying docx/styles/latent.py -> build/lib/docx/styles copying docx/styles/init.py -> build/lib/docx/styles copying docx/styles/styles.py -> build/lib/docx/styles creating build/lib/docx/image copying docx/image/image.py -> build/lib/docx/image copying docx/image/init.py -> build/lib/docx/image copying docx/image/exceptions.py -> build/lib/docx/image copying docx/image/tiff.py -> build/lib/docx/image copying docx/image/helpers.py -> build/lib/docx/image copying docx/image/jpeg.py -> build/lib/docx/image copying docx/image/gif.py -> build/lib/docx/image copying docx/image/constants.py -> build/lib/docx/image
copying docx/image/bmp.py -> build/lib/docx/image copying docx/image/png.py -> build/lib/docx/image creating build/lib/docx/parts copying docx/parts/numbering.py -> build/lib/docx/parts `
Python3.10 and the development build. pip3 install -r requirements.txt unsuccessfully running
`error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [14 lines of output] /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running
setup.py
directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !!self.initialize_options() error: [Errno 13] Permission denied: 'build/bdist.linux-aarch64/wheel/./ipaddr-2.2.0-py3.10.egg-info/top_level.txt' [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ipaddr Running setup.py clean for ipaddr Building wheel for pygexf (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [38 lines of output] running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/gexf copying gexf/_gexf.py -> build/lib/gexf copying gexf/init.py -> build/lib/gexf /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pygexf Running setup.py clean for pygexf Building wheel for python-whois (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1 ╰─> [94 lines of output] /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg)
/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/whois copying whois/init.py -> build/lib/whois copying whois/parser.py -> build/lib/whois copying whois/whois.py -> build/lib/whois copying whois/time_zones.py -> build/lib/whois
running egg_info writing python_whois.egg-info/PKG-INFO writing dependency_links to python_whois.egg-info/dependency_links.txt writing requirements to python_whois.egg-info/requires.txt writing top-level names to python_whois.egg-info/top_level.txt
reading manifest file 'python_whois.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'python_whois.egg-info/SOURCES.txt'
/usr/local/lib/python3.10/dist-packages/setuptools/command/build_py.py:218: _Warning: Package 'whois.data' is absent from the
packages
configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################Python recognizes 'whois.data' as an importable package[^1], but it is absent from setuptools'
packages
configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'whois.data' is explicitly added to thepackages
configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by usingfind_namespace_packages(...)
/find_namespace:
instead offind_packages(...)
/find:
). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'whois.data' to be distributed and are already explicitly excluding 'whois.data' viafind_namespace_packages(...)/find_namespace
orfind_packages(...)/find
,you can try to use
exclude_package_data
, orinclude-package-data=False
in combination with a more fine grainedpackage-data
configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any.py
files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/whois/data copying whois/data/public_suffix_list.dat -> build/lib/whois/data /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid runningsetup.py
directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ********************************************************************************!! self.initialize_options() installing to build/bdist.linux-aarch64/wheel running install
running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/whois copying build/lib/whois/time_zones.py -> build/bdist.linux-aarch64/wheel/./whois copying build/lib/whois/init.py -> build/bdist.linux-aarch64/wheel/./whois copying build/lib/whois/parser.py -> build/bdist.linux-aarch64/wheel/./whois
copying build/lib/whois/whois.py -> build/bdist.linux-aarch64/wheel/./whois creating build/bdist.linux-aarch64/wheel/whois/data copying build/lib/whois/data/public_suffix_list.dat -> build/bdist.linux-aarch64/wheel/./whois/data running install_egg_info Copying python_whois.egg-info to build/bdist.linux-aarch64/wheel/./python_whois-0.7.3-py3.10.egg-info error: [Errno 13] Permission denied: 'build/bdist.linux-aarch64/wheel/./python_whois-0.7.3-py3.10.egg-info/top_level.txt' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for python-whois Running setup.py clean for python-whois Building wheel for python-docx (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [249 lines of output] /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/docx copying docx/table.py -> build/lib/docx copying docx/init.py -> build/lib/docx copying docx/blkcntnr.py -> build/lib/docx copying docx/exceptions.py -> build/lib/docx
copying docx/shared.py -> build/lib/docx copying docx/settings.py -> build/lib/docx
copying docx/package.py -> build/lib/docx copying docx/compat.py -> build/lib/docx
copying docx/section.py -> build/lib/docx copying docx/shape.py -> build/lib/docx copying docx/api.py -> build/lib/docx copying docx/document.py -> build/lib/docx creating build/lib/docx/oxml copying docx/oxml/numbering.py -> build/lib/docx/oxml copying docx/oxml/init.py -> build/lib/docx/oxml copying docx/oxml/exceptions.py -> build/lib/docx/oxml copying docx/oxml/section.py -> build/lib/docx/oxml copying docx/oxml/shared.py -> build/lib/docx/oxml copying docx/oxml/document.py -> build/lib/docx/oxml copying docx/oxml/styles.py -> build/lib/docx/oxml copying docx/oxml/ns.py -> build/lib/docx/oxml copying docx/oxml/shape.py -> build/lib/docx/oxml copying docx/oxml/coreprops.py -> build/lib/docx/oxml copying docx/oxml/xmlchemy.py -> build/lib/docx/oxml copying docx/oxml/simpletypes.py -> build/lib/docx/oxml copying docx/oxml/settings.py -> build/lib/docx/oxml
copying docx/oxml/table.py -> build/lib/docx/oxml creating build/lib/docx/dml copying docx/dml/init.py -> build/lib/docx/dml copying docx/dml/color.py -> build/lib/docx/dml creating build/lib/docx/opc copying docx/opc/spec.py -> build/lib/docx/opc copying docx/opc/coreprops.py -> build/lib/docx/opc
copying docx/opc/part.py -> build/lib/docx/opc copying docx/opc/init.py -> build/lib/docx/opc
copying docx/opc/exceptions.py -> build/lib/docx/opc
copying docx/opc/constants.py -> build/lib/docx/opc
copying docx/opc/package.py -> build/lib/docx/opc copying docx/opc/shared.py -> build/lib/docx/opc
copying docx/opc/oxml.py -> build/lib/docx/opc copying docx/opc/pkgreader.py -> build/lib/docx/opc copying docx/opc/rel.py -> build/lib/docx/opc copying docx/opc/compat.py -> build/lib/docx/opc copying docx/opc/packuri.py -> build/lib/docx/opc copying docx/opc/phys_pkg.py -> build/lib/docx/opc copying docx/opc/pkgwriter.py -> build/lib/docx/opc creating build/lib/docx/enum copying docx/enum/base.py -> build/lib/docx/enum copying docx/enum/text.py -> build/lib/docx/enum
copying docx/enum/shape.py -> build/lib/docx/enum copying docx/enum/table.py -> build/lib/docx/enum copying docx/enum/style.py -> build/lib/docx/enum copying docx/enum/init.py -> build/lib/docx/enum copying docx/enum/dml.py -> build/lib/docx/enum
copying docx/enum/section.py -> build/lib/docx/enum
creating build/lib/docx/styles copying docx/styles/style.py -> build/lib/docx/styles copying docx/styles/latent.py -> build/lib/docx/styles copying docx/styles/init.py -> build/lib/docx/styles copying docx/styles/styles.py -> build/lib/docx/styles creating build/lib/docx/image copying docx/image/image.py -> build/lib/docx/image copying docx/image/init.py -> build/lib/docx/image copying docx/image/exceptions.py -> build/lib/docx/image copying docx/image/tiff.py -> build/lib/docx/image copying docx/image/helpers.py -> build/lib/docx/image copying docx/image/jpeg.py -> build/lib/docx/image copying docx/image/gif.py -> build/lib/docx/image copying docx/image/constants.py -> build/lib/docx/image
copying docx/image/bmp.py -> build/lib/docx/image copying docx/image/png.py -> build/lib/docx/image creating build/lib/docx/parts copying docx/parts/numbering.py -> build/lib/docx/parts `
The text was updated successfully, but these errors were encountered: